Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why doesnt my configuration work when using tennu in lib mode? #59

Open
VictorioBerra opened this issue Nov 6, 2015 · 4 comments
Open
Labels

Comments

@VictorioBerra
Copy link
Contributor

myNetwork.conf:

{
    "server": "Prothid.NY.US.GameSurge.Net",
    "password": null,
    "TLS":true,
    "port": 6697,
    "daemon": "irc2",
    "nicknames": ["BLTBot"],
    "username": "blt",
    "realname": "BLTBot in tennu",
    "channels": ["#devchannel"],
    "nickserv": "nickserv",
    "auth-password": null,
    "command-trigger": "!",
    "disable-help": false
}

Index.js

var tennu = require('tennu');

var network = require('./config/myNetwork.json'); // See next section

var myClient = tennu.Client(network);

myClient.connect();

Error:

2015-11-06T21:51:37.789Z - notice: Tennu Connected
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: read ECONNRESET
    at exports._errnoException (util.js:860:11)
    at TCP.onread (net.js:544:26)
@Havvy Havvy added the question label Nov 19, 2015
@Havvy
Copy link
Member

Havvy commented Nov 19, 2015

Is this still happening?

@VictorioBerra
Copy link
Contributor Author

ownix@WalnutPi ~/Cloud9/tennu-testing $ npm update
[email protected] /home/ownix/Cloud9/tennu-testing
└── [email protected] 

ownix@WalnutPi ~/Cloud9/tennu-testing $ node index.js 
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: read ECONNRESET
    at exports._errnoException (util.js:860:11)
    at TCP.onread (net.js:544:26)

@Havvy Havvy added bug and removed bug labels Nov 21, 2015
@Havvy
Copy link
Member

Havvy commented Jan 11, 2016

Because TLS is true, and TLS is busted because I apparently don't know how to use TLS.

@VictorioBerra
Copy link
Contributor Author

I dont understand it either. Let me know if you get this figured out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants