Remote end connection closed without response

Trying to get 1000 day candles but got this

Traceback (most recent call last):
File “/home/jzyprince/abc/examples/timer.py”, line 1372, in sub_start_batch
day_candles_dic = get_sorted_day_candles(trade_station_client, symbols_hour_bull + symbols_hour_bear, 650, True, use_polygon, polygon_client, use_alpaca, alpaca_client, batch_get)
File “/home/jzyprince/abc/examples/timer.py”, line 218, in get_sorted_day_candles
day_candles0 = alpaca_client.get_bars(
File “/home/jzyprince/.local/lib/python3.9/site-packages/alpaca_trade_api/rest.py”, line 714, in get_bars
bars = list(self.get_bars_iter(symbol,
File “/home/jzyprince/.local/lib/python3.9/site-packages/alpaca_trade_api/rest.py”, line 698, in get_bars_iter
for bar in bars:
File “/home/jzyprince/.local/lib/python3.9/site-packages/alpaca_trade_api/rest.py”, line 585, in _data_get
resp = self.data_get(path, data=data, feed=feed,
File “/home/jzyprince/.local/lib/python3.9/site-packages/alpaca_trade_api/rest.py”, line 270, in data_get
return self._request(
File “/home/jzyprince/.local/lib/python3.9/site-packages/alpaca_trade_api/rest.py”, line 213, in _request
return self._one_request(method, url, opts, retry)
File “/home/jzyprince/.local/lib/python3.9/site-packages/alpaca_trade_api/rest.py”, line 232, in _one_request
resp = self._session.request(method, url, **opts)
File “/home/jzyprince/.local/lib/python3.9/site-packages/requests/sessions.py”, line 587, in request
resp = self.send(prep, **send_kwargs)
File “/home/jzyprince/.local/lib/python3.9/site-packages/requests/sessions.py”, line 701, in send
r = adapter.send(request, **kwargs)
File “/home/jzyprince/.local/lib/python3.9/site-packages/requests/adapters.py”, line 547, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: (‘Connection aborted.’, RemoteDisconnected(‘Remote end closed connection without response’))

(‘Connection aborted.’, RemoteDisconnected(‘Remote end closed connection without response’))