GithubHelp home page GithubHelp logo

rocketchat-irc-gateway's Introduction

Lemmmy Donate on PayPal

I'm Lemmmy. I create software as a hobby, with a variety of ongoing projects such as KanjiSchool, KristWeb, goscribe, and many Tetris-related programs. I also host and maintain the SwitchCraft ComputerCraft server, the ComputerCraft Wiki and Forums, and much more.

rocketchat-irc-gateway's People

Contributors

lemmmy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

rocketchat-irc-gateway's Issues

Socket closes immediately after connection

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.

Any ideas?

debug logs

[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)

.env config

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=

EDIT: added trace results to log above

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.