What causes ```httpx.RemoteProtocolError: Server d...
# help
a
What causes
Copy code
httpx.RemoteProtocolError: Server disconnected without sending a response.
while inserting data. I am on PRO plan but I get too many exception like below while inserting rows.
Copy code
File "/home/ak4zh/CodeProjects/updater/main.py", line 177, in insert_data
    return supabase.table(table_name).insert(json=json_data, upsert=upsert).execute()
  File "/home/ak4zh/CodeProjects/updater/venv/lib/python3.10/site-packages/postgrest_py/_sync/request_builder.py", line 35, in execute
    r = self.session.request(
  File "/home/ak4zh/CodeProjects/updater/venv/lib/python3.10/site-packages/httpx/_client.py", line 802, in request
    return self.send(request, auth=auth, follow_redirects=follow_redirects)
  File "/home/ak4zh/CodeProjects/updater/venv/lib/python3.10/site-packages/httpx/_client.py", line 889, in send
    response = self._send_handling_auth(
  File "/home/ak4zh/CodeProjects/updater/venv/lib/python3.10/site-packages/httpx/_client.py", line 917, in _send_handling_auth
    response = self._send_handling_redirects(
  File "/home/ak4zh/CodeProjects/updater/venv/lib/python3.10/site-packages/httpx/_client.py", line 954, in _send_handling_redirects
    response = self._send_single_request(request)
  File "/home/ak4zh/CodeProjects/updater/venv/lib/python3.10/site-packages/httpx/_client.py", line 990, in _send_single_request
    response = transport.handle_request(request)
  File "/home/ak4zh/CodeProjects/updater/venv/lib/python3.10/site-packages/httpx/_transports/default.py", line 203, in handle_request
    with map_httpcore_exceptions():
  File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/home/ak4zh/CodeProjects/updater/venv/lib/python3.10/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.RemoteProtocolError: Server disconnected without sending a response.
n
Hello @ak4zh! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
g
I would contact support if you have not already. DId you change something recently that might be a clue?
11 Views