Mark Cilia Vincenti
Mark Cilia Vincenti
I have code publishing every 10 seconds running 24/7 for years. Years ago I used to have it hang on me and I'd have to restart the app. One day...
Could it be because the BlockingQueue is getting deadlocked? Perhaps have an asynchronous alternative for it? https://stackoverflow.com/a/21225922/9945524
Also if this helps, it only happens on an assembly hosted on a Raspberry Pi with a very weak WiFi connection. I have code that's publishing that's on the same...
I actually fixed the issue and created a PR for it at https://github.com/sipsorcery-org/sipsorcery/pull/828
I had done this to fix it (.NET 6) ```` public static class IManagedMqttClientExtensions { public static async Task EnqueueAsyncWithTimeout(this IManagedMqttClient client, MqttApplicationMessage message, TimeSpan? timeSpan = null) { await...
> > use the regular client instead > > no, ManagedMqttClient works fine on windows server,but not on embedded devices. i use the regular client instead. What I gave you...
@chkr1011 I did a bunch of changes to my code that uses the managedclient and I've started having freezes again. I thought it was the changes I did and I...
> Sadly that did not help. It is still not returning from the EnqueueAsyncWithTimeout and the message is not published. Only after i stop and start the mqtt server (mosquitto)...
Also with the main library on that version? On Thu, 20 Oct 2022, 06:06 nanuit, ***@***.***> wrote: > Sadly that did not help. It is still not returning from the...
> Please try version 4.1.2.350 from the myget feed and let me know if the issue is fixed. Anyone tried it yet? I don't wish to test in production.