I can't seem to figure out why the socket closes immediately after my test user connects to the gateway. It doesn't have an opportunity to talk to rocket.chat.
[2019-07-10 23:08:48 info] Starting rocketchat-irc-gateway
[2019-07-10 23:08:48 debug] Added packet handlers: AUTHENTICATE, CAP, JOIN, NAMES, NICK, PART, PASS, PING, PONG, PRIVMSG, WHO
[2019-07-10 23:08:48 debug] Added packet senders: error, noSuchChannelError, join, kill, namesReply, namesEnd, notice, part, passMismatchError, ping, pong, privmsg, topic, welcome, whoReply, whoEnd
[2019-07-10 23:08:48 info] Started insecure server on port 6667
[2019-07-10 23:08:48 info] Webserver listening on port 6660
[2019-07-10 23:08:52 info] Incoming connection ::ffff:192.168.1.5:61904
[2019-07-10 23:08:52 info] User testuser registered
[2019-07-10 23:08:52 debug] Added attachment handlers: file
[2019-07-10 23:08:52 debug] Added message handlers: room_changed_announcement, basic, room_changed_description, uj, ul, room_changed_topic
[2019-07-10 23:08:52 trace] Message {
prefix: { server: null, nick: null, user: null, host: null ,
command: 'QUIT',
parameters: [ 'Leaving.', [length]: 1 ]
[2019-07-10 23:08:52 info] User testuser disconnecting (socket state: open)
[2019-07-10 23:08:52 info] User testuser disconnecting (socket state: closed)
LOG_LEVEL=trace
#RocketChat
ROCKETCHAT_HOST=rc.domain.com
ROCKETCHAT_PORT=443
ROCKETCHAT_SECURE=true
#IRC Gateway
SERVER_HOST=irc.rc.domain.com
SERVER_PORT=6667
#SERVER_SECURE=
#SERVER_SECURE_PORT=
#SERVER_KEY=
#SERVER_CERT=
#SERVER_CA=
#SERVER_SELF_SIGNED=
#Web Server, public NAT to 6660
WEBSERVER_URL=http://ircpub.rc.domain.com:5320
WEBSERVER_PORT=6660
#Redis Server
REDIS_ENABLED=false
#REDIS_URL=
#FILE_CACHE_MAX_AGE=