Didn't deploy Telegram_bot

I try to deploy my bot created on Node JS, but after “in progress” it avoids ‘failed - Time out’.

My logs:
May 7 10:12:44 PM ==> Cloning from GitHub - Oleh-Kliapko/TelegramGPT_Bot: Chat-bot in Telegram that using OpenAI
May 7 10:12:44 PM ==> Checking out commit 32c0f4542d86ad2a748f0a121178bbd9c645c8a8 in branch main
May 7 10:12:47 PM ==> Running build command ‘npm install’…
May 7 10:12:55 PM
May 7 10:12:55 PM > @ffmpeg-installer/linux-x64@4.1.0 postinstall /opt/render/project/src/node_modules/@ffmpeg-installer/linux-x64
May 7 10:12:55 PM > chmod u+x ffmpeg
May 7 10:12:55 PM
May 7 10:12:55 PM added 74 packages from 79 contributors and audited 82 packages in 7.99s
May 7 10:12:55 PM
May 7 10:12:55 PM 4 packages are looking for funding
May 7 10:12:55 PM run npm fund for details
May 7 10:12:55 PM
May 7 10:12:55 PM found 0 vulnerabilities
May 7 10:12:55 PM
May 7 10:12:57 PM ==> Uploading build…
May 7 10:13:04 PM ==> Build uploaded in 7s
May 7 10:13:04 PM ==> Build successful :tada:
May 7 10:13:04 PM ==> Deploying…
May 7 10:13:29 PM ==> Starting service with ‘npm start’
May 7 10:13:32 PM
May 7 10:13:32 PM > telegramgpt_bot@1.0.0 start /opt/render/project/src
May 7 10:13:32 PM > cross-env NODE_ENV=production node ./scr/app.js
May 7 10:13:32 PM

Hi,

To run a bot on Render, there are a bunch of things that you probably need to know.

Bots are best deployed to us using a Background Worker - these run persistently in the background and don’t expose any web server however, these service types aren’t available with a free instance type.

If you try and run a bot via a Web Service, the deployment will probably fail, typically about 10 minutes after you’ve deployed it, and sometimes there are scenarios where 2 may be running for a period of time, this is down to our zero-downtime feature and not something that can be disabled.

Kind regards

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.