Replies: 4 comments 1 reply
-
I will convert this issue to a GitHub discussion. Currently GitHub will automatically close and lock the issue even though your question will be transferred and responded to elsewhere. This is to let you know that we do not intend to ignore this but this is how the current GitHub conversion mechanism makes it seem for the users :( |
Beta Was this translation helpful? Give feedback.
-
This client cannot possibly affect connections from We highly recommend using our own Kubernetes cluster Operator instead of DIY solutions. |
Beta Was this translation helpful? Give feedback.
-
After debugging some more I found that even with telnet I get Connection refused from time to time: |
Beta Was this translation helpful? Give feedback.
-
I finally figured it out, and it was our deployment yaml file of the worker that was wrong. So this request was definitely placed in the wrong repo, sorry for that! |
Beta Was this translation helpful? Give feedback.
-
I am trying to get a system to work where we have the following setup through RabbitMQ:
MQTT (IoT Devices) --> RabbitMQ <-- AMQP (.NET Worker)
The c# worker looks like this, as we deleted everything to find out what the issue could be. For faking the IoT devices we are testing with mosquitto_pub. When we run this code locally and publish to RabbitMQ with Mosquitto, everything works (even with more code where we subscribe and interpret the messages and write them to a database). We also tried to dockerize the applications and we run everything in Docker locally, with success.
As soon as we install the .NET worker on our Kubernetes cluster though, we receive
Error: The connection was lost.
messages on publishing through Mosquitto. Every other message works and then we get the error again. This behaviour happens ONLY when we have a Worker running in Kubernetes (microk8s instance).We have tested the following setups:
I would assume that it's maybe not even an error with RabbitMQ or RabbitMQ .NET client, but I am a bit lost on where to find the logs to actually start finding a solution to this. Can someone help out here?
Worker.cs
Beta Was this translation helpful? Give feedback.
All reactions