Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

occasional error with MQTT_CLIENT.check_msg() as shown in example. Give OSError(-80,) #125

Open
davis-c opened this issue Jul 3, 2020 · 0 comments

Comments

@davis-c
Copy link

davis-c commented Jul 3, 2020

(Hi! 👋 Thanks for reporting an issue! Please make sure you click the link above to view the issue guidelines, then fill out the blanks below.)

What are the steps to reproduce this issue?

  1. using method show in this example
  2. https://raw.githubusercontent.com/pycom/pycom-libraries/master/GoogleIOT/flash/main.py
  3. the call to MQTT_CLIENT.check_msg()

What happens?

will sometimes hang. It displays this message

mqtt: OSError(-80,)
[MQTT] mqtt.googleapis.com OK!

What were you expecting to happen?

Either fail gracefully or raise an exception.

Any logs, error output, etc?

(If it’s long, please paste to https://gist.github.com and insert the link here)

Any other comments?

What versions of software are you using?

  • fipy and not sure about version of hardware. its a recent purchase and firmware has been updated:
  • os.uname() output: (sysname='FiPy', nodename='FiPy', release='1.20.2.rc6', version='v1.20.1.r2-114-ge264b4c24-dirty on 2020-04-20', machine='FiPy with ESP32', lorawan='1.0.2', sigfox='1.0.1')
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant