Open sourabhmandal opened 2 months ago
Thanks for providing such good information. Based on the fact that you are able to request at least some html within the container - I'd expect the problem to be docker or system based. You should at least get a 500 http response if the container is accessible from outside.
Can you check the exposed ports, matching ip address (is development.localhost even mapped to this container?)?
Please be aware, I'm using docker for windows, but there shouldn't be any big differences.
I'll not be able to help anyone using Mac or windows.
Description of the issue
Trying to access http://development.localhost:8000 from browser loads infinitely when running dev-container
Context information (for bug reports)
I followed the steps mentioned in Development container. However after running the bench start command I am not able to access the website in host machine. However if I do a
curl http://development.localhost:8000
inside container itself I am getting a response with HTML page.PS: I am using MacOS as host machine
Steps to reproduce the issue
cp -R devcontainer-example .devcontainer
cp -R development/vscode-example development/.vscode
.devcontainer/docker-compose.yml
and comment outMariaDB and its volume
and uncommentPostgresDB and its volume
bench init --skip-redis-config-generation frappe-bench && cd frappe-bench
bench new-site --db-type postgres --db-host postgresql development.localhost
bench start
Observed result
Expected result