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

Failed to fetch, inference server ... #165

Open
Maziar123 opened this issue Nov 10, 2024 · 8 comments
Open

Failed to fetch, inference server ... #165

Maziar123 opened this issue Nov 10, 2024 · 8 comments

Comments

@Maziar123
Copy link

Error: Failed to fetch
Click to retry

v5.2.1

@Maziar123
Copy link
Author

rustbinary2024-11-11.txt

@Maziar123
Copy link
Author

fix in 5.2.3

@Maziar123 Maziar123 reopened this Nov 18, 2024
@Maziar123
Copy link
Author

Again same error same message today

@Maziar123 Maziar123 changed the title v5.2.1 Failed to fetch, Click to retry Failed to fetch, Click to retry Request to <https://api.github.com/copilot_internal/v2/token> timed out Nov 18, 2024
@Maziar123
Copy link
Author

You have a problem with internet connection user http proxy.

@Maziar123 Maziar123 changed the title Failed to fetch, Click to retry Request to <https://api.github.com/copilot_internal/v2/token> timed out Failed to fetch, inference server ... Nov 18, 2024
@olegklimov
Copy link
Contributor

Hey @Maziar123 we looked at the logs, and found a panic in the middle where refact-lsp was trying to set up a watcher on a directory, to keep track on files appearing and disappearing. Me and @valaises we are not even sure it's a good idea not to crash there, because if it continues without a file watcher, it's an inconsistent state that's not really working :/

What did you do to produce this?

(and your complaint is about the red message that might be not that visible in the logs)

@Maziar123
Copy link
Author

Maziar123 commented Nov 21, 2024

I started vscode (in arch linux) with ssh proxy :
use this script

export http_proxy=http://172.16.XX.YY:8080/
export https_proxy=$http_proxy
export ftp_proxy=$http_proxy
export rsync_proxy=$http_proxy
export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com,172.16..,172.16.?.?"
export dns_server="1.1.1.1,9.9.9.9,8.8.8.8"

export ELECTRON_ENABLE_WAYLAND=1
export OZONE_PLATFORM=wayland
export GDK_SCALE=0.7
export GDK_DPI_SCALE=0.8

/usr/bin/code ---enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland

Also, why do we have some messages in red that we can't copy or log?

@olegklimov
Copy link
Contributor

Hmm I'm not even sure what is this setup :D Maybe I can get @mitya52 or @reymondzzzz look into this next week.

@Maziar123
Copy link
Author

Maziar123 commented Nov 24, 2024

Ok, I wait for it,

The

export ELECTRON_ENABLE_WAYLAND=1
export OZONE_PLATFORM=wayland
export GDK_SCALE=0.7
export GDK_DPI_SCALE=0.8

/usr/bin/code ---enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland

is not problem

My experience suggests that the problem is the type of proxy you support, especially on Linux.

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

2 participants