Hi all,
I've setup Consul on a subdomain.domain.com with a reverse proxy using a private IP range internally. Consul is using http because I use https on the reverse proxy already.
Things are working fine when I access the server internally with the private IP address. I can register as a new user and login to the server.
However, when I connect to the server externally via subdomain.domain.com then I have an issue when I try to log-in, register a new user or click "forgot password")
The error message comes in all 3 above mentioned cases:
422 The change you wanted was rejected
I can browse my consul website without log-in, but as soon as I try to log-in or register , there is this error message.
From an internet search I've found that the 422 error may have to do with CSRF Token error and may have to do with my reverse proxy setup
https://stackoverflow.com/questions/41027048/rails-devise-sign-in-doesnt-work-on-safari-422-csrf-error
it was said to change the following line in
deploy/consul/current/config/initializers/session_store.rb
line
Rails.application.config.session_store :cookie_store, key: "_consul_session"
I don't know if that will help. I've removed this part "_consul_session"` , but it didn't help.
Do you have any idea what I could try to make it work?
Thanks.

Hi all,
I've setup Consul on a subdomain.domain.com with a reverse proxy using a private IP range internally. Consul is using http because I use https on the reverse proxy already.
Things are working fine when I access the server internally with the private IP address. I can register as a new user and login to the server.
However, when I connect to the server externally via subdomain.domain.com then I have an issue when I try to log-in, register a new user or click "forgot password")
The error message comes in all 3 above mentioned cases:
422 The change you wanted was rejectedI can browse my consul website without log-in, but as soon as I try to log-in or register , there is this error message.
From an internet search I've found that the 422 error may have to do with CSRF Token error and may have to do with my reverse proxy setup
https://stackoverflow.com/questions/41027048/rails-devise-sign-in-doesnt-work-on-safari-422-csrf-error
it was said to change the following line in
deploy/consul/current/config/initializers/session_store.rbline
Rails.application.config.session_store :cookie_store, key: "_consul_session"I don't know if that will help. I've removed this part "_consul_session"` , but it didn't help.
Do you have any idea what I could try to make it work?
Thanks.