Open qiyang77 opened 3 months ago
I am trying to initialize a request session on my esp32 board. However, it failed, with error message:
File "adafruit_connection_manager.py" line395, in get_connection manager TypeError: unsupported type for __hash__: socketpool
The version of circuitPython is 8.2.7, my board is ESP32-S2 Reverse TFT Feather. The code I used is attached.
# settings.toml imports aio_username = os.getenv('AIO_USERNAME') aio_key = os.getenv('AIO_KEY') # connect to wifi wifi.radio.connect(os.getenv('CIRCUITPY_WIFI_SSID'), os.getenv('CIRCUITPY_WIFI_PASSWORD')) pool = socketpool.SocketPool(wifi.radio) requests = adafruit_requests.Session(pool, ssl.create_default_context())
Any suggestions?
I can check for backwards compatibility, have you tried using CircuitPython 9.x?
I am trying to initialize a request session on my esp32 board. However, it failed, with error message:
The version of circuitPython is 8.2.7, my board is ESP32-S2 Reverse TFT Feather. The code I used is attached.
Any suggestions?