thedjpetersen/subway — Issue #69: Crash due to unhandled error
Author: akavlie
Created: 2012-02-10 01:28:25+00:00
State: open
Labels: Backend, Bug

This happened today, in production:

`
debug - websocket writing 5:::{"name":"motd","args":[{"motd":"- asimov.freenode.net Message of the Day - \n- Welcome to asimov.freenode.net in TX, USA! Thanks to\n- Rackspace (www.rackspace.com) for sponsoring\n- this server!\n- \n- ASIMOV, ISAAC [1920-1992]. One of the brightest stars of the\n- science fiction universe. Author of \u001fI Robot\u001f, the\n- \u001fFoundation\u001f series (which \"grew like Topsy\"), \u001fPebble in the\u001f\n- \u001fSky\u001f and hundreds of works of science fact and science\n- fiction.\n- \n- You're using freenode, a service of Peer-Directed Projects\n- Center Ltd (http://freenode.net/pdpc.shtml).\n- \n- By connecting to freenode you indicate that you have read\n- and agree to adhere to our policies and procedures as per\n- the website (http://freenode.net). We would like to remind\n- you that unauthorized public logging of channels on the\n- network is prohibited. Public channel logging should only\n- take place where the channel owner(s) has requested this\n- and users of the channel are all made aware (if you are\n- publically logging your channel, you may wish to keep a\n- notice in topic and perhaps as a on-join message).\n- \n- freenode runs an open proxy scanner. Your use of the network\n- indicates your acceptance of this policy. For details on\n- freenode network policy, please take a look at our policy\n- page (http://freenode.net/policy.shtml). Thank you for using\n- the network!\n- \n- Don't forget to check out these other Peer-Directed Projects:\n- FOSSCON [http://www.fosscon.org] and fossevents \n- [http://www.fossevents.org], and soon we'll repeat last years \n- success with Picnics for Geeks across the globe, more info at \n- [http://geeknic.org]\n- \n- freenode is a service of Peer-Directed Projects Center Ltd,\n- a not for profit organisation registered in England and Wales.\n- \n- If you support the work we do and wish to donate to the PDPC, \n- you may do so over at http://freenode.net/pdpc_donations.shtml\n- \n- Thank you for using freenode!\n- \n- ***************************************************************\n- Please read http://blog.freenode.net/2010/11/be-safe-out-there/\n- ***************************************************************\nEnd of /MOTD command.\n"}]}

9 Feb 18:32:07 - MODE:mattk sets mode: +i

Event notice sent

{ nick: 'NickServ',
to: 'mattk',
text: 'This nickname is registered. Please choose a different nickname, or identify via \u0002/msg NickServ identify \u0002.',
message: undefined }

debug - websocket writing 5:::{"name":"notice","args":[{"nick":"NickServ","to":"mattk","text":"This nickname is registered. Please choose a different nickname, or identify via \u0002/msg NickServ identify \u0002."}]}

9 Feb 18:32:07 - GOT NOTICE from "NickServ": "This nickname is registered. Please choose a different nickname, or identify via /msg NickServ identify ."

debug - websocket writing 5:::{"name":"getNick","args":[{"nick":"mattk"}]}

Starting IRC client; wiring up socket events.

events.js:45

throw arguments[1]; // Unhandled 'error' event

^

Error: ENOTFOUND, Domain name not found
at IOWatcher.callback (dns.js:74:15)

Error: Restarted too many times, bailing.
`