udacity / RoboND-Rover-Project

Project repository for the Unity rover search and sample return project.
MIT License
137 stars 481 forks source link

Accepted connection but not connected #23

Open mardeltri opened 5 years ago

mardeltri commented 5 years ago

Hi, I have a problem trying to connect the program with the simulator.

I cloned the Rover project in Ubuntu and I run python drive_rover.py. Later, I run the simulator in autonomous mode and, although it is supposed to move, it doesn't receive any value. In the terminal I receive accepted connections but not connected. Any idea about what might be happening? I tried in Ubuntu and Windows and I had the same problem.

NOT recording this run ... (8074) wsgi starting up on http://0.0.0.0:4567 (8074) accepted ('127.0.0.1', 34455) 127.0.0.1 - - [09/Dec/2018 13:32:02] "GET /socket.io/?EIO=4&transport=websocket HTTP/1.1" 404 342 0.007183 (8074) accepted ('127.0.0.1', 40725) 127.0.0.1 - - [09/Dec/2018 13:32:02] "GET /socket.io/?EIO=4&transport=websocket HTTP/1.1" 404 342 0.000445 (8074) accepted ('127.0.0.1', 46413) 127.0.0.1 - - [09/Dec/2018 13:32:02] "GET /socket.io/?EIO=4&transport=websocket HTTP/1.1" 404 342 0.000522 (8074) accepted ('127.0.0.1', 38921) 127.0.0.1 - - [09/Dec/2018 13:32:02] "GET /socket.io/?EIO=4&transport=websocket HTTP/1.1" 404 342 0.000523 (8074) accepted ('127.0.0.1', 39253) 127.0.0.1 - - [09/Dec/2018 13:32:02] "GET /socket.io/?EIO=4&transport=websocket HTTP/1.1" 404 342 0.000489

Thank you in advance

cwiz commented 5 years ago

Same problems here (on Windows). I'll try to replicate this issue under Linux to see if there any differences

cwiz commented 5 years ago

Same problem on Linux.

127.0.0.1 - - [11/Dec/2018 08:19:16] "GET /socket.io/?EIO=4&transport=websocket HTTP/1.1" 404 342 0.006224 (29604) accepted ('127.0.0.1', 39243)

hungtruongquoc commented 5 years ago

I have the same problem on Mac OS X 10.14.1

127.0.0.1 - - [10/Dec/2018 23:14:41] "GET /socket.io/?EIO=4&transport=websocket HTTP/1.1" 404 342 0.000436 (36223) accepted ('127.0.0.1', 56441) 127.0.0.1 - - [10/Dec/2018 23:14:41] "GET /socket.io/?EIO=4&transport=websocket HTTP/1.1" 404 342 0.000404

JafarAbdi commented 5 years ago

Does the solution here solve your problem ..?

https://github.com/llSourcell/How_to_simulate_a_self_driving_car/issues/34

mardeltri commented 5 years ago

Yes, it solved the issue in both Linux and Windows. As Onixaz wrote, the steps are: 1 - conda uninstall python-socketio 2 - pip install python-socketio

Thank you very much

narotamsingh commented 5 years ago

Thanks Onixaz, it also solved the issue in macOS Mojave and Ubuntu 18.04: 1 - conda uninstall python-socketio 2 - pip install python-socketio

tassadaq-ali commented 3 years ago

im using pycharm on windows and facing the same issue ......car is not moving......how to solve it .....anybody?