galaxyproject / galaxy Public
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redirect from data sources sometimes loses session cookies #11374
Comments
|
Weird though that this is inconsistent and works on every 2nd request |
|
@mvdbeek This is one AlexO saw, too, but I couldn't reproduce on my end; I thought it was maybe browser addons or something at the time? |
|
The explanation given by Chrome makes sense to me, the request seems to be a cross site request (redirect), and therefore the cookie gets filtered out. I haven't managed to reproduce on firefox. I am a little surprised how this could actually work, assuming all browsers properly implement SameSite |
|
But of course now everything is working for me again ... |
|
Ah, no there it is again, just confused myself, thought I was still logged in ... |
|
To confirm, this happens to me. I can't identify a pattern; first it happened consistently (not every 2nd request), now it happened once and stopped. Now it happens again. It may be connected to requesting different data, but I only have anecdotal evidence - nothing systematic. Discovered in the course of 21.01 release testing. |
|
Same happens on usegalaxy.eu |
|
Happened again at usegalaxy.org |
|
From testing yesterday, could reproduce still with Chrome, but not Firefox or Safari on Mac OSX. Maybe that helps to find out what is going wrong. @hexylena Should add this to the GTN for next week's training? The 101 uses this function and that is a pre-requisite for many (most?) other tutorials. Not sure about the best placement. Over time it happens, then it doesn't, then happens again. Might be a UCSC issue. |
|
This is totally our issue, this shouldn't be working on any modern browser AFAICT, but I likely won't have bandwidth to look into this before GCC. |
|
@jennaj if it was a month ago, I would've said "let's cut out the UCSC portion of the tutorials and use fixed copies of the data because that's better for reproducibility anyway" but since it's so close, I think the only option is fixing it, or warning people a lot in those tutorials :( it's unfortunate, I wish there were better options but we're stuck for now |
|
It's chrome only though, right? The actual 'bug' is just that chrome's actually enforcing this on a redirect now? (so, is recommending using anything but chrome a better option than attempting to scramble to patch main, even if we do have time for a fix?) |
|
A proper fix would be a scoped token, right ? I don't think we should accept cookies that authenticate users from redirects ? |
|
Just dropping current status in here: Reproducible as of now re session lost when using chrome to get data from UCSC TB Oh, slightly different behavior .. weird
https://usegalaxy.org/u/jen-galaxyproject/h/unnamed-history Maybe are more clues about how/what to fix. Certainly will help with end-user Qs if nothing else screenshots |
|
Reproducible as of November, we're seeing it in a large course with @shiltemann and the proteomics community. |



I don't understand what is going on there, but if you go to e.g. Get Data -> UCSC main table browser and you select send to Galaxy, sometimes the request is executed with sessioncookie, and sometimes without.
If the sessioncookie is not set users are logged out, which is especially confusing considering it's not always super clear that users aren't logged in.
The text was updated successfully, but these errors were encountered: