The situation is this:
Make bot for the VC group, the project installed the following modules:
- express io
Use Callback API Vkontakte for continuous support of the work of the bot.
Bot works successfully using ngrok but on heroku somehow gives an application error and the VC server it says I need the server returned a wrong answer.
While using Long Polling API, all worked.
Token and confirmation prescribed in the bot object.
UDP: the issue has been resolved by changing the port in process.env.PORT || 3000;