hubot-rocketchat
hubot-rocketchat copied to clipboard
The hubot does't connect with EC2 server using HTTP
Hello!
I have an EC2 instance running rocket.chat and I'm having problems for connecting a bot (hubot) into the instance, it is pending the connection with the remote host.
I have the log of hubot:
INFO Starting Rocketchat adapter....
INFO Once connected to rooms I will respond to the name: hubot
INFO Connecting To: ec2-88-819-137-174.us-east-2.compute.amazonaws.com
I can authenticate using cURL. The authentication use LDAP. I open all ports and firewall is disabled. In browser, the websocket is connected.
My server was created with Ubuntu Server 18.04 LTS. Rocket Chat Server was installed with snap.
Rocket version is: 2.4.2 Apps Engine: 1.11.0 Hash: d57a64dee62fbf8abff75006903628a1001312ec
Hubot using Docker image rocketchat/hubot-rocketchat:latest My params for running the container:
sudo docker run --restart always --name hubot-it -e ROCKETCHAT_URL=ec2-88-819-137-174.us-east-2.compute.amazonaws.com -e ROCKETCHAT_USER=hubot -e ROCKETCHAT_PASSWORD=hubot -e ROCKETCHAT_AUTH=ldap -e BOT_NAME=hubot -e ROCKETCHAT_ROOM='' docker pull rocketchat/hubot-rocketchat:latest
Please, any suggestion?