question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Port 8883 not opened?

See original GitHub issue

Hi,

I will turn crazy with my update 2.0.0-34. When I use discovery function, I correctly find my Roomba 980

~/dorita980$ node discover.js 
Looking for robots...
Robot found! with blid/username: 3115800850720780
{ ver: '2',
  hostname: 'Roomba-3115800850720780',
  robotname: 'Roomba',
  ip: '192.168.0.18',
  mac: '74:C6:3B:96:FF:91',
  sw: 'v2.0.0-34',
  sku: 'R980040',
  nc: 1,
  proto: 'mqtt' }
{ ver: '2',
  hostname: 'Roomba-3115800850720780',
  robotname: 'Roomba',
  ip: '192.168.0.18',
  mac: '74:C6:3B:96:FF:91',
  sw: 'v2.0.0-34',
  sku: 'R980040',
  nc: 1,
  proto: 'mqtt' }

But, the getpassword function return me errors even if I follow instructions (and WIFI led is blinking)

~/dorita980$ npm run getpassword 192.168.0.18

> dorita980@3.0.8 getpassword /home/boris/dorita980
> node ./bin/getpassword.js "192.168.0.18"

Make sure your robot is on the Home Base and powered on (green lights on). Then press and hold the HOME button on your robot until it plays a series of tones (about 2 seconds). Release the button and your robot will flash WIFI light.
Then press any key here...
events.js:154
      throw er; // Unhandled 'error' event
      ^

Error: connect ECONNREFUSED 192.168.0.18:8883
    at Object.exports._errnoException (util.js:893:11)
    at exports._exceptionWithHostPort (util.js:916:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1075:14)

npm ERR! Linux 4.4.0-64-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "getpassword" "192.168.0.18"
npm ERR! node v5.12.0
npm ERR! npm  v3.8.6
npm ERR! code ELIFECYCLE
npm ERR! dorita980@3.0.8 getpassword: `node ./bin/getpassword.js "192.168.0.18"`
npm ERR! Exit status 1

Actually, I believe that the 8883 port is closed

~/dorita980$ netcat -n -v 192.168.0.18 8883
netcat: connect to 192.168.0.18 port 8883 (tcp) failed: Connection refused

Do I miss something obvious? Any help would be appreciate.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kavodcommented, Mar 5, 2017

Actually, it seems simpler than my nebulous first explanation. I now quite sure it is because of the iRobot app which was running during my tests. So, if someone has the same issue, be care to switch off the app on your mobile before use the dorita980 lib. Regards

0reactions
Anomencommented, Nov 7, 2021

Thank you @jdog09! Same issue here: I disconnected Home Assistant and all of sudden the script worked well!

Read more comments on GitHub >

github_iconTop Results From Across the Web

IOT Foundation SSL/TLS not working on port 8883 - IBM
I am attempting to make a TLS connection to the IBM IoT Foundation using port 8883 and I am seeing no SSL/TLS handshake....
Read more >
Cannot connect to MQTT over the port 8883
Hi, we've deployed the TTS Open Source version 3.13.3. If we try to connect via MQTT over the port 1883, it works like...
Read more >
Unable to open port 8883 for MyQ garage opener
Installing a myQ device and they sai I need to open up port 8883. ... DO NOT set a source port in a...
Read more >
In a security assessment we were informed about a port being ...
We were told by Akamai Support that port 8883 is open on the Edge network for their Internet of Things (IoT) services. Apparently,...
Read more >
Seeking access to port 8883 - AT&T Community Forums
... for instructions on how to access “port 8883” and problem w... ... and (b) describing a port that must be opened for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found