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

--remote-debug leads to ERROR: connect_to_host: Remote Debugger: Unable to connect. Status: 3. #48668

Closed
mrimvo opened this issue May 12, 2021 · 3 comments

Comments

@mrimvo
Copy link

mrimvo commented May 12, 2021

Godot version:
3.3

OS/device including version:
Ubuntu 18.04

Issue description:

When trying to connect to a remote debugger with --remote-debug, this error message appears:

ERROR: connect_to_host: Remote Debugger: Unable to connect. Status: 3.
   At: scene/debugger/script_debugger_remote.cpp:95.

Steps to reproduce:

  1. start the Godot Editor with an project open
  2. in the root folder of the project, start godot --remote-debug localhost:6007

EXPECTED: the second godot instance connects to the debugger in the first godot instance
OBSERVED: the game starts after step 2, but doesn't connect to the debugger. Instead the above error message appears

Minimal reproduction project:
An empty project with an empty main scene.
empty-godot-project.zip

@Calinou
Copy link
Member

Calinou commented May 12, 2021

@mrimvo Does it work if you use 127.0.0.1:6007 instead?

Also, are you on a dual-stack IPv4/IPv6 network?

Remember that the Godot editor does not listen for incoming debugger connections. Only the project running from the editor does. See godotengine/godot-proposals#2608.

@mrimvo
Copy link
Author

mrimvo commented May 12, 2021

127.0.0.1:6007 instead?

doesn't work, same error message

Also, are you on a dual-stack IPv4/IPv6 network?

Not sure about this - is there is linux command I can type to check for this? ifconfig shows me both an inet and inet6 address for the wifi-adapter. Is this the information you asked for?

Remember that the Godot editor does not listen for incoming debugger connections. Only the project running from the editor does. See godotengine/godot-proposals#2608.

This sounds like it is exactly the same issue. It looks like the Godot editor doesn't start the debugger to listen on localhost:6007, that's why it can't connect with --remote-debug.

@Calinou
Copy link
Member

Calinou commented May 12, 2021

This sounds like it is exactly the same issue. It looks like the Godot editor doesn't start the debugger to listen on localhost:6007, that's why it can't connect with --remote-debug.

In this case, I'll close this as a duplicate of godotengine/godot-proposals#2608.

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

No branches or pull requests

2 participants