2026-02-27 04:02:29,928 - Infinity polling exception: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 04:02:29,934 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ TimeoutError: The read operation timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 39, in reraise raise value File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 536, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 367, in _raise_timeout raise ReadTimeoutError( self, url, f"Read timed out. (read timeout={timeout_value})" ) from err urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 690, in send raise ReadTimeout(e, request=request) requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 04:22:52,443 - Infinity polling exception: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 04:22:52,461 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 38, in reraise raise value.with_traceback(tb) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 659, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 04:30:26,354 - Infinity polling exception: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 04:30:26,378 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ TimeoutError: The read operation timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 39, in reraise raise value File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 536, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 367, in _raise_timeout raise ReadTimeoutError( self, url, f"Read timed out. (read timeout={timeout_value})" ) from err urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 690, in send raise ReadTimeout(e, request=request) requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 04:37:17,807 - Infinity polling exception: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 04:37:17,830 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ TimeoutError: The read operation timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 39, in reraise raise value File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 536, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 367, in _raise_timeout raise ReadTimeoutError( self, url, f"Read timed out. (read timeout={timeout_value})" ) from err urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 690, in send raise ReadTimeout(e, request=request) requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 04:52:27,824 - Infinity polling exception: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 04:52:27,846 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 38, in reraise raise value.with_traceback(tb) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 659, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 05:09:02,389 - Infinity polling exception: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 05:09:02,400 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 38, in reraise raise value.with_traceback(tb) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 659, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 05:16:48,168 - Infinity polling exception: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 05:16:48,187 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ TimeoutError: The read operation timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 39, in reraise raise value File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 536, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 367, in _raise_timeout raise ReadTimeoutError( self, url, f"Read timed out. (read timeout={timeout_value})" ) from err urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 690, in send raise ReadTimeout(e, request=request) requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 05:17:59,185 - Infinity polling exception: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 05:17:59,207 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 38, in reraise raise value.with_traceback(tb) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 659, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 05:21:28,963 - Infinity polling exception: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 05:21:28,987 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ TimeoutError: The read operation timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 39, in reraise raise value File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 536, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 367, in _raise_timeout raise ReadTimeoutError( self, url, f"Read timed out. (read timeout={timeout_value})" ) from err urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 690, in send raise ReadTimeout(e, request=request) requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 05:27:56,154 - Infinity polling exception: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 05:27:56,171 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 38, in reraise raise value.with_traceback(tb) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 659, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 05:55:38,109 - Infinity polling exception: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 05:55:38,130 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 38, in reraise raise value.with_traceback(tb) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 659, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 06:01:08,331 - Infinity polling exception: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 06:01:08,340 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ TimeoutError: The read operation timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 39, in reraise raise value File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 536, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 367, in _raise_timeout raise ReadTimeoutError( self, url, f"Read timed out. (read timeout={timeout_value})" ) from err urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 690, in send raise ReadTimeout(e, request=request) requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 06:10:04,923 - Infinity polling exception: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 06:10:04,940 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ TimeoutError: The read operation timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 39, in reraise raise value File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 536, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 367, in _raise_timeout raise ReadTimeoutError( self, url, f"Read timed out. (read timeout={timeout_value})" ) from err urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 690, in send raise ReadTimeout(e, request=request) requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 06:15:25,721 - Infinity polling exception: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 06:15:25,730 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ TimeoutError: The read operation timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 39, in reraise raise value File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 536, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 367, in _raise_timeout raise ReadTimeoutError( self, url, f"Read timed out. (read timeout={timeout_value})" ) from err urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 690, in send raise ReadTimeout(e, request=request) requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 06:19:37,100 - Infinity polling exception: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 06:19:37,116 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 38, in reraise raise value.with_traceback(tb) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 659, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 06:20:01,198 - Infinity polling exception: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot8644696872:***********************************/getUpdates?offset=662992458&timeout=30 (Caused by ConnectTimeoutError(, 'Connection to api.telegram.org timed out. (connect timeout=60)')) 2026-02-27 06:20:01,217 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 204, in _new_conn sock = connection.create_connection( (self._dns_host, self.port), ...<2 lines>... socket_options=self.socket_options, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\connection.py", line 85, in create_connection raise err File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\connection.py", line 73, in create_connection sock.connect(sa) ~~~~~~~~~~~~^^^^ TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 488, in _make_request raise new_e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 464, in _make_request self._validate_conn(conn) ~~~~~~~~~~~~~~~~~~~^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 1093, in _validate_conn conn.connect() ~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 759, in connect self.sock = sock = self._new_conn() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 213, in _new_conn raise ConnectTimeoutError( ...<2 lines>... ) from e urllib3.exceptions.ConnectTimeoutError: (, 'Connection to api.telegram.org timed out. (connect timeout=60)') The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 535, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot8644696872:***********************************/getUpdates?offset=662992458&timeout=30 (Caused by ConnectTimeoutError(, 'Connection to api.telegram.org timed out. (connect timeout=60)')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 665, in send raise ConnectTimeout(e, request=request) requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot8644696872:***********************************/getUpdates?offset=662992458&timeout=30 (Caused by ConnectTimeoutError(, 'Connection to api.telegram.org timed out. (connect timeout=60)')) 2026-02-27 06:20:25,290 - Infinity polling exception: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot8644696872:***********************************/getUpdates?offset=662992458&timeout=30 (Caused by ConnectTimeoutError(, 'Connection to api.telegram.org timed out. (connect timeout=60)')) 2026-02-27 06:20:25,312 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 204, in _new_conn sock = connection.create_connection( (self._dns_host, self.port), ...<2 lines>... socket_options=self.socket_options, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\connection.py", line 85, in create_connection raise err File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\connection.py", line 73, in create_connection sock.connect(sa) ~~~~~~~~~~~~^^^^ TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 488, in _make_request raise new_e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 464, in _make_request self._validate_conn(conn) ~~~~~~~~~~~~~~~~~~~^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 1093, in _validate_conn conn.connect() ~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 759, in connect self.sock = sock = self._new_conn() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 213, in _new_conn raise ConnectTimeoutError( ...<2 lines>... ) from e urllib3.exceptions.ConnectTimeoutError: (, 'Connection to api.telegram.org timed out. (connect timeout=60)') The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 535, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot8644696872:***********************************/getUpdates?offset=662992458&timeout=30 (Caused by ConnectTimeoutError(, 'Connection to api.telegram.org timed out. (connect timeout=60)')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 665, in send raise ConnectTimeout(e, request=request) requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot8644696872:***********************************/getUpdates?offset=662992458&timeout=30 (Caused by ConnectTimeoutError(, 'Connection to api.telegram.org timed out. (connect timeout=60)')) 2026-02-27 06:25:16,854 - Infinity polling exception: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 06:25:16,870 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ TimeoutError: The read operation timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 39, in reraise raise value File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 536, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 367, in _raise_timeout raise ReadTimeoutError( self, url, f"Read timed out. (read timeout={timeout_value})" ) from err urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 690, in send raise ReadTimeout(e, request=request) requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 06:26:23,920 - Infinity polling exception: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 06:26:23,940 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 38, in reraise raise value.with_traceback(tb) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 659, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 06:27:25,491 - Infinity polling exception: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 06:27:25,503 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 38, in reraise raise value.with_traceback(tb) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 659, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 06:30:28,506 - Infinity polling exception: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 06:30:28,528 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 38, in reraise raise value.with_traceback(tb) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 659, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 06:33:17,202 - Infinity polling exception: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 06:33:17,216 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 38, in reraise raise value.with_traceback(tb) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 659, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 06:42:31,631 - Infinity polling exception: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 06:42:31,644 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 38, in reraise raise value.with_traceback(tb) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 659, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 06:43:32,983 - Infinity polling exception: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 06:43:33,009 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 38, in reraise raise value.with_traceback(tb) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 659, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 06:46:53,244 - Infinity polling exception: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 06:46:53,260 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ TimeoutError: The read operation timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 39, in reraise raise value File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 536, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 367, in _raise_timeout raise ReadTimeoutError( self, url, f"Read timed out. (read timeout={timeout_value})" ) from err urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 690, in send raise ReadTimeout(e, request=request) requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 06:47:17,359 - Infinity polling exception: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot8644696872:***********************************/getUpdates?offset=662992458&timeout=30 (Caused by ConnectTimeoutError(, 'Connection to api.telegram.org timed out. (connect timeout=60)')) 2026-02-27 06:47:17,380 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 204, in _new_conn sock = connection.create_connection( (self._dns_host, self.port), ...<2 lines>... socket_options=self.socket_options, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\connection.py", line 85, in create_connection raise err File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\connection.py", line 73, in create_connection sock.connect(sa) ~~~~~~~~~~~~^^^^ TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 488, in _make_request raise new_e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 464, in _make_request self._validate_conn(conn) ~~~~~~~~~~~~~~~~~~~^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 1093, in _validate_conn conn.connect() ~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 759, in connect self.sock = sock = self._new_conn() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 213, in _new_conn raise ConnectTimeoutError( ...<2 lines>... ) from e urllib3.exceptions.ConnectTimeoutError: (, 'Connection to api.telegram.org timed out. (connect timeout=60)') The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 535, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot8644696872:***********************************/getUpdates?offset=662992458&timeout=30 (Caused by ConnectTimeoutError(, 'Connection to api.telegram.org timed out. (connect timeout=60)')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 665, in send raise ConnectTimeout(e, request=request) requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot8644696872:***********************************/getUpdates?offset=662992458&timeout=30 (Caused by ConnectTimeoutError(, 'Connection to api.telegram.org timed out. (connect timeout=60)')) 2026-02-27 06:49:16,319 - Infinity polling exception: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 06:49:16,329 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 38, in reraise raise value.with_traceback(tb) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 659, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 06:51:35,870 - Infinity polling exception: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 06:51:35,883 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ TimeoutError: The read operation timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 39, in reraise raise value File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 536, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 367, in _raise_timeout raise ReadTimeoutError( self, url, f"Read timed out. (read timeout={timeout_value})" ) from err urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 690, in send raise ReadTimeout(e, request=request) requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 13:45:45,443 - Infinity polling exception: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 13:45:45,456 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 38, in reraise raise value.with_traceback(tb) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 659, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)) 2026-02-27 21:21:28,745 - Infinity polling exception: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 21:21:28,750 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ TimeoutError: The read operation timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 39, in reraise raise value File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 536, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 367, in _raise_timeout raise ReadTimeoutError( self, url, f"Read timed out. (read timeout={timeout_value})" ) from err urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 690, in send raise ReadTimeout(e, request=request) requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 22:46:55,808 - Infinity polling exception: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) 2026-02-27 22:46:55,818 - Exception traceback: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 534, in _make_request response = conn.getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connection.py", line 571, in getresponse httplib_response = super().getresponse() File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 1430, in getresponse response.begin() ~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 331, in begin version, status, reason = self._read_status() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\http\client.py", line 292, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 719, in readinto return self._sock.recv_into(b) ~~~~~~~~~~~~~~~~~~~~^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1304, in recv_into return self.read(nbytes, buffer) ~~~~~~~~~^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\ssl.py", line 1138, in read return self._sslobj.read(len, buffer) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ TimeoutError: The read operation timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 644, in send resp = conn.urlopen( method=request.method, ...<9 lines>... chunked=chunked, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen retries = retries.increment( method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\util\util.py", line 39, in reraise raise value File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen response = self._make_request( conn, ...<10 lines>... **response_kw, ) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 536, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py", line 367, in _raise_timeout raise ReadTimeoutError( self, url, f"Read timed out. (read timeout={timeout_value})" ) from err urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1110, in infinity_polling self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates, restart_on_change=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *args, **kwargs) ^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1198, in polling self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout, ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ logger_level=logger_level, allowed_updates=allowed_updates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1273, in __threaded_polling raise e File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 1234, in __threaded_polling polling_thread.raise_exceptions() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 115, in raise_exceptions raise self.exception_info File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\util.py", line 97, in run task(*args, **kwargs) ~~~~^^^^^^^^^^^^^^^^^ File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 688, in __retrieve_updates updates = self.get_updates(offset=(self.last_update_id + 1), allowed_updates=allowed_updates, timeout=timeout, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\__init__.py", line 660, in get_updates json_updates = apihelper.get_updates( self.token, offset=offset, limit=limit, timeout=timeout, allowed_updates=allowed_updates, long_polling_timeout=long_polling_timeout) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 339, in get_updates return _make_request(token, method_url, params=payload) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\telebot\apihelper.py", line 162, in _make_request result = _get_req_session().request( method, request_url, params=params, files=files, timeout=(connect_timeout, read_timeout), proxies=proxy) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "C:\Users\Nugraha-PC\AppData\Local\Programs\Python\Python313\Lib\site-packages\requests\adapters.py", line 690, in send raise ReadTimeout(e, request=request) requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=60)