-
-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker: HTTPS upgrade issues #1137
Comments
I'm interested in working on this issue and would appreciate being assigned to it. |
thanks @kartik-212004 for taking this on, and I think you reported the same problem in the slack channel? |
@sNiXx many thanks for reporting this. I expect that the solution is in your line
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
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. |
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:
![TD001](https://private-user-images.githubusercontent.com/3066873/394462457-ed3adc49-7c4b-402f-b85c-1f595ccf28b8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMDI3NzMsIm5iZiI6MTczOTMwMjQ3MywicGF0aCI6Ii8zMDY2ODczLzM5NDQ2MjQ1Ny1lZDNhZGM0OS03YzRiLTQwMmYtYjg1Yy0xZjU5NWNjZjI4YjgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMTkzNDMzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDNmODQwMTc2NWEzNTkwODZlMGY4ZTYzM2RlNGY4ZjRmNTAxODU5ZjlmY2VlYmUwMWYyNzA5N2YyYWMwZTY3MiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.fs5GVedyNRkwS_Zp-_pTDVpAml3sYw07q7jVDeEEPg8)
The text was updated successfully, but these errors were encountered: