1. Chrome log in failure
- Posted by K_D_R Feb 23, 2013
- 1283 views
Today, I have noticed a strange problem logging into the Forum using Chrome. I can log in as usual, but when I return to the forum I am reported as "not logged in".
Using Firefox I can log in as usual with no problem. So this must be sometype of problem introduced with the last upgrade to Chrome, right? Has anyone else experienced such a problem?
Ken Rhodes
2. Re: Chrome log in failure
- Posted by gbonvehi Feb 23, 2013
- 1271 views
I'm experiencing the same problem.
Not working: Chromium 25.0.1364.97
Woring: Firefox 19.0
3. Re: Chrome log in failure
- Posted by ghaberek (admin) Feb 23, 2013
- 1219 views
I had this same problem on my HP TouchPad (webOS browser) over a year ago: Logging into the forum on my HP TouchPad.
Both browsers are based on WebKit, so it's not surprising they have similar issues. Unfortunately I offer no other suggestions or solutions.
-Greg
4. Re: Chrome log in failure
- Posted by mattlewis (admin) Feb 23, 2013
- 1206 views
Today, I have noticed a strange problem logging into the Forum using Chrome. I can log in as usual, but when I return to the forum I am reported as "not logged in".
Using Firefox I can log in as usual with no problem. So this must be sometype of problem introduced with the last upgrade to Chrome, right? Has anyone else experienced such a problem?
I have not seen this lately, though I remember it happening in the past. I'm on the Stable channel, currently running Chrome Version 25.0.1364.97.
Matt
5. Re: Chrome log in failure
- Posted by gbonvehi Feb 23, 2013
- 1210 views
I think I've just saw what's happening.
I tried to login from Chrome and Firefox I get the following set-cookie header:
euweb_sessinfo=HASHNUMBER; path=/; expires=Sun, 23-Feb-14 17:02ap:49 G
Look at the time, that should be something like 17:02:49 GMT but it's garbled instead. Chrome rejects it with an Invalid Date message if you look at Cookies with Inspect. Firefox instead set the expire date to Sun 23 Feb 2014 02:02:36 PM ART
I guess there's a bug somewhere when creating the time for the cookie (maybe a date formatting setting?). If you tell me where is the repository to this I'll be happy to try to find the bug.
Cheers,
Guillermo
6. Re: Chrome log in failure
- Posted by mattlewis (admin) Feb 23, 2013
- 1244 views
I guess there's a bug somewhere when creating the time for the cookie (maybe a date formatting setting?). If you tell me where is the repository to this I'll be happy to try to find the bug.
The "official" openeuphoria repositories are all available from the SCM link in the "Misc Menu" on the right side of the page. Or, go directly to the euweb repository.
However, I think the code is in the Webclay repository (which euweb uses): http://bitbucket.org/jcowgar/webclay
I see:
cookie &= "; expires=" & datetime:format(expires, "%a, %d-%b-%y %H:%map:%S GMT")
I suspect it should be:
cookie &= "; expires=" & datetime:format(expires, "%a, %d-%b-%y %H:%m:%S GMT")
Not sure where the extra "ap" came from.
Matt
7. Re: Chrome log in failure
- Posted by gbonvehi Feb 23, 2013
- 1235 views
However, I think the code is in the Webclay repository (which euweb uses): http://bitbucket.org/jcowgar/webclay
I see:
cookie &= "; expires=" & datetime:format(expires, "%a, %d-%b-%y %H:%map:%S GMT")
I suspect it should be:
cookie &= "; expires=" & datetime:format(expires, "%a, %d-%b-%y %H:%m:%S GMT")
Not sure where the extra "ap" came from.
Matt
You beat me, I was about to post the link to that source line: https://bitbucket.org/jcowgar/webclay/src/2afd671e5c8380d92f6773c3357f4f896c637cfe/webclay/webclay.e?at=default#cl-125
I'll fork it, change it and create a pull request for Jeremy
8. Re: Chrome log in failure
- Posted by ghaberek (admin) Feb 23, 2013
- 1220 views
Not sure where the extra "ap" came from.
Erroneous find/replace from "m" to "map"?
I am anxious to test this on my TouchPad. Would be nice to check the forum from the couch.
-Greg
9. Re: Chrome log in failure
- Posted by jimcbrown (admin) Feb 23, 2013
- 1188 views
Not sure where the extra "ap" came from.
Erroneous find/replace from "m" to "map"?
I am anxious to test this on my TouchPad. Would be nice to check the forum from the couch.
-Greg
Can you test it now? It should be fixed on the forum.
10. Re: Chrome log in failure
- Posted by euphoric (admin) Feb 23, 2013
- 1199 views
Can you test it now? It should be fixed on the forum.
Woo hoo! I'm staying logged in with Chrome!
Woo hoo!
11. Re: Chrome log in failure
- Posted by K_D_R Feb 23, 2013
- 1258 views
Not sure where the extra "ap" came from.
Erroneous find/replace from "m" to "map"?
I am anxious to test this on my TouchPad. Would be nice to check the forum from the couch.
-Greg
Can you test it now? It should be fixed on the forum.
WORKS FOR ME! Chrome now functions properly. Thanks!
12. Re: Chrome log in failure
- Posted by DerekParnell (admin) Feb 23, 2013
- 1215 views
Can you test it now? It should be fixed on the forum.
Confirmed as fixed. Chrome is retaining the cookie now.
13. Re: Chrome log in failure
- Posted by gbonvehi Feb 24, 2013
- 1172 views
It's working fine here too. The pull request was merged by Jeremy I changed it to 4 digits instead of 2 for the year which seems to be the correct format according to the docs online.