Closed 1mgtheboss closed 7 years ago
The Emoji bot is working. The Hello World bot and the DevNet bot are not working.
Hi @MGTHEBOSS
The issue seems to be related to the formatting of the bot public URL
Here is the code responsible for the issue
var endpoint = url.parse(controller.config.public_address);
if (!endpoint.hostname) {
throw new Error('Could not determine hostname of public address: ' + controller.config.public_address);
}
Can you paste the command line you're using to launch the bot, and your platform OS?
Note that the emojibot is implemented via WebSockets. As such it does not need ngrok nor PUBLIC_URL env variable. Confirms the issue comes from the PUBLIC_URL .
I'm on windows 7 professional cmd.
Reproduced on Win7, with DOS shell. Must remove the quotes on the command line => doc updated. Thank you @MGTHEBOSS
I am trying to run the Hello World bot. I am getting an error at the last step,
node helloworld.js
. I am running ngrok as,ngrok http 3000
orngrok http 8080
.