adafruit / Adafruit_CircuitPython_Bundle

A bundle of useful CircuitPython libraries ready to use from the filesystem.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AttributeError: 'socket' object has no attribute 'send'

robmarkcole opened this issue · comments

Release 20191019 with adafruit_requests.py copied to the Metro M4 Express AirLift (WiFi)
Using this example I get the error:

Connecting to AP...
could not connect to AP, retrying:  ('Failed to connect to ssid', b'ColesWiFi')
Connected to ColesWiFi 	RSSI: -75
My IP address is 192.168.1.135
IP lookup adafruit.com: 104.20.39.240
Ping google.com: 10 ms
Fetching text from http://wifitest.adafruit.com/testwifi/index.html
Traceback (most recent call last):
  File "code.py", line 51, in <module>
  File "/lib/adafruit_requests.py", line 270, in get
  File "/lib/adafruit_requests.py", line 236, in request
  File "/lib/adafruit_requests.py", line 195, in request
AttributeError: 'socket' object has no attribute 'send'