minosworld / minos

MINOS: Multimodal Indoor Simulator
MIT License
201 stars 33 forks source link

recv disconnected #170

Closed picksh closed 4 years ago

picksh commented 4 years ago

hi, I have met the problem that when I run python3 -m minos.tools.pygame_client --dataset mp3d --scene_ids 17DRP5sb8fy --env_config pointgoal_mp3d_s, it can be connected but receive disconnected immediately. I don't known how to handle this problem and do you have some suggestions? Thank you! I use the master branch. ` (mino) chjdf@chjdf-ThinkPad-T460p:~/minos$ NODE_BASE_URL=../ python3 -m minos.tools.pygame_client --dataset mp3d --scene_ids 17DRP5sb8fy --env_config pointgoal_mp3d_s pygame 1.9.6 Hello from the pygame community. https://www.pygame.org/contribute.html 2019-09-04 15:17:01,413 INFO {'machine': 'chjdf-ThinkPad-T460p', 'stk_git_hash': 'ce7b7c2', 'sim_git_hash': 'ce7b7c2', 'sim_id': 'sim00'} /home/chjdf/minos/minos/lib/Simulator.py:124: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. sensor_configs = yaml.load(open(sensors_file, 'r')) Starting simulator... 2019-09-04 15:17:01,425 INFO sim00:Starting sim server at /home/chjdf/minos/minos/server/server.js with port 21891 2019-09-04 15:17:03,498 INFO sim00:connect 2019-09-04 15:17:03,570 WARNING localhost:21891/socket.io [connection error] recv disconnected (Connection is already closed.) 2019-09-04 15:17:04,572 WARNING localhost:21891/socket.io [connection error] recv disconnected (Connection is already closed.) 2019-09-04 15:17:04,572 INFO sim00:disconnect 2019-09-04 15:17:04,577 WARNING localhost:21891/socket.io [waiting for connection] HTTPConnectionPool(host='localhost', port=21891): Max retries exceeded with url: /socket.io/?t=1567581424572-0&EIO=3&transport=polling (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9917ad4fd0>: Failed to establish a new connection: [Errno 111] Connection refused',)) 2019-09-04 15:17:05,583 WARNING localhost:21891/socket.io [waiting for connection] HTTPConnectionPool(host='localhost', port=21891): Max retries exceeded with url: /socket.io/?t=1567581425579-0&EIO=3&transport=polling (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9917ada5c0>: Failed to establish a new connection: [Errno 111] Connection refused',)) 2019-09-04 15:17:06,589 WARNING localhost:21891/socket.io [waiting for connection] HTTPConnectionPool(host='localhost', port=21891): Max retries exceeded with url: /socket.io/?t=1567581426584-0&EIO=3&transport=polling (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9917adaa58>: Failed to establish a new connection: [Errno 111] Connection refused',)) 2019-09-04 15:17:07,595 WARNING localhost:21891/socket.io [waiting for connection] HTTPConnectionPool(host='localhost', port=21891): Max retries exceeded with url: /socket.io/?t=1567581427590-0&EIO=3&transport=polling (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9917adaf98>: Failed to establish a new connection: [Errno 111] Connection refused',)) 2019-09-04 15:17:08,602 WARNING localhost:21891/socket.io [waiting for connection] HTTPConnectionPool(host='localhost', port=21891): Max retries exceeded with url: /socket.io/?t=1567581428597-0&EIO=3&transport=polling (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9917a5b128>: Failed to establish a new connection: [Errno 111] Connection refused',)) ^CTraceback (most recent call last): File "/home/chjdf/msavva-socketIO-client-2-bed48c2/socketIO_client/logs.py", line 23, in _yield_warning_screen yield elapsed_time Exception: [waiting for connection] HTTPConnectionPool(host='localhost', port=21891): Max retries exceeded with url: /socket.io/?t=1567581428597-0&EIO=3&transport=polling (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9917a5b128>: Failed to establish a new connection: [Errno 111] Connection refused',))

simserver.log: 2019-09-04 15:17:02,194 INFO b'Configuration { fileCache: { size: 50 },' 2019-09-04 15:17:02,194 INFO b' imageCache: { size: 200 },' 2019-09-04 15:17:02,194 INFO b' imageQueue: { concurrency: 4 },' 2019-09-04 15:17:02,194 INFO b" base_url: '../'," 2019-09-04 15:17:02,194 INFO b' assets_url:' 2019-09-04 15:17:02,194 INFO b" 'file:///home/chjdf/minos/minos/server/node_modules/sstk/ssc/../server/static' }" 2019-09-04 15:17:02,369 INFO b'Waiting for client connection on port 21891' 2019-09-04 15:17:02,382 ERROR b'Cannot register unknown asset 2d3ds' 2019-09-04 15:17:02,383 INFO b'register ../server/static/data/matterport/matterport3d.json' 2019-09-04 15:17:02,384 INFO b'Registered asset group: mp3d' 2019-09-04 15:17:02,387 INFO b'Got 90 assets' 2019-09-04 15:17:02,438 INFO b'register ../server/static/data/suncg/suncg.planner5d.models.json' 2019-09-04 15:17:02,439 INFO b'Replace asset group p5d' 2019-09-04 15:17:02,439 INFO b'Registered asset group: p5d' 2019-09-04 15:17:02,499 INFO b'Got 2623 assets' 2019-09-04 15:17:03,140 INFO b'Loaded lightSpecs for 202 models.' 2019-09-04 15:17:03,140 INFO b'register ../server/static/data/suncg/suncg.planner5d.textures.json' 2019-09-04 15:17:03,142 INFO b'Replace asset group p5dTexture' 2019-09-04 15:17:03,143 INFO b'Registered asset group: p5dTexture' 2019-09-04 15:17:03,373 INFO b'Got 67072 assets' 2019-09-04 15:17:03,489 INFO b'Client Y2MvKoOddTCVlmOtAAAA connected on port 21891' 2019-09-04 15:17:03,498 INFO b'Loaded LightSpecs for 202 models' 2019-09-04 15:17:03,560 ERROR b'node: symbol lookup error: /home/chjdf/minos/minos/server/node_modules/sstk/node_modules/gl/build/Release/webgl.node: undefined symbol: _Z15XextFindDisplayP15_XExtensionInfoP9_XDisplay' 2019-09-04 15:17:03,570 INFO Finished simserver stdout 2019-09-04 15:17:03,570 INFO Finished simserver stderr

`

picksh commented 4 years ago

I have solved this question with https://github.com/stackgl/headless-gl/issues/65#issuecomment-252742795. Thanks!