Deployment problem away no work


why my deploying away not complete i try maybe 7 times but away no work

4T07:05:26Z info: Build: be676a97-61b0-44a8-a8ef-873d98631ae0
2024-01-04T07:05:26Z info: Connecting to builder
2024-01-04T07:05:30Z info: Builder connected
2024-01-04T07:05:31Z info: Installing packages
2024-01-04T07:05:32Z info: Skipping Build as no Build command set
2024-01-04T07:05:32Z info: Pushing pid1 binary layer...
2024-01-04T07:05:37Z info: Skipping Python layer creation
2024-01-04T07:05:37Z info: Skipping Node layer creation
2024-01-04T07:05:37Z info: Pushing Repl layer...
2024-01-04T07:05:37Z info: Pushing hosting layer...
2024-01-04T07:05:37Z info: Retrieved cached nix layer
2024-01-04T07:05:38Z info: Created hosting layer
2024-01-04T07:05:38Z info: Created pid1 binary layer
2024-01-04T07:06:00Z info: Created Repl layer
2024-01-04T07:06:01Z info: Pushed image manifest
2024-01-04T07:06:02Z info: Pushed soci index manifest
2024-01-04T07:06:02Z info: Pushed referrer manifest
2024-01-04T07:06:09Z info: Creating Autoscale service
starting up user application
    json_result = _check_result(method_name, result)
Traceback (most recent call last):
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/apihelper.py", line 164, in _make_request
2024-01-04 07:06:38,907 (__init__.py:1090 MainThread) ERROR - TeleBot: "Exception traceback:
2024-01-04 07:06:38,907 (__init__.py:1088 MainThread) ERROR - TeleBot: "Threaded polling exception: A request to the Telegram API was unsuccessful. Error code: 409. Description: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running"
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/__init__.py", line 651, in __retrieve_updates
    return _make_request(token, method_url, params=payload)
    raise ApiTelegramException(method_name, result, result_json)
    json_result = _check_result(method_name, result)
    return _make_request(token, method_url, params=payload)
Traceback (most recent call last):
    updates = self.get_updates(offset=(self.last_update_id + 1),
"
    polling_thread.raise_exceptions()
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/util.py", line 90, in run
    raise ApiTelegramException(method_name, result, result_json)
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/util.py", line 108, in raise_exceptions
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/__init__.py", line 651, in __retrieve_updates
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/apihelper.py", line 191, in _check_result
    raise self.exception_info
    return _make_request(token, method_url, params=payload)
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/util.py", line 90, in run
    polling_thread.raise_exceptions()
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/__init__.py", line 1081, in __threaded_polling
    task(*args, **kwargs)
2024-01-04 07:06:47,736 (__init__.py:1088 MainThread) ERROR - TeleBot: "Threaded polling exception: A request to the Telegram API was unsuccessful. Error code: 409. Description: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running"
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/__init__.py", line 625, in get_updates
Traceback (most recent call last):
2024-01-04 07:06:47,738 (__init__.py:1090 MainThread) ERROR - TeleBot: "Exception traceback:
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/util.py", line 108, in raise_exceptions
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/__init__.py", line 651, in __retrieve_updates
    json_result = _check_result(method_name, result)
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/util.py", line 108, in raise_exceptions
    task(*args, **kwargs)
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/apihelper.py", line 323, in get_updates
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/util.py", line 90, in run
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/__init__.py", line 1081, in __threaded_polling
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/apihelper.py", line 164, in _make_request
    raise ApiTelegramException(method_name, result, result_json)
    updates = self.get_updates(offset=(self.last_update_id + 1),
"
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/apihelper.py", line 323, in get_updates
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/util.py", line 90, in run
    raise ApiTelegramException(method_name, result, result_json)
2024-01-04 07:06:59,742 (__init__.py:1088 MainThread) ERROR - TeleBot: "Threaded polling exception: A request to the Telegram API was unsuccessful. Error code: 409. Description: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running"
Traceback (most recent call last):
2024-01-04 07:06:59,742 (__init__.py:1090 MainThread) ERROR - TeleBot: "Exception traceback:
    task(*args, **kwargs)
    json_result = _check_result(method_name, result)
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/apihelper.py", line 191, in _check_result
telebot.apihelper.ApiTelegramException: A request to the Telegram API was unsuccessful. Error code: 409. Description: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
    task(*args, **kwargs)
"
    raise self.exception_info
    updates = self.get_updates(offset=(self.last_update_id + 1),
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/__init__.py", line 1081, in __threaded_polling
  File "/home/runner/b1ac14c5-9dcc-4738-ad6b-a6464e84efbb/.pythonlibs/lib/python3.10/site-packages/telebot/__init__.py", line 651, in __retrieve_updates
2024-01-04 07:07:12,024 (__init__.py:1090 MainThread) ERROR - TeleBot: "Exception traceback:
    json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates, long_polling_timeout)
    json_result = _check_result(method_name, result)
hostingpid1: an open port was not detected
2024-01-04T07:07:29Z error: The deployment failed to initialize due to a configuration or code error. Check the logs tab for more information. For additional support, please post on https://ask.replit.com/c/help/13 and a staff member will take a look.

Hi @iloveyou160521LOVEOw !
If your repl is a bot, try deploying it as a Reserved VM > Background worker.
If not, could you share the link to your repl?
Hope this helps!


choose this : Autoscale Meet demand exactly ? or other

my bot telegram choose this but some bot away working 24/7 and some bot not working 24/7

Autoscale is not suitable for bots, as they will turn off. You need to use a Reserved VM.

1 Like

But VM only paid so i spend money every month for my bot telegram ?

Yes. That’s right. Deployments other than static ones are paid.

that’s mean core is useless

I don’t have a Core plan, so I can’t tell you my opinion on this. You can see the comparison table for free and Core plans on the pricing page: https://replit.com/pricing

i have a core plan and now it’s useless because i have to pay again for VM to run my bots 0_0

1 Like

Not really. All Deployments are paid (for Static if you go over the egress limits) but Core allows you to have some of it free (for Autoscale, and Static as Core gives you a higher egress limit).

1 Like

True in some respect, you can get “free” Autoscale and Static if you have the Core plan (Autoscale has compute units and Static is free until you hit your Egress limit), Reserved VM is the only deployment you have to pay externally and can’t just use a plan for.

1 Like

Looks like this update is not very good for developer bot telegram Previously I used Flask I just request url link for 5 minutes once it works 24/7 I just bought a Plan to make the file code private but now I have to spend money to buy a plan and spend money again to buy a VM . For example, if I have a Telegram × 30 bot, do I have to spend money to buy a VM 30 times?

1 Like

problem one more .
when i want edit my code bot telegram it’s not save if i want save need stop deploy !!! but something deploy away not success

I choose a scalable membership and expect it to be open 24/7 when I deploy my code. Whatever my code or product is. But now I understand that if I am developing a bot, this plan does not work. This situation is ridiculous. You had to show that there was such a restriction in the first place. We would either get membership or not get membership accordingly. You are treating people like fools. Give my money back!

You can deploy a bot using the Reserved VM > Background worker option. It makes the bot be 99.99% uptime.

2 Likes