deta / deta-python

deta's official sdk
https://deta.space/docs/en/build/reference/sdk/base
MIT License
153 stars 25 forks source link

The read operation timed out #53

Closed thezem closed 2 years ago

thezem commented 3 years ago

trying to connect to deta fails , the base is there and has data in it ...

`

db.get('mybase') Traceback (most recent call last): File "", line 1, in File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\deta\base.py", line 90, in get _, res = self._request("/items/{}".format(key), "GET") File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\deta\service.py", line 76, in _request res = self._send_request_with_retry(method, url, headers, body) File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\deta\service.py", line 126, in _send_request_with_retry res = self.client.getresponse() File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1349, in getresponse response.begin() File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 316, in begin version, status, reason = self._read_status() File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 277, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\socket.py", line 704, in readinto return self._sock.recv_into(b) File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 1241, in recv_into return self.read(nbytes, buffer) File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 1099, in read return self._sslobj.read(len, buffer)`

socket.timeout: The read operation timed out

aavshr commented 2 years ago

thanks for the report @hazem223 , we will look into it.