Aliaksandr Mianzhynski
Aliaksandr Mianzhynski
I'd create a tempdir, copy the binary along with all dependencies there and run it with `LD_PRELOAD_PATH={tempdir}` env var on Linux, I believe other platforms have similar ways to override...
Hi, IIRC when I was writing the code IoTHub accepted json only and now as understand this correctly it can be anything `[]byte`, plus the library itself doesn't guarantee API...
https://github.com/amenzhinsky/iothub/commit/377c09107e8bb2da887d4c52eca5be6819e285c0 But I'm not sure about time format though, Azure uses different time formats across API, for now it simply pushes ctime to `amqp.ApplicationProperties` that goes to `msg.Properties["iothub-creation-time-utc"]` as a...
If I recall correctly we had this problem before, the client should maintain token actuality in the background: https://github.com/amenzhinsky/iothub/blob/master/iotservice/client.go#L147
Can you try the latest master, there was simply a defer error that closed amqp session before it tired to renew token.
For that we would need to get a lock token for each message, I'm not sure where from.
All module required variables are listed here: https://github.com/amenzhinsky/iothub/blob/master/common/sas.go#L59 Can you make sure you have everything you need? Not sure, probably something could change over a version.
You're right transports API is a bit confusing, I think we need separate module and device transport interfaces or join them together.
@ashubhatt thanks for the tip, great discovery, will have a look next weeks.
``` TASK [Create blah container] **************************************************** --- before +++ after @@ -15,7 +15,7 @@ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", - "RELEASE_VERSION=v0.19-117-ge5a6f67", + "RELEASE_VERSION=v0.19-118-gb92ece2", "ADDR=:6065", ```