Gateway connection Error, code=503

I got below error while placing an order through kite connect around 10:00-10:30 today. Need guidance on resolving this so that it doesn't happen in future.

Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\kiteconnect\", line 518, in _request
File "C:\ProgramData\Anaconda3\lib\site-packages\requests\", line 56, in request
return session.request(method=method, url=url, **kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\requests\", line 488, in request
resp = self.send(prep, **send_kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\requests\", line 609, in send
r = adapter.send(request, **kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\requests\", line 497, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\", line 916, in _bootstrap_inner
File "C:\ProgramData\Anaconda3\lib\", line 864, in run
self._target(*self._args, **self._kwargs)
File "E:\Stocks\Algo Trading\Python Programs\Screen_Logic\", line 27, in execute
product = 'CNC'
File "C:\ProgramData\Anaconda3\lib\site-packages\kiteconnect\", line 286, in order_place
return self._post("", params)["order_id"]
File "C:\ProgramData\Anaconda3\lib\site-packages\kiteconnect\", line 467, in _post
return self._request(route, "POST", params)
File "C:\ProgramData\Anaconda3\lib\site-packages\kiteconnect\", line 520, in _request
raise ex.ClientNetworkException("Gateway connection error", code=503)
kiteconnect.exceptions.ClientNetworkException: Gateway connection error

This discussion has been closed.