Ask coding questions

← Back to all posts
can any one help me to fix this ?
Nourlb (0)

Traceback (most recent call last):
File "", line 272, in <module>
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/telebot/", line 619, in polling
self.threaded_polling(none_stop, interval, timeout, long_polling_timeout, allowed_updates)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/telebot/", line 678, in threaded_polling
raise e
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/telebot/", line 641, in threaded_polling
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/telebot/", line 130, in raise_exceptions
raise self.exception_info
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/telebot/", line 82, in run
task(*args, **kwargs)
File "", line 96, in start
bot.send_photo(chat_id, my_photo)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/telebot/", line 1029, in send_photo
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/telebot/", line 455, in send_photo
return _make_request(token, method_url, params=payload, files=files, method='post')
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/telebot/", line 129, in _make_request
result = _get_req_session().request(
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/requests/", line 542, in request
resp = self.send(prep, send_kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/requests/", line 655, in send
r = adapter.send(request,
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/requests/", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))f

HackermonDev (2076)

The repl is private so we can't help you.

Nourlb (0)

Thanks For reply done check now

FlappyTheBat (6)

Could you give me access to the code or (preferably) make it public?

OlauPla (162)

Hello! I would love to help but, I can't see the code

Nourlb (0)

Thanks For reply done check now @OlauPla

OlauPla (162)

Sorry can't help you I don't have time rn @Nourlb