adafruit / adafruit/Adafruit_CircuitPython_ESP_ATcontrol
Socket is not compatible with adafruit_requests
- Dominant language
- Python
- Stars
- 20
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
The library is able to connect to wifi, but when I try to get data I get an error
Checking connection...
Retrieving URL...Traceback (most recent call last):
File "", line 72, in
File "/lib/adafruit_requests.py", line 711, in get
File "/lib/adafruit_requests.py", line 673, in request
File "/lib/adafruit_requests.py", line 118, in __init__
File "/lib/adafruit_requests.py", line 167, in _readto
File "/lib/adafruit_requests.py", line 142, in _recv_into
AttributeError: 'socket' object has no attribute 'recv_into'
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the failing GET request and read the traceback locations in /lib/adafruit_requests.py, especially lines 118, 142, 167, 673, and 711. Compare the socket interface used by this library with what adafruit_requests expects. Done means the reported request completes without the recv_into AttributeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- embedded-iot, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100