ebeneditos / telegram.bot

Develop a Telegram Bot with R
https://ebeneditos.github.io/telegram.bot/
GNU General Public License v3.0
108 stars 24 forks source link

updater$start_polling(clean = TRUE) #10

Closed Michel2868 closed 5 years ago

Michel2868 commented 5 years ago

Please choose one of the following and fill the appropriate field:

Bug Report

Actual Behavior

Hi guys, I'm having this error message on my bot, it happens occasionally, does anyone know what it can be?

When I call updater$start_polling(clean = TRUE)

Error in curl::curl_fetch_memory(url, handle = handle) : schannel: next InitializeSecurityContext failed: SEC_E_INVALID_TOKEN (0x80090308) - O token fornecido para a função é inválido (The token provided for an invalid function)

ebeneditos commented 5 years ago

Hi Michel! Thanks for your bug report. I have been testing the package for a while but did not get any error.

Could you please share an example for which this error occurs?

ebeneditos commented 5 years ago

I have been looking around and it seems this issue was posted at jeroen's curl repo. Perhaps this helps.

Michel2868 commented 5 years ago

Thanks for the contribution. But it does not. What happens, I do a test sending about 50 messages and after answering some of these messages it crashes giving this error. I can only resolve when I restart R studio

ebeneditos commented 5 years ago

Could you please share a basic example for which this error occurs?

ebeneditos commented 5 years ago

Closing issue due to inactivity. We will kindly re-open it if further information is provided.