Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32-S2: only one socket can be created #9219

Closed
dhalbert opened this issue May 1, 2024 · 0 comments · Fixed by adafruit/Adafruit_CircuitPython_ConnectionManager#16
Closed
Assignees
Milestone

Comments

@dhalbert
Copy link
Collaborator

dhalbert commented May 1, 2024

Discovered by @justmobilize, socket.connect() timeout is not working on ESP32-S2. This was discovered during testing of #9210, but the problem actually extends back to 9.0.4 or earlier. In 8.2.10, there is a 20-second timeout (it might be 10 * 2).

The failures occur much more quickly on ESP32-S2 on 9.x. Using this test program:

default success: 0.601997
default fail: 0.00299835

timeout success: 0.491001
timeout fail: 0.0039978
@dhalbert dhalbert added this to the 9.0.x milestone May 1, 2024
@dhalbert dhalbert self-assigned this May 3, 2024
@dhalbert dhalbert changed the title ESP32-S2: socket connection timeouts not working ESP32-S2: only one socket can be created May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant