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
I had a working prior release in the 4.x range.
I did a docker pull to get the current release and restarted it using the existing .env file.
I am running in docker behind a TLS terminating reverse proxy. It is also accessed at the /2fauth subdirectory/path.
I initially had the blank page issue where the first page was returned, but the subsequent pages used a URL that was missing the /2fauth/ path prefix. I was able to "fix" this by setting the new variable ASSET_URL so that it matched APP_URL. I also set TRUSTED_PROXIES to * as well as trying the actual source IP logged by the server (172...).
After restarting, I get an error: 404 resource not found. According to docker log the displayed page is:
If I click on the Close button, I am presented with the 2FAuth login page, but the displayed URL is incorrect.
It should be: https://hostname.dom.ain/2fauth/login but is https://hostname.dom.ain/login. As part of loading the login page, I also see it fetching build and other assets without the /2fauth prefix which all fail with 404.
What else is odd is that the displayed page does seem to be using the proper /2fauth url under the hood as I can navigate using the links to go to the home page and the about page. They both show the wrong URL in the address bar, but do make it to the server running under docker.
I have also stopped the server, deleted storage/framework/cache/data and restarted the server. The problem persists.
Ideas?
Also publishing release notes that said that ASSET_URL and TRUSTED_PROXIES were now required would have helped
in the initial troubleshooting.
Version
5.0.0 (e3ded66)
Details & Steps to reproduce
I had a working prior release in the 4.x range.
I did a docker pull to get the current release and restarted it using the existing
.env
file.I am running in docker behind a TLS terminating reverse proxy. It is also accessed at the
/2fauth
subdirectory/path.I initially had the blank page issue where the first page was returned, but the subsequent pages used a URL that was missing the
/2fauth/
path prefix. I was able to "fix" this by setting the new variableASSET_URL
so that it matchedAPP_URL
. I also setTRUSTED_PROXIES
to*
as well as trying the actual source IP logged by the server (172...).After restarting, I get an error: 404 resource not found. According to docker log the displayed page is:
with referer:
The page is titled "titles.notFound".
If I click on the
Close
button, I am presented with the 2FAuth login page, but the displayed URL is incorrect.It should be:
https://hostname.dom.ain/2fauth/login
but ishttps://hostname.dom.ain/login
. As part of loading the login page, I also see it fetching build and other assets without the/2fauth
prefix which all fail with 404.What else is odd is that the displayed page does seem to be using the proper
/2fauth
url under the hood as I can navigate using the links to go to the home page and the about page. They both show the wrong URL in the address bar, but do make it to the server running under docker.I have also stopped the server, deleted
storage/framework/cache/data
and restarted the server. The problem persists.Ideas?
Also publishing release notes that said that ASSET_URL and TRUSTED_PROXIES were now required would have helped
in the initial troubleshooting.
Also docker run command is:
env file contents below.
Expectation
Login page retrieving proper URL's.
Error & Logs
Execution environment
All I get for env vars from the
/2fauth/about
page is:My .env file has:
Containerization
Additional information
No response
The text was updated successfully, but these errors were encountered: