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

Connection Issue #12

Closed
jonmarkgo opened this issue Jul 25, 2012 · 5 comments
Closed

Connection Issue #12

jonmarkgo opened this issue Jul 25, 2012 · 5 comments

Comments

@jonmarkgo
Copy link

I'm using the latest git pull of this library, with the only modification being that I changed instances of Ethernet to WiFly. I also tried it with https://github.com/dpslwk/pubsubclient

It connects successfully to my mosquitto server but then it starts having issues and cannot publish or subscribe:
Jul 25 22:02:46 localhost mosquitto[4096]: New connection from 50.74.0.42.
Jul 25 22:02:46 localhost mosquitto[4096]: New client connected from 50.74.0.42 as twiliopower.
Jul 25 22:02:46 localhost mosquitto[4096]: Sending CONNACK to twiliopower (0)
Jul 25 22:02:46 localhost mosquitto[4096]: Socket read error on client twiliopower, disconnecting.
Jul 25 22:02:55 localhost mosquitto[4096]: New connection from 50.74.0.42.
Jul 25 22:02:56 localhost mosquitto[4096]: Socket read error on client (null), disconnecting.
Jul 25 22:03:15 localhost mosquitto[4096]: New connection from 50.74.0.42.
Jul 25 22:03:16 localhost mosquitto[4096]: Socket read error on client (null), disconnecting.

Looks very similar to this bug: https://bugs.launchpad.net/mosquitto/+bug/528663

@knolleary
Copy link
Owner

As I don't own a WiFly, I'm not going to make any immediate progress in debugging this myself.

If it is in anyway related to that previous bug, it would suggest the client.available() call of the WiFly library behaves differently.

Can you point me at exactly which WiFly library you are using?

@jonmarkgo
Copy link
Author

@knolleary
Copy link
Owner

Did you make any progress on this?

@jonmarkgo
Copy link
Author

Adapted the Pusher lib instead: https://github.com/jonmarkgo/ArduinoPusherClient

@knolleary
Copy link
Owner

okay - I'll close this issue then. If you do happen to try again, let me know how you get on.

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

2 participants