Closed amosyuen closed 1 year ago
I have been getting this issue, but I fixed this problem by setting the Nginx to redirect web sockets too
# EPIC GAMES
location ~ ^/epicgames/v1/(.*)$ {
proxy_redirect off;
proxy_pass http://epicgames;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $host;
auth_basic "Administrator’s Area";
auth_basic_user_file /etc/apache2/.htpasswd;
}
and set the WebPortalConfig in the config file like this
"webPortalConfig": {
"baseUrl": "https://{my_host}/epicgames/v1/",
},
hope this helps.
@chit-uob Thanks a lot, that config worked for my connection through nginx.
I noticed if I try to connect directly using IP and port http://192.168.0.249:3300
that still doesn't work, I'm guessing maybe that is because of the baseUrl config?
The webserver doesn't run when it's not needed to save on resource usage. You can use testNotifiers
to test the connection on setup.
@claabs The get failures were happening after receiving a real (non-test) notification, so I assumed the webserver was running then, or at least should have been.
Describe the bug
I get a push notification for catcha needed, but when I open the webpage I get 404 error
Cannot GET /
. I have configured MFA according to https://github.com/claabs/epicgames-freegames-node#two-factor-login.Request:
Response:
Screenshots or Logs
Trace Logs
Configuration (please complete the following information):
I tested with local ip address http://192.168.0.249:3300. Note the port 3300 is bound to the internal 3000 port of the docker container. I also tested using localtunnel, but get same problem.
Additional context
I'm using this through HA addon https://github.com/alexbelgium/hassio-addons/tree/master/epicgamesfree. Version is commit https://github.com/claabs/epicgames-freegames-node/commit/1f957d3e4dfac9c053511c64636fa7459d3211a7 which is fairly new.