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
Sticky job_id prevents server from fetching databases #574
Comments
Agreed. In the mean time, you have two options:
Note to my future self or anyone else who takes up this issue: |
@yeban The funny thing is that neither refreshing the page nor opening a new tab worked! The only solution that worked was to open a new incognito window (using chrome). That's why I assumed it was stored in a cookie. |
@marcadella Do you any see any error message in the browser console when you try to refresh? Which version of Chrome are you using? |
Ok, I get it know. I can see So I just disagree with your solution 1 since sessionStorage is not cleared upon page reload. |
Hello. I am sorry, it's not currently possible for me to respond sooner. If SequenceServer is not clearing sessionStorage for you on page refresh, then we have a bug (search.js#L12-18). But I cannot reproduce it on my end. Do you see any error message or warnings in the browser console that can help troubleshoot the issue? What version of Chrome are you using? |
After doing a search the last job_id is stored in a cookie (I guess).
But if the server is restarted at that point, the job_id doesn't exist anymore and the following Ajax request:
https://mmp-blast.sfb.uit.no/searchdata.json?job_id=8dbf489f-f739-4321-9bf3-ff84af2cee86
returns:
{"message":"The requested job could not be found","title":"Job not found","more_info":""}
and the consequence is that the list of databases is not and the UI does not let a user submit a new query (since no db has been selected).
Sequenceserver should fail gracefully when a job_id does not exist.
The text was updated successfully, but these errors were encountered: