Closed jerryneedell closed 2 years ago
I reproduced the issue with the following code, and from my tests it seems the issue appears with this Circuitpython PR: https://github.com/adafruit/circuitpython/pull/5439
import socketpool
import ssl
import wifi
import adafruit_requests
from secrets import secrets
wifi.radio.connect(ssid=secrets["ssid"], password=secrets["password"])
socket_pool = socketpool.SocketPool(wifi.radio)
requests = adafruit_requests.Session(socket_pool, ssl.create_default_context())
response = requests.get("http://wifitest.adafruit.com/testwifi/index.html")
print(response.text)
@Neradoc Thank you!
FYI - my code does run normally with the 7.0.0 release.
fixed by #82
I just updated a MAGTAG to the current tip of main and updated all the libraries to the current bundle. The code I am running has been running for several months but now it is failing when trying to get the localtime
magtag.get_local_time()
Has something changed?
here is the code.py