Skip to content
This repository has been archived by the owner on Jul 15, 2020. It is now read-only.

iOS Safari "XMLHttpRequest failed: Unable to get session" #37

Closed
kuma-guy opened this issue Jul 15, 2017 · 2 comments
Closed

iOS Safari "XMLHttpRequest failed: Unable to get session" #37

kuma-guy opened this issue Jul 15, 2017 · 2 comments
Labels

Comments

@kuma-guy
Copy link

kuma-guy commented Jul 15, 2017

Sometimes I got "XMLHttpRequest failed: Unable to get session" when I back and forth super fast between pages using browser buttons but only occurs on iOS Safari

@iaincollins
Copy link
Owner

Thanks for reporting this, that's interesting. I was looking at refactoring that code.

I'll improve the debugging at least so we can see if it's important or not (e.g. if it's just the XMLHttpRequest just be cancelled by the browser due to navigation that's fine as the session would still be valid).

@iaincollins
Copy link
Owner

Thanks for the bug report. I haven't been able to resolve this or replicate it so going to be lazy and just close this off as unless I'm bugged more about it or run into it a bunch myself I'm probably going to gloss over it.

I'm sure it's a real issue, but I don't have any thoughts on what to do about it and am vaguely hoping it just goes away over time (either in an Safari update, a Next.js update or due to refactoring).

If this makes anyone mad and they are still seeing it bug me to reopen and investigate it. Any additional specific info you can give to help replicate is always helpful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants