Skip to content
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

Traefik blocks access from Android Emulator #570

Open
deakjahn opened this issue Sep 24, 2024 · 0 comments
Open

Traefik blocks access from Android Emulator #570

deakjahn opened this issue Sep 24, 2024 · 0 comments

Comments

@deakjahn
Copy link

OS type
Linux/Windows/macOS

Drupal version
10 / 11 (all)

Codebase
Built-in vanilla Drupal

Describe the bug
Is there any real reason for the inclusion of Traefik? It doesn't seem to bring any real benefit and it blocks some use cases. I try to reach the dockered Drupal from an Android app I develop and debug in Android Studio and, after a day of debugging, it turned out to be blocked by Traefik. I removed it from the compose file and everything immediately returned to normal.

Just to describe (and to leave a trail for other people struggling with the same issue in the future), the emulator runs in a virtual network that maps 10.0.2.2 to the localhost of the host machine. As I set up my .env to run Docker4Drupal on 0.0.0.0:80, it should be available as localhost. It is available as such from the browser of the host machine all right but not via 10.0.2.2 from the emulator, apparently because of name resolution problems. Without Traefik, it is available, everything works perfectly.

So, while it's not directly a bug per se in other use cases, it looks like unnecessary burden to me without any real benefit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant