amenzhinsky / iothub

Azure IoT Hub SDK for Golang
MIT License
51 stars 57 forks source link

amqp:link:redirect error while using example code #13

Closed sleeping-barber closed 4 years ago

sleeping-barber commented 4 years ago

Hi, I was just using your example code for the service component and received an amqp:link:redirect error. In the documentation of AMQP this error is about the problem of not resolving the address to the container but everything in the response map look okay to me.

I just set up a fresh IoT Hub and created a device by hand and trying to run those examples on my local machine. The device code is working.

Any hints? :)

amenzhinsky commented 4 years ago

@midnightrun it looks like microsoft changed something, I'm looking into the problem.

amenzhinsky commented 4 years ago

Check out the latest tag https://github.com/amenzhinsky/iothub/releases/tag/v0.4.0 the error should be gone.