Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

Polling error when running #2

Open
bicep opened this issue Dec 18, 2018 · 5 comments
Open

Polling error when running #2

bicep opened this issue Dec 18, 2018 · 5 comments

Comments

@bicep
Copy link

bicep commented Dec 18, 2018

When running node index.js, one gets the following error:

error: [polling_error] {"code":"ETELEGRAM","message":"ETELEGRAM: 409 Conflict: terminated by other getUpdates request; make sure that only one bot instance is running"}

Possibly because it is currently being deployed? Also, when I actually type /start in telegram CoderBot does not reply.

@bicep bicep changed the title Polling error, changing bot authentication token Polling error when running Dec 18, 2018
@Bhupesh-V
Copy link
Owner

Bhupesh-V commented Dec 19, 2018

@bicep You are right
Only one instance of bot can be active at one time ,with its own Token
[you may generate a temporary token of yours from BotFather

Regarding the /start , Its sending replies slowly
I guess there is an error with the deployment.
I will look into it
[Meanwhile you can debug the bot with your own token ]

Thanks for telling me about that 👍

@bicep
Copy link
Author

bicep commented Dec 20, 2018

@Bhupesh-V How does one generate a temporary token with Botfather? All the tutorials only show how to get a new token for a new bot, but not a temporary one for an existing bot.

@bicep bicep closed this as completed Dec 20, 2018
@bicep bicep reopened this Dec 20, 2018
@Bhupesh-V
Copy link
Owner

Hey @bicep You may generate a new token
It will work fine for the local instance of the Bot

@bicep
Copy link
Author

bicep commented Dec 22, 2018

Hi @Bhupesh-V There's no way for me to generate a token because I do not own CoderBot. Only you can do that I think (perhaps I'm wrong on this).

@bicep
Copy link
Author

bicep commented Dec 22, 2018

Perhaps you can generate a new token for me to work on..?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants