Skip to content

Instantly share code, notes, and snippets.

@ben-x9
Created November 28, 2011 14:03
Show Gist options
  • Save ben-x9/1400511 to your computer and use it in GitHub Desktop.
Save ben-x9/1400511 to your computer and use it in GitHub Desktop.
Michael Chletsos 11/26/11 9:04 AM
It does NOT work in QA for me
Ben Lambert 11/26/11 9:04 AM
hmm
11/26/11 9:06 AM
it just worked for me in Safari
Michael Chletsos 11/26/11 9:06 AM
hold on
Ben Lambert 11/26/11 9:06 AM
https://qa.assembla.com/spaces/cachamate/wiki/aNWctABdqr4kkmeJe5cbLr/edit
Michael Chletsos 11/26/11 9:06 AM
I was tossed out of QA - then logged in and got a error message
11/26/11 9:06 AM
its the image uploader
Ben Lambert 11/26/11 9:06 AM
login: nadiaqa / prueba
11/26/11 9:06 AM
Ahhh
11/26/11 9:06 AM
eah
11/26/11 9:06 AM
yeah
11/26/11 9:06 AM
I get that often
11/26/11 9:06 AM
not related to my editor I think
Michael Chletsos 11/26/11 9:06 AM
no
Ben Lambert 11/26/11 9:06 AM
but can't upload if you are not logged in
11/26/11 9:06 AM
annoying
Michael Chletsos 11/26/11 9:07 AM
use your own id in QA
11/26/11 9:07 AM
YES - it logs me out
11/26/11 9:07 AM
this is MAJOR issue
11/26/11 9:07 AM
we cannot release this to production
11/26/11 9:07 AM
how can it log you out?
Ben Lambert 11/26/11 9:08 AM
I don't think this has anything to do with my code, however
11/26/11 9:08 AM
hmm
Michael Chletsos 11/26/11 9:08 AM
why not
11/26/11 9:08 AM
whenever I attempt to upload an image in QA - it logs me out
11/26/11 9:08 AM
any other process I do its fine
Ben Lambert 11/26/11 9:08 AM
because I've seen it many times on QA before
11/26/11 9:08 AM
didn't think it was linked to image upload though
11/26/11 9:09 AM
just thought it was a server or configuration issue
11/26/11 9:09 AM
and an intermittent one at that
11/26/11 9:11 AM
There is nothing in this changeset that could cause the user ot be logged out
11/26/11 9:11 AM
http://gerrit.assembla.com/#change,33881
11/26/11 9:11 AM
Only 3 lines of server-side code are changed in that changeset
Michael Chletsos 11/26/11 9:12 AM
hmm - the major problem I refer to is that this is failing in QA and we want to push to production
11/26/11 9:12 AM
However, this is not an intermittent error
11/26/11 9:12 AM
it happens each time and is fully reproducible
Ben Lambert 11/26/11 9:12 AM
It's not reproducable for me
11/26/11 9:13 AM
I have been uploading fine right now
11/26/11 9:13 AM
though yesterday it failed just as you are describing
Michael Chletsos 11/26/11 9:14 AM
I think you have keep me logged in checked?
Ben Lambert 11/26/11 9:14 AM
Yes
11/26/11 9:14 AM
I do
11/26/11 9:14 AM
also
Michael Chletsos 11/26/11 9:14 AM
that is why
Ben Lambert 11/26/11 9:14 AM
I cannot log out
11/26/11 9:14 AM
I tried to log out from nadiaqa, to log in as myself
11/26/11 9:15 AM
but I cannot
Michael Chletsos 11/26/11 9:15 AM
image upload still fails for me with logged in checked
11/26/11 9:15 AM
well more appropriately I am still logged out with that checked
Ben Lambert is sending you a file 11/26/11 9:16 AM
Screen Shot 2011-11-26 at 9.15.42 AM.png
190.4 KB
Ben Lambert 11/26/11 9:16 AM
Did that file transfer work?
Michael Chletsos 11/26/11 9:16 AM
yes
Ben Lambert 11/26/11 9:17 AM
It says "You are now logged out of the system" and "Welcome, nadiaqa!"
11/26/11 9:17 AM
that is a contradiction
Michael Chletsos 11/26/11 9:17 AM
yes
Ben Lambert 11/26/11 9:18 AM
Can you upload in the regular Files tab?
11/26/11 9:18 AM
An image
11/26/11 9:18 AM
Without getting logged out?
11/26/11 9:18 AM
Anyway
11/26/11 9:18 AM
yes there is a problem here
Michael Chletsos 11/26/11 9:19 AM
we cannot deploy with such bugs in QA - but let me look at some things
Ben Lambert 11/26/11 9:19 AM
But I think my changeset is not it
11/26/11 9:19 AM
Yes, agreed
Michael Chletsos 11/26/11 9:20 AM
why would your changeset hit this bug . . . everytime?
11/26/11 9:20 AM
that may help narrow it down
Ben Lambert 11/26/11 9:20 AM
my changeset hit this bug?
Michael Chletsos 11/26/11 9:21 AM
everytime I upload an image, I am logged out
Ben Lambert 11/26/11 9:21 AM
Right
11/26/11 9:21 AM
I'm not though
Michael Chletsos 11/26/11 9:21 AM
fyi - I can log out each time
11/26/11 9:21 AM
just fine
Ben Lambert 11/26/11 9:21 AM
But I can't log out
Michael Chletsos 11/26/11 9:21 AM
so try with another user
Ben Lambert 11/26/11 9:21 AM
so seems there is a problem wiht the login system
Michael Chletsos 11/26/11 9:21 AM
clear your cookies
11/26/11 9:22 AM
well ben - if you can never logout then you are hitting a different bug that prevents you from logging out, so you stay logged in with image upload
11/26/11 9:22 AM
but for me, every image I upload logs me out
Ben Lambert 11/26/11 9:22 AM
maybe
Michael Chletsos 11/26/11 9:22 AM
The problem is that if this happens in production, I could be in the middle of a very long wiki page and lose it all
Ben Lambert 11/26/11 9:22 AM
trying with another user
11/26/11 9:23 AM
All I can add is that I have seen this issue before today
11/26/11 9:24 AM
I suppose that means it could be on productino already
Michael Chletsos 11/26/11 9:24 AM
its not
11/26/11 9:24 AM
It fails with upload Failed
11/26/11 9:24 AM
You have seen intermittent logouts - that is not the same as a reproducible logout
Ben Lambert 11/26/11 9:25 AM
It works with ben / passw
11/26/11 9:25 AM
on QA
Michael Chletsos 11/26/11 9:25 AM
Nadia has confirmed that with her user she gets logged out of qa with image upload
11/26/11 9:25 AM
let me check
Ben Lambert 11/26/11 9:25 AM
but I still can't logout without clearing my cookies
11/26/11 9:27 AM
What happens when you upload via the Files tab?
11/26/11 9:27 AM
If it logs you out there too
11/26/11 9:27 AM
then that rules out the issue being related to the editor
Michael Chletsos 11/26/11 9:27 AM
ok - works in that case, with your user.
Ben Lambert 11/26/11 9:27 AM
hmm
Michael Chletsos 11/26/11 9:27 AM
I wonder if it is admin rights?
11/26/11 9:28 AM
I am not saying editor is to cause
11/26/11 9:28 AM
I am saying it hits the bug each time
Ben Lambert 11/26/11 9:28 AM
Yeah.. but we're trying to narrow it down right
Michael Chletsos 11/26/11 9:28 AM
yes
11/26/11 9:28 AM
hmm
11/26/11 9:28 AM
I cannot log out as you
Ben Lambert 11/26/11 9:28 AM
hehe
Michael Chletsos 11/26/11 9:29 AM
does not even give me the words saying I am logged out
Ben Lambert 11/26/11 9:29 AM
I've had the "cannot log out" issue on QA many times before too
11/26/11 9:29 AM
Like, weeks ago
11/26/11 9:29 AM
I always thought it was some QA quirk
11/26/11 9:29 AM
Perhaps this is related
11/26/11 9:29 AM
it would seem so
Michael Chletsos 11/26/11 9:29 AM
I do not see why that would be the case.
11/26/11 9:29 AM
these sessions are stored in db
11/26/11 9:30 AM
it shows a flaw in sessions code, I suspect
Ben Lambert 11/26/11 9:30 AM
I wonder why it never happens in production though, then
11/26/11 9:30 AM
or on my local system
Michael Chletsos 11/26/11 9:30 AM
I thought others said it did
11/26/11 9:31 AM
perhaps its the multple users using the same accounts in qa?
Ben Lambert 11/26/11 9:31 AM
They can't log out in productino?
11/26/11 9:31 AM
Hmm
11/26/11 9:31 AM
I don't think anyone else was logged in as me (ben/passw)
Michael Chletsos 11/26/11 9:31 AM
i.e. I delete my session, but yours still exists and it thinks its me
11/26/11 9:31 AM
are you?
Ben Lambert 11/26/11 9:31 AM
I am now.. but I hadn't used that account in a while
11/26/11 9:31 AM
and I used it before you
11/26/11 9:32 AM
before I told you the login
Michael Chletsos 11/26/11 9:32 AM
exactly
Ben Lambert 11/26/11 9:32 AM
and I could not log out
Michael Chletsos 11/26/11 9:32 AM
but we are both logged in as it
Ben Lambert 11/26/11 9:32 AM
NOW we are
11/26/11 9:32 AM
but I had the problem before you accessed it
Michael Chletsos 11/26/11 9:32 AM
oh - you could not log out before
Ben Lambert 11/26/11 9:32 AM
yeah
Michael Chletsos 11/26/11 9:32 AM
hmm
11/26/11 9:33 AM
let me do something
Ben Lambert 11/26/11 9:33 AM
Sorry, not sure I can be of much more help here.. especially with brain fry at 9:30am
Michael Chletsos 11/26/11 9:33 AM
no problem
11/26/11 9:33 AM
I will work on this
Ben Lambert 11/26/11 9:33 AM
thanks, good luck
Michael Chletsos 11/26/11 9:35 AM
thanks for your help - good job on the editor so far
11/26/11 9:44 AM
OK - logout bug = you sign in as user X and click - keep me logged in, then sign out then back in as a different user
11/26/11 9:45 AM
You still have security token, and assembla will not let you log out again
11/26/11 9:46 AM
hmm - not completely true, its when you log in and a deploy starts to go
11/26/11 9:46 AM
so strange . . .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment