You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I go to the chatbot server via port 80, login and chat works without problems.
As soon as I connect to the server via https://domain:443 (SSL) I get the following error message by login with user credentials.
x-forwarded-host header with value IPADRESS:3000 does not match origin header with value chat.domain.com from a forwarded Server Actions request. Aborting the action.
⨯ Error: Invalid Server Actions request.
at AsyncLocalStorage.run (node:async_hooks:346:14)
What else needs to be adjusted in the config so that I can access the server via a proxy via SSL?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I have a question about the connection to the chatbot UI via SLL.
I have set up a proxy server with the following config.
server {
listen 80;
server_name chat.domain.com;
location / {
proxy_pass http://IPADRESS:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
server {
listen 443 ssl;
server_name chat.domain.com;
ssl_certificate /etc/ssl/certs/cert.crt;
ssl_certificate_key /etc/ssl/certs/key.key;
location / {
proxy_pass http://IPADRESS:3000;
# ...
}
}
Conenction, https and http works with that.
If I go to the chatbot server via port 80, login and chat works without problems.
As soon as I connect to the server via https://domain:443 (SSL) I get the following error message by login with user credentials.
x-forwarded-host
header with valueIPADRESS:3000
does not matchorigin
header with valuechat.domain.com
from a forwarded Server Actions request. Aborting the action.⨯ Error: Invalid Server Actions request.
at AsyncLocalStorage.run (node:async_hooks:346:14)
What else needs to be adjusted in the config so that I can access the server via a proxy via SSL?
Very grateful for any advice 🙏
Beta Was this translation helpful? Give feedback.
All reactions