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

Couldn't connect to the GDScript language server at 127.0.0.1:6008 #356

Closed
oEjk opened this issue May 3, 2022 · 9 comments
Closed

Couldn't connect to the GDScript language server at 127.0.0.1:6008 #356

oEjk opened this issue May 3, 2022 · 9 comments
Labels

Comments

@oEjk
Copy link

oEjk commented May 3, 2022

Godot version

v3.4.4.stable.arch_linux

VS Code version

1.66.0

Godot Tools VS Code extension version

v1.2.0

System information

artix LXQt

Issue description

screenshot-123e66d3

Steps to reproduce

add the godot tool and ask it to work?

@oEjk oEjk added the bug label May 3, 2022
@Calinou
Copy link
Member

Calinou commented May 3, 2022

Related to #154.

@DaelonSuzuka
Copy link
Collaborator

Just as a guess, are you running VSCode or Godot in a snap/flatpak/appimage? These containerized distribution tools sometimes have issues allowing inter-application communication like the LSP.

Failing that, are you sure Godot is actually running?

Do the Host and Port settings in the Godot match those in the VSCode?

Settings Screenshot

QSnMpeB5ng

@oEjk
Copy link
Author

oEjk commented May 8, 2022

Just as a guess, are you running VSCode or Godot in a snap/flatpak/appimage? These containerized distribution tools sometimes have issues allowing inter-application communication like the LSP.

nope

Failing that, are you sure Godot is actually running?

If the Godot Editor is running the issue resolves.

I misunderstood this...

Make sure to open the project in the Godot editor first. If you opened the editor after opening VS Code, you can click the Retry button in the bottom-right corner in VS Code.

as you could do this then close the editor. Perhaps I am slow, granted, or it may be mentioned the editor needs to be running for the plugin to connect.

@oEjk oEjk closed this as completed May 8, 2022
@DaelonSuzuka
Copy link
Collaborator

Yes, the Godot Editor must be running for this extension to provide full functionality. This is the intended behavior, and not a bug.

@raylu
Copy link

raylu commented Apr 29, 2023

for anyone coming here from godot 4, the default port has changed to :6005
see #469

@kepiz
Copy link

kepiz commented Sep 19, 2023

for anyone coming here from godot 4, the default port has changed to :6005 see #469

how do you change the port?
nevermind , you need to go to extension settings for the godot extension, paste the absolute path for the godot version executable you are using, and also the port 6005

@sadeeshakgr
Copy link

sadeeshakgr commented Sep 23, 2023

don't forget to change the port to 6005 in the launch.json too

@ElnuDev
Copy link

ElnuDev commented Oct 19, 2023

Shouldn't the default port in the extension be updated from 6008 to 6005 now that Godot 4 has been released for a while? This seems to be really bad user experience that one has to manually change the port configuration if one's using the latest version of Godot. A good compromise for supporting both Godot 3 and Godot 4 would be checking both ports. I don't think that this issue should be closed, as it makes the experience of the extension worse for new users.

@atirut-w
Copy link

I don't think that this issue should be closed, as it makes the experience of the extension worse for new users.

This issue was with 3.x, so it's an entirely different story. If my memory serves, there's an issue for 3-4 compat and definitely a PR for that.

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

No branches or pull requests

8 participants