Turns out the problem is with the newest ESP32 firmware.
esp32-20190617-v1.11-47-g1a51fc9dd.bin . -- this version has bugged urequests
esp32-20190529-v1.11.bin . -- this version working perfect
Search found 8 matches
- Mon Jun 17, 2019 5:58 pm
- Forum: ESP32 boards
- Topic: urequests [Errno 5] EIO
- Replies: 1
- Views: 1720
- Mon Jun 17, 2019 4:51 pm
- Forum: ESP32 boards
- Topic: urequests [Errno 5] EIO
- Replies: 1
- Views: 1720
urequests [Errno 5] EIO
urequests post throws the following error from time to time.
OSError: [Errno 5] EIO
Also when digging deeper and watching the serial output I can see that from time to time the SSL handshake fails. Unsure what I can do about this. Any guidance would be helpful.
OSError: [Errno 5] EIO
Also when digging deeper and watching the serial output I can see that from time to time the SSL handshake fails. Unsure what I can do about this. Any guidance would be helpful.
- Fri May 31, 2019 4:46 pm
- Forum: General Discussion and Questions
- Topic: urequests and timeout?
- Replies: 2
- Views: 1987
Re: urequests and timeout?
If you lose wifi connectivity it should throw an exception. I would try wrapping the request in a try block and check to see if the wifi goes out and handle that exception. Here is a very basic example using a get request. If you're doing a post you should check if status_code != 201. while res.stat...
- Fri May 31, 2019 4:38 pm
- Forum: ESP32 boards
- Topic: Frozen Bytecode (.mpy) in firmware vs in file system
- Replies: 1
- Views: 1359
Frozen Bytecode (.mpy) in firmware vs in file system
Hi,
I am curious to know the differences/advantages/disadvantages of Frozen Bytecode (.mpy) in firmware (as a module) vs in the file system.
Thank you in advance.
I am curious to know the differences/advantages/disadvantages of Frozen Bytecode (.mpy) in firmware (as a module) vs in the file system.
Thank you in advance.
- Fri May 31, 2019 3:20 am
- Forum: ESP32 boards
- Topic: AM2301 and DHT22 the same? AM2315 with ESP32?
- Replies: 2
- Views: 2064
Re: AM2301 and DHT22 the same? AM2315 with ESP32?
Thank you for that informative response. I'll look into other reasons. When I put it in the refrigerator, for example, it does read the right temperature but it takes a while to adjust. (10-30) minutes. However, the device does not work in the freezer at all. Very odd..
- Fri May 31, 2019 1:18 am
- Forum: ESP32 boards
- Topic: AM2301 and DHT22 the same? AM2315 with ESP32?
- Replies: 2
- Views: 2064
AM2301 and DHT22 the same? AM2315 with ESP32?
Hi, I am wondering about using the am2301 for my esp32. Are the am2301 and am2302 equivalent to the dht22? If yes does that mean I can simply just do the following? Does it also require a pull-up resistor? d=dht.DHT22(machine.Pin(4)) Also as a side question, I have an AM2315 hooked up to my esp32 an...
- Wed May 29, 2019 10:46 pm
- Forum: ESP32 boards
- Topic: Network connect weird behavior?
- Replies: 1
- Views: 1668
Network connect weird behavior?
Hi, I noticed very weird behavior when migrating from the ESP8266 to ESP32. when running the following to connect to WIFI: [code]wlan_sta.connect(ssid, password)[/code] When inputting incorrect password credential, the ESP32 will keep trying to auto connect and will continue to throw the following: ...
- Tue May 28, 2019 5:57 pm
- Forum: ESP32 boards
- Topic: Does ESP32 restart automatically after an exception is thrown like ESP8266?
- Replies: 1
- Views: 1509
Does ESP32 restart automatically after an exception is thrown like ESP8266?
As the subject states: Does ESP32 restart automatically after an exception is thrown like ESP8266?
I have looked around and I'm not sure why I cannot find an answer for this.
Thank you in advance.
I have looked around and I'm not sure why I cannot find an answer for this.
Thank you in advance.