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

weird bug in using invite code... fixed it self after a restart #62

Closed
dominictarr opened this issue Dec 28, 2014 · 5 comments
Closed
Labels

Comments

@dominictarr
Copy link
Contributor

@NHQ was helping me test the latest scuttlebot and we got a weird error:

<jjjohnny_> Error: async call failed
<jjjohnny_>     at /home/johnny/projects/scuttlebot/bin.js:152:23
<jjjohnny_>     at Array.requests.(anonymous function) (/home/johnny/projects/scuttlebot/node_modules/muxrpc/node_modules/packet-stream/index.js:153:9)
<jjjohnny_>     at onRequest (/home/johnny/projects/scuttlebot/node_modules/muxrpc/node_modules/packet-stream/index.js:20:27)
<jjjohnny_>     at Object.p.write (/home/johnny/projects/scuttlebot/node_modules/muxrpc/node_modules/packet-stream/index.js:173:33)
<jjjohnny_>     at /home/johnny/projects/scuttlebot/node_modules/muxrpc/pull-weird.js:45:15
<jjjohnny_>     at loop (/home/johnny/projects/scuttlebot/node_modules/muxrpc/node_modules/pull-stream/sinks.js:15:33)
<jjjohnny_>     at /home/johnny/projects/scuttlebot/node_modules/muxrpc/node_modules/pull-stream/throughs.js:97:9
<jjjohnny_>     at /home/johnny/projects/scuttlebot/node_modules/pull-stream/throughs.js:97:9
<jjjohnny_>     at /home/johnny/projects/scuttlebot/node_modules/pull-stream/throughs.js:21:7
<jjjohnny_>   Error: invite not accepted
<jjjohnny_>     at /home/johnny/projects/scuttlebot/plugins/invite.js:151:26
<jjjohnny_>     at requests.(anonymous function) (/home/johnny/projects/scuttlebot/node_modules/muxrpc/node_modules/packet-stream/index.js:153:9)
<jjjohnny_>     at /home/johnny/projects/scuttlebot/node_modules/muxrpc/node_modules/packet-stream/index.js:184:58
<jjjohnny_>     at Array.forEach (native)
<jjjohnny_>     at Object.p.destroy (/home/johnny/projects/scuttlebot/node_modules/muxrpc/node_modules/packet-stream/index.js:184:16)
<jjjohnny_>   Error: unexpected end of parent stream
<domanic> ah okay
<jjjohnny_>     at Object.p.destroy (/home/johnny/projects/scuttlebot/node_modules/muxrpc/node_modules/packet-stream/index.js:181:15)
<jjjohnny_>     at Object.p.write (/home/johnny/projects/scuttlebot/node_modules/muxrpc/node_modules/packet-stream/index.js:171:24)
<jjjohnny_>     at source (/home/johnny/projects/scuttlebot/node_modules/muxrpc/pull-weird.js:34:15)
<jjjohnny_>     at /home/johnny/projects/scuttlebot/node_modules/muxrpc/node_modules/pull-goodbye/endable.js:6:7
<jjjohnny_>     at /home/johnny/projects/scuttlebot/node_modules/pull-stream/throughs.js:13:5
<jjjohnny_>     at /home/johnny/projects/scuttlebot/node_modules/pull-inactivity/node_modules/pull-stream/throughs.js:123:12
<jjjohnny_>     at cancel (/home/johnny/projects/scuttlebot/node_modules/pull-inactivity/node_modules/pull-abortable/index.js:13:5)
<jjjohnny_>     at Function.reader.abort (/home/johnny/projects/scuttlebot/node_modules/pull-inactivity/node_modules/pull-abortable/index.js:47:5)
<jjjohnny_>     at abort (/home/johnny/projects/scuttlebot/node_modules/pull-inactivity/index.js:32:17)
<jjjohnny_>     at null.<anonymous> (/home/johnny/projects/scuttlebot/node_modules/pull-inactivity/index.js:39:7)

updating the server to the latest code and restarting fixed it. I'm not sure what it was but leaving this here incase it happens again.

@pfrazee
Copy link
Contributor

pfrazee commented Dec 29, 2014

I get this error as well when I use the addMe api in phoenix. It takes about 1 minute to send a response, and that's what comes back

Error: invite not accepted
    at /Users/paulfrazee/scuttlebot/plugins/invite.js:151:26
    at requests.(anonymous function) (/Users/paulfrazee/scuttlebot/node_modules/muxrpc/node_modules/packet-stream/index.js:153:9)
    at /Users/paulfrazee/scuttlebot/node_modules/muxrpc/node_modules/packet-stream/index.js:184:58
    at Array.forEach (native)
    at Object.p.destroy (/Users/paulfrazee/scuttlebot/node_modules/muxrpc/node_modules/packet-stream/index.js:184:16)
  Error: unexpected end of parent stream
    at Object.p.destroy (/Users/paulfrazee/scuttlebot/node_modules/muxrpc/node_modules/packet-stream/index.js:181:15)
    at Object.p.write (/Users/paulfrazee/scuttlebot/node_modules/muxrpc/node_modules/packet-stream/index.js:171:24)
    at /Users/paulfrazee/scuttlebot/node_modules/muxrpc/pull-weird.js:47:35
    at loop (/Users/paulfrazee/scuttlebot/node_modules/muxrpc/node_modules/pull-stream/sinks.js:11:20)
    at /Users/paulfrazee/scuttlebot/node_modules/muxrpc/node_modules/pull-stream/throughs.js:97:9
    at /Users/paulfrazee/scuttlebot/node_modules/pull-stream/throughs.js:97:9
    at /Users/paulfrazee/scuttlebot/node_modules/pull-stream/throughs.js:21:7
    at pull (/Users/paulfrazee/scuttlebot/node_modules/pull-serializer/node_modules/pull-split/node_modules/pull-through/index.js:35:9)
    at next (/Users/paulfrazee/scuttlebot/node_modules/pull-serializer/node_modules/pull-split/node_modules/pull-through/node_modules/looper/index.js:7:11)
    at module.exports (/Users/paulfrazee/scuttlebot/node_modules/pull-serializer/node_modules/pull-split/node_modules/pull-through/node_modules/looper/index.js:13:5)

@dominictarr
Copy link
Contributor Author

which invite code did you use? my server is down because my credit stuff was wrong after i lost my credit card recently. this is back up now... can you try again?

@pfrazee
Copy link
Contributor

pfrazee commented Jan 4, 2015

i used what was in the readme. if your instance was down, then i wonder if the connection failure event wasnt captured and it just timed out

@dominictarr
Copy link
Contributor Author

hmm, I think that should have had a ENCONNREFUSED error, we should add tests for this.

@pfrazee pfrazee added the bug label Jan 22, 2015
@evbogue
Copy link
Contributor

evbogue commented Jan 5, 2017

I've never seen this.

@evbogue evbogue closed this as completed Jan 5, 2017
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

3 participants