I have so many questions. in the official website https://github.com/openai/neural-mmo
I can not correctly render the program. And I used this version, but still problems.
I fix some run
python3 Forge.py --render
and then run
./client.sh
and I can not establish the connection always!!for your version , this problem is :
**2020-02-17 16:26:06+0800 [-] Uptime: 17.4 , Tick: 29
2020-02-17 16:26:06+0800 [-] Uptime: 18.0 , Tick: 30
2020-02-17 16:26:06+0800 [-] Created a server
2020-02-17 16:26:06+0800 [-] WebSocket connection request: {"extensions": [], "protocols": [], "version": 13, "path": "/ws", "host": "localhost", "headers": {"user-agent": "websocket-sharp/1.0", "sec-websocket-key": "uR6Ibp92jIOZrK87bgtu1A==", "sec-websocket-version": "13", "connection": "Upgrade", "host": "localhost:8080", "upgrade": "websocket"}, "origin": "", "params": {}, "peer": "tcp4:127.0.0.1:43820"}
2020-02-17 16:26:06+0800 [-] Unexpected exception in onConnect ['Attempt to send on a closed protocol']
2020-02-17 16:26:06+0800 [-] Traceback (most recent call last):
File "/home/dm/.local/lib/python3.5/site-packages/autobahn/websocket/protocol.py", line 1206, in _dataReceived
self.consumeData()
File "/home/dm/.local/lib/python3.5/site-packages/autobahn/websocket/protocol.py", line 1235, in consumeData
self.processHandshake()
File "/home/dm/.local/lib/python3.5/site-packages/autobahn/websocket/protocol.py", line 2821, in processHandshake
f = txaio.as_future(self.onConnect, request)
File "/home/dm/.local/lib/python3.5/site-packages/txaio/tx.py", line 430, in as_future
return maybeDeferred(fun, *args, **kwargs)
--- ---
File "/home/dm/.local/lib/python3.5/site-packages/twisted/internet/defer.py", line 151, in maybeDeferred
result = f(*args, **kw)
File "/home/dm/openai/Neural_MMO/projekt/neural-mmo/forge/embyr/twistedserver.py", line 71, in onConnect
self.sendUpdate()
File "/home/dm/openai/Neural_MMO/projekt/neural-mmo/forge/embyr/twistedserver.py", line 100, in sendUpdate
self.sendMessage(packet, False)
File "/home/dm/.local/lib/python3.5/site-packages/autobahn/websocket/protocol.py", line 2190, in sendMessage
raise Disconnected("Attempt to send on a closed protocol")
autobahn.exception.Disconnected: Attempt to send on a closed protocol
2020-02-17 16:26:06+0800 [-] failing WebSocket opening handshake ('Internal server error: Attempt to send on a closed protocol')
2020-02-17 16:26:06+0800 [-] dropping connection to peer tcp4:127.0.0.1:43820 with abort=False: Internal server error: Attempt to send on a closed protocol**
And the official version still have problems when connection to websocket. And when using the webclient not unityclient, this problem still exists. I doubt why no one ask this question.
My system is ubuntu 16.04