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

diambra run .. stuck on Windows 11 due to "connectex: ... connection .. refused .." #39

Closed
10 of 11 tasks
discordianfish opened this issue Mar 6, 2023 · 2 comments
Closed
10 of 11 tasks
Labels

Comments

@discordianfish
Copy link
Member

discordianfish commented Mar 6, 2023

This seems to be a docker-for-win issue with the portmapping but for the sake of it, lets track it here.

We did the following already to isolate the issue:

  • Run docker run -p 80:80 nginx -> Reachable on localhost:80
  • Run docker run -p 127.0.0.1:80:80 nginx -> Unreachable
  • Run engine with net=host without cli as described here and...
    • Connect to localhost:50051 -> failed
    • Connect to host.docker.internal:50051: 192.168.101.23:50051: connectex: No connection could be made because the target machine actively refused it.
  • diambra run --env.host=0.0.0.0 and..
    • grpcurl -plaintext 172.17.0.3:50051 list: Failed to dial target host "172.17.0.3:50051": context deadline exceeded
    • grpcurl -plaintext localhost:59667 list: Failed to dial target host "localhost:59667": dial tcp [::1]:59667: connectex: No connection could be made because the target machine actively refused it."
    • grpcurl -plaintext host.docker.internal:59667 list: Failed to dial target host "host.docker.internal:59667": dial tcp 192.168.101.23:59667: connectex: No connection could be made because the target machine actively refused it.
  • diambra test diambra/agent-random-1:main
  • Manually connect to grpc from container as described here
@discordianfish
Copy link
Member Author

Apparently diambra test diambra/agent-random-1:main works, further pointing toward a docker-for-win issue.

@discordianfish
Copy link
Member Author

Closing in favor of diambra/arena#62

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

No branches or pull requests

1 participant