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

ConnectionRefusedError when running sanity checks #120

Open
bendoesai opened this issue Jan 16, 2025 · 0 comments
Open

ConnectionRefusedError when running sanity checks #120

bendoesai opened this issue Jan 16, 2025 · 0 comments

Comments

@bendoesai
Copy link

bendoesai commented Jan 16, 2025

Trying to get this back up and running after putting the project down for a while. I did a fresh reinstall of OpenPlanet and TMRL but I can't seem to get the sanity checks to work. I know the plugin is working because I can reload it and see "Waiting for connection" appear (though with a deprecation warning, maybe that's part of it?). Everything will be running on localhost, so I've left config.json alone for now until I get it running. When I try to run --check-environment or --record-reward per get_started.md, the stack trace below occurs, then OpenPlanet times out.

I've also tried using the Gym environment interface, which is how I had it running in the past, but it fails silently when I try to run it like that (just an OpenPlanet timeout) and I have a hunch it's the same issue.

OS: win10
Python: 3.11.4

Exception in thread Thread-2 (__client_thread):
Traceback (most recent call last):
  File "C:\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
    self.run()
  File "C:\Python311\Lib\threading.py", line 975, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Python311\Lib\site-packages\tmrl\custom\utils\tools.py", line 41, in __client_thread
    s.connect((self._host, self._port))
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
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

1 participant