-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
NoMethodError (undefined method `[]' for nil:NilClass): #286
Comments
The error disapear on 0.1.31 (was using 0.1.32.beta10) |
We ran into a similar issue because we had a query parameter called Kind of a long shot, but are you maybe doing the same thing? |
I have the same issue on some requests. using 0.1.32-beta10. |
even I am getting the same error - /sigin_in post request - sending email and password parameters |
I made this hack
Forgive for me for the frequent changes to my replies |
master seems to work fine |
I encountered the same issue with the 0.1.32 version from rubygems. My solution was to disable the cookie stuff that i hadn't removed until then. Now every thing is fine. |
Seeing this as well, does anyone have a good sense for what causes this issue or a reliable way to reproduce locally? It seems to be sporadic. We are using 0.1.32-beta9. |
This seems to be caused by a threadsafety issue in how tokens are being set for a resource (user). If two requests come in simultaneously (e.g. a client sends duplicate sessions create requests) on a multi-threaded server the second token update will overwrite the first, so when |
+1 having any quick solution/fix? |
+1 any solution? |
@ecauli We migrated to |
Guys, same error with |
Merged #523 which adds some additional resiliency. Closing this issue, but would love to hear a reproducible scenario where |
Seeing this error when doing a password reset password change. I believe it might be all old tokens being wiped out with the PW update, but no new token existing yet, but haven't been able to dig into internals enough to confirm. |
fix lynndylanhurley#286. Case of no change headers on each request.
devise_token_auth-0.1.37 same error. But devise_token_auth-0.1.36 have not this error. |
+1 Do we know when this will get fixed? I am having the same issue... |
Im having the same problem with |
For me adding |
I have this error for a couple of day now. Any leads to solve ti ?
The text was updated successfully, but these errors were encountered: