Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thread blocked indefinitely #5

Closed
Emulebest opened this issue Jun 25, 2019 · 4 comments
Closed

Thread blocked indefinitely #5

Emulebest opened this issue Jun 25, 2019 · 4 comments

Comments

@Emulebest
Copy link

Emulebest commented Jun 25, 2019

Hi,
Running the most basic example from https://github.com/dustin/mqtt-hs/blob/master/app/Main.hs.
I am getting thread blocked indefinitely in an STM transaction caused by
print =<< subscribe mc [("tmp/topic1", QoS0), ("tmp/topic2", QoS0)]
Am I missing something?
GHC - 8.6.5

@faezs
Copy link

faezs commented Jul 2, 2019

Looks like it's not a problem with an upgrade to GHC 8.6.5, rather, you're probably running a newer version of mosquitto than this was meant for - fix is here #2 but unmerged.

@Emulebest
Copy link
Author

@faezs Thanks a lot, will try that out

@majkrzak
Copy link

Why #2 is not merged?

@dustin
Copy link
Owner

dustin commented Sep 14, 2019

Sorry, I seemed to have missed this whole thread. :(

I think I've fixed most of this class of error in 0.5.0.0. I induced a lot of different failures and all of them seemed to give me the correct errors.

@dustin dustin closed this as completed Sep 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants