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
Describe the bug:
When running the application in a Docker environment, the container comes up, but when visiting the URL, the page stays blank. Using developer tools, I can see several errors (also see screenshots below) that are related to attempts to upgrade to https.
I was eventually able to figure out how to run a container using docker compose, but I think the documentation could be improved here. This was quite a frustrating experience to be honest 😢
Expected behaviour:
I expect the page to show the Threat Dragon dashboard.
Environment:
Version: 2.3.0 (also tried 2.2.0)
Platform: Web App
OS: Linux
Browser: Firefox, Brave
To Reproduce:
Run the container with the following compose file and .env file (secrets removed)
@sNiXx many thanks for reporting this. I expect that the solution is in your line
SERVER_API_PROTOCOL=http
in the run through of using the docker image we use HTTP between front end and server - which makes sense as they are both in the same container
I agree the documentation needs updating and more clarification, and any contributions are very welcome in that respect (we are all unpaid volunteers doing this in our spare time)
@jgadsden I am not sure I follow. You are stating a problem, but not giving a solution?
Is there anything wrong with my compose or env file? Because I was not sure what you mean, I removed
SERVER_API_PROTOCOL=http
from the env file, so it should default to https, which clearly fails, because there is no way to define a certificate to be used (see #1098)
EDIT: I am wondering if it has to do with modern browser settings? If I run the exact same command on my dev machine and access the container via localhost, the dashboard loads just fine.
EDIT2: I can confirm this is an issue with the application. When i fully disable CSP (using this browser extension), the UI loads just fine
Describe the bug:
When running the application in a Docker environment, the container comes up, but when visiting the URL, the page stays blank. Using developer tools, I can see several errors (also see screenshots below) that are related to attempts to upgrade to https.
I was eventually able to figure out how to run a container using docker compose, but I think the documentation could be improved here. This was quite a frustrating experience to be honest 😢
Expected behaviour:
I expect the page to show the Threat Dragon dashboard.
Environment:
To Reproduce:
Run the container with the following compose file and .env file (secrets removed)
docker-compose.yml
.env
command:
Any additional context, screenshots, etc:
The text was updated successfully, but these errors were encountered: