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

error on connect to get details of robot #55

Closed
naThnaabu opened this issue Feb 27, 2023 · 4 comments
Closed

error on connect to get details of robot #55

naThnaabu opened this issue Feb 27, 2023 · 4 comments

Comments

@naThnaabu
Copy link

Hi I am getting an error when trying to get the details of the robot.

**node:events:490
throw er; // Unhandled 'error' event
^

Error: connect EHOSTUNREACH 192.168.1.XYZ:8883
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)
Emitted 'error' event on TLSSocket instance at:
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -113,
code: 'EHOSTUNREACH',
syscall: 'connect',
address: '192.168.1.XYZ',
port: 8883
}
**

@jeremywillans
Copy link
Owner

Sounds like it cannot reach your robot on the network. Can you confirm the IP and that there is direct connectivity?

@jeremywillans
Copy link
Owner

bump

@RTS007
Copy link

RTS007 commented Jul 17, 2023

So I had the same issue with my i7+:

node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: connect EHOSTUNREACH 192.168.1.x:8883
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)
Emitted 'error' event on TLSSocket instance at:
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -113,
  code: 'EHOSTUNREACH',
  syscall: 'connect',
  address: '192.168.1.x',
  port: 8883
}

I start looking for the solution, and I found out that rebooting the robot was working for me.
So my steps:

  • Hold for 10 seconds CLEAN button
  • Wait to start
  • Press HOME button for 2 seconds
  • Run get-roomba-password

Later I discovered, that my wife had stated iRoomba app on her phone... And as we can read in instruction:

Do not have iRobot App running on your phone when doing this !!!

@jeremywillans
Copy link
Owner

Glad its working for you @RTS007 - closing and pinning issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants