error: uncaughtException: connect ECONNREFUSED

1,245 views
Skip to first unread message

Daniel Koh

unread,
May 8, 2014, 8:44:43 AM5/8/14
to appium-...@googlegroups.com
I've updated Appium recently. Now I'm having the following error when invoking the inspector on appium.app

error: uncaughtException: connect ECONNREFUSED date=Thu May 08 2014 08:39:52 GMT-0400 (EDT), pid=822, uid=1079609594, gid=9750443, cwd=/Applications/Appium.app/Contents/Resources/node_modules/appium, execPath=/Applications/Appium.app/Contents/Resources/node/bin/node, version=v0.10.26, argv=[/Applications/Appium.app/Contents/Resources/node/bin/node, /Applications/Appium.app/Contents/Resources/node_modules/appium/lib/server/main.js, --address, 127.0.0.1, --port, 4723, --command-timeout, 7200, --app, com.aaaaa.bbbbb, --udid, d4db1366c923c9629977ab1631fa5b2721f8f8b6, --show-sim-log, --device-name, iPad], rss=59318272, heapTotal=60469328, heapUsed=27097104, loadavg=[1.2333984375, 1.208984375, 1.1240234375], uptime=3302, trace=[column=11, file=net.js, function=errnoException, line=904, method=null, native=false, column=19, file=net.js, function=Object.afterConnect [as oncomplete], line=895, method=afterConnect [as oncomplete], native=false], stack=[Error: connect ECONNREFUSED,     at errnoException (net.js:904:11),     at Object.afterConnect [as oncomplete] (net.js:895:19)]


Any thoughts?

Thanks,

Kamesh Raj Velu

unread,
May 8, 2014, 10:40:35 AM5/8/14
to Daniel Koh, appium-...@googlegroups.com
I see the same issue and it will kill my app on the phone



--
http://appium.io
---
You received this message because you are subscribed to the Google Groups "Appium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appium-discus...@googlegroups.com.
Visit this group at http://groups.google.com/group/appium-discuss.
For more options, visit https://groups.google.com/d/optout.



--
 --------------------------------------------
 __0/  "A ten thousand miles journey begins
   /_    with a single step. That single step
`\/  \,  has to be taken from where you are"

http://www.kameshraj.com
Message has been deleted

Sean Wang

unread,
May 20, 2014, 11:29:53 PM5/20/14
to appium-...@googlegroups.com
I got the same error on Appium v1.0.0 macosx version when I trying to inspect on a real device.

The AUT crashed after the snapshot loaded in the inspector.

在 2014年5月8日星期四UTC+8下午8时44分43秒,집나온시인写道:

Sean Wang

unread,
May 20, 2014, 11:45:42 PM5/20/14
to appium-...@googlegroups.com
I just found this error is thrown by `contexts` request:

debug: Appium request initiated at /wd/hub/session/74a5d075-e805-48ff-b7db-0c3fe150e30c/contexts
debug: Request received with params: {}
error: uncaughtException: connect ECONNREFUSED date=Wed May 21 2014 11:42:39 GMT+0800 (CST), pid=40621, uid=501, gid=20, cwd=/usr/local/lib/node_modules/appium, execPath=/usr/local/Cellar/node/0.10.26/bin/node, version=v0.10.26, argv=[node, /usr/local/bin/appium, --app, com.example.app, -U, some_udid_string], rss=59457536, heapTotal=56160000, heapUsed=19706952, loadavg=[4.57421875, 2.24853515625, 1.90234375], uptime=1382952, trace=[column=11, file=net.js, function=errnoException, line=904, method=null, native=false, column=19, file=net.js, function=Object.afterConnect [as oncomplete], line=895, method=afterConnect [as oncomplete], native=false], stack=[Error: connect ECONNREFUSED,     at errnoException (net.js:904:11),     at Object.afterConnect [as oncomplete] (net.js:895:19)]

在 2014年5月21日星期三UTC+8上午11时29分53秒,Sean Wang写道:

Neil Japhtha

unread,
May 21, 2014, 6:18:46 AM5/21/14
to appium-...@googlegroups.com
MacOSX, I've also had this issue when launching the inspector.

Keegan Parker

unread,
May 21, 2014, 9:41:51 AM5/21/14
to appium-...@googlegroups.com
https://groups.google.com/forum/#!topic/appium-discuss/I01yEQfIfv8

The issue has been fixed in code, but I don't think the patched version has been released yet as an update.

Al

unread,
May 22, 2014, 4:42:55 PM5/22/14
to appium-...@googlegroups.com
I am also getting the same error. 
Reply all
Reply to author
Forward
0 new messages