chooper / erlbot Goto Github PK
View Code? Open in Web Editor NEWYet another Erlang IRC bot
Yet another Erlang IRC bot
I joined IRC today to find the bot on the server but not in its channel.
10:01 -!- mynameiserl [~mynameise@XXX] has quit [Ping timeout: 240 seconds]
Its last logs aren't very helpful:
01:35:39.185 [debug] Prefix '"XXX"' Command '"353"' Args '["mynameiserl","=","#hello","@urlcatcher @cubed @lam @penni @mynameiserl @hoop @japherwocky @zz__"]'^M
01:35:39.185 [debug] Unhandled message: {irc_strings,"XXX","353",["mynameiserl","=","#hello","@urlcatcher @cubed @lam @penni @mynameiserl @hoop @japherwocky @zz__"]}^M
01:35:39.185 [debug] Prefix '"XXX"' Command '"366"' Args '["mynameiserl","#hello","End of /NAMES list."]'^M
01:35:39.185 [debug] Unhandled message: {irc_strings,"XXX","366",["mynameiserl","#hello","End of /NAMES list."]}^M
01:37:44.179 [debug] Prefix '[]' Command '"PING"' Args '["XXX"]'^M
01:39:49.561 [debug] Prefix '[]' Command '"PING"' Args '["XXX"]'^M
01:41:54.108 [debug] Prefix '[]' Command '"PING"' Args '["XXX"]'^M
01:43:59.097 [debug] Prefix '[]' Command '"PING"' Args '["XXX"]'^M
01:46:04.165 [debug] Prefix '[]' Command '"PING"' Args '["XXX"]'^M
01:48:09.279 [debug] Prefix '[]' Command '"PING"' Args '["XXX"]'^M
01:50:14.552 [debug] Prefix '[]' Command '"PING"' Args '["XXX"]'^M
The TCP connection appears to have been retried meaning there is some error condition (specifically relating to timeouts) that does not crash the client process which would in turn cause the supervisor to restart it.
The fix it to detect these timeouts and crash the client process when they happen so that the supervisor can bring it back up.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.