question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docker Connection Issues

See original GitHub issue

I have a simple dotnet 3.1 console app that has the DotPulsar example code in it. I am using docker-compose to startup the application and a standalone Pulsar instance. I am using the name of the docker service in the address (pulsar://pulsar:6650) to connect to. DotPular cannot seem to connect. It gets the following error:

System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (111): Connection refused [::ffff:172.20.0.2]:6650 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exception source) at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at System.Net.Sockets.Socket.DoMultipleAddressConnectCallback(Object result, MultipleAddressConnectAsyncResult context)

That said I tried the Pulsar.Client package and it connects and can send/receive without issue so it appears to be either an issue with DotPulsar or my configuration of it. Here is a repo that reproduces the issue: https://github.com/JarrodJ83/DotPulsarTest

Can anyone assist?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
blankensteinercommented, Jun 5, 2020

Hi @JarrodJ83 Thanks for the bug report! I’ll look into this later today or during the weekend 😃

0reactions
blankensteinercommented, Dec 13, 2020

Ok, I’ll close it, but if you find that this is still a problem then please don’t hesitate to create an issue again 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Workarounds for common problems
Workarounds for common problems · Reboot link · Unset DOCKER_HOST link · Make sure Docker is running for webserver examples link · How...
Read more >
Docker container loses network connectivity intermittently
The issue: When a container is newly created, all networking will work as expected; it can ping out to the internet, and connect...
Read more >
Known issues
You might encounter errors when using docker-compose up with Docker Desktop ( ValueError: Extra Data ). We've identified this is likely related to...
Read more >
Troubleshoot Docker Engine installation
Troubleshoot Docker Engine installation · Kernel compatibility · Unable to connect to the Docker daemon · IP forwarding problems · DNS resolver issues...
Read more >
4 Reasons Why Your Docker Containers Can't Talk to Each ...
Containers that share the same network can communicate with each other by default. However, it can happen that your network's configuration changed at...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found