-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Cookies not working #24
Comments
Hi, @mauriballes! First, Do you use |
Yes, I use 0.0.0.0 for both. Rails app and anycable-go. |
Ok. So what is the exact error message/logs? |
It's that I don't have cookies. Look my log: The cookies are empty! |
I find my problem, thanks. But my problem is that I'm working with subdomains and I can share my cookies |
@mauriballes How did you fix it? I'm having a similar issue right now. I see that the cookies are coming in the
This is what I see in the browser: So I see that the frontend is specifying the host properly. But it seems to be ignored or discarded by the Any ideas, @palkan? I would expect Update 1Here is my backtrace:
|
Hi @etagwerker! AnyCable doesn't use Rails middleware stack, hence Check out the proposed solution from this post: https://medium.com/@leshchuk/from-action-to-any-1e8d863dd4cf (see "Minus Rack middleware" section). |
I'm using Rails 5.1.4 and Anycable-Go 0.5.0
I have this code on my Gemfile
This on my application.rb
This on my environment.rb
My cookie var is empty when I tried to connect
I don't know what to do. Help me please
The text was updated successfully, but these errors were encountered: