mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > PrimeNet

Reply
 
Thread Tools
Old 2014-09-03, 14:39   #606
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

B2416 Posts
Default

Logging in is failing from the home page (it POSTs to /default.php). Logging in is working from the /account/ page; it POSTs to /account/default.php.

I know this has broken the mfloop.py submission script. It may have broken others that try to POST credentials to /default.php, like the homepage does.

The homepage login stopped working between 00:00 and 01:11 EDT last night.

Last fiddled with by Mark Rose on 2014-09-03 at 14:41
Mark Rose is offline   Reply With Quote
Old 2014-09-03, 14:54   #607
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

22·23·31 Posts
Default

For those using the mfloop.py script, I've got a fix in my fork: https://github.com/MarkRose/primetools
Mark Rose is offline   Reply With Quote
Old 2014-09-03, 15:02   #608
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

57128 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
Logging in is failing from the home page
Logging in/out should remain on whatever page you're on (previously it always sent you to the home page even if you weren't there before you logged in).

Interestingly both logging in and out are currently not working on the home page, but work elsewhere. I'll take a look.
James Heinrich is offline   Reply With Quote
Old 2014-09-03, 16:40   #609
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

301810 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
Interestingly both logging in and out are currently not working on the home page, but work elsewhere. I'll take a look.
I think I found the cause of the bug in a (supposedly) unrelated modification that madpoo recently implemented. When I hear back from him we should have it fixed. If it is what I think it is.
James Heinrich is offline   Reply With Quote
Old 2014-09-03, 16:41   #610
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

54448 Posts
Default

Login is also now broken on /account/ .
Mark Rose is offline   Reply With Quote
Old 2014-09-03, 16:47   #611
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

2·3·503 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
Login is also now broken on /account/ .
It would be the same root cause, just implemented wider. I have asked madpoo to revert that change for now until we can decide how to implement it better.
James Heinrich is offline   Reply With Quote
Old 2014-09-03, 16:52   #612
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

2·3·503 Posts
Default

I have made a change that should allow logged in and out again for now.
James Heinrich is offline   Reply With Quote
Old 2014-09-03, 17:03   #613
Zr40
 
Dec 2013

10012 Posts
Default

I was about to post that manual result submission was broken, but it started working again on my last try.
Zr40 is offline   Reply With Quote
Old 2014-09-03, 17:10   #614
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

2×1,637 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
I have made a change that should allow logged in and out again for now.
It *was* me!

I added a canonicalizing rule to take all those */default.php and redirect to */ which is the same thing for any GET.

And bad me, I didn't test beyond whether the page itself loads since I didn't consider how the login or anything else might be POST'ing to /default.php instead of /

Sorry... canonicalizing is good (I've had an eyeful of some of the strange URLs people try to hit on the server) but not if it breaks things.

Mostly I've been going through the 404's the server spits out and fixing them up so that old bookmarked or linked pages actually go where they need to, or at least something more useful than a 404. Many of those are just legacy URLs from back in the day, v4 and earlier. URLs that were abandoned and hadn't been remapped anywhere.
Madpoo is offline   Reply With Quote
Old 2014-09-03, 18:44   #615
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

22·23·31 Posts
Default

It would probably work if you 307 redirected the request, parameters, post data, and all.
Mark Rose is offline   Reply With Quote
Old 2014-09-03, 22:48   #616
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

100111000001112 Posts
Default

Here's the latest I got from P95 trying to call home:
Attached Thumbnails
Click image for larger version

Name:	PrimeNetComm.JPG
Views:	72
Size:	51.4 KB
ID:	11650  
kladner is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Official "Faits erronés dans de belles-lettres" thread ewmayer Lounge 39 2015-05-19 01:08
Official "all-Greek-to-me Fiction Literature and Cinema" Thread ewmayer Science & Technology 41 2014-04-16 11:54
Official "Lasciate ogne speranza" whinge-thread cheesehead Soap Box 56 2013-06-29 01:42
Official "Ernst is a deceiving bully and George is a meanie" thread cheesehead Soap Box 61 2013-06-11 04:30
Official "String copy Statement Considered Harmful" thread Dubslow Programming 19 2012-05-31 17:49

All times are UTC. The time now is 14:39.

Fri Sep 18 14:39:47 UTC 2020 up 8 days, 11:50, 1 user, load averages: 1.56, 1.53, 1.48

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.