Skip to content

Commit ab55bea

Browse files
projectgusespressif-bot
authored andcommitted
esp_prov: Extend the timeout for HTTP connection to SoftAP
1 parent 7934df3 commit ab55bea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/esp_prov/transport/transport_http.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ def __init__(self, hostname, ssl_context=None):
3434
raise RuntimeError("Unable to resolve hostname :" + hostname)
3535

3636
if ssl_context is None:
37-
self.conn = HTTPConnection(hostname, timeout=30)
37+
self.conn = HTTPConnection(hostname, timeout=45)
3838
else:
39-
self.conn = HTTPSConnection(hostname, context=ssl_context, timeout=30)
39+
self.conn = HTTPSConnection(hostname, context=ssl_context, timeout=45)
4040
try:
4141
print("Connecting to " + hostname)
4242
self.conn.connect()

0 commit comments

Comments
 (0)