You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a php file where i ping whit my esp32. It has a interval of 10 sec. The first few minutes are running fine but after a while i got a OSErrro -202. I foud this only happens whit https and not http. but i have no other option
the request code:
print("I wil ping to " , str(urlPing + '?mac=' + str(mac))) r = requests.get(urlPing + '?mac=' + str(mac)) rText = r.text r.close() print(rText)
the urlPing is a https://www.xxxx.xxx.php (do to sucerty reasons i cannot show the full link)
If the mac addres is valid it will respond "ok" and if it is not valid "no valid mac".
this is the error i get: File "urequests.py", line 108, in get File "urequests.py", line 53, in request OSError: -202
when the errors happens it never stop. try except, reconnect to wifi. only a hardreset
Activity
jimmo commentedon Jul 21, 2022
This issue is now being tracked in #8940.
Merge pull request micropython#7061 from MicroDev1/espressif