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

Add flag to disable update checker #2384

Closed
momiji opened this issue Dec 1, 2020 · 3 comments
Closed

Add flag to disable update checker #2384

momiji opened this issue Dec 1, 2020 · 3 comments

Comments

@momiji
Copy link

momiji commented Dec 1, 2020

  • Web Browser: Not relevant
  • Local OS: Linux RHEL 7.9
  • Remote OS: Not relevant, but Windows 10
  • Remote Architecture: x86
  • code-server --version: 3.7.3 93fb76e

Hello,

We're using code-server (installed manually from the tag.gz) on server with no access to internet, and we have several error messages on the console:

[2020-12-01T14:32:53.742Z] error Failed to get latest version {"error":"getaddrinfo ENOTFOUND api.github.com"}

An option was previsouly available to prevent update, any other way to do it ?

Thank you.

@code-asher
Copy link
Member

We've implemented a flag to disable the update checker (it won't auto-update btw and is just informative although that doesn't really make a difference in your case) and it'll be in the next release! I'll add this to the milestone for tracking.

@code-asher code-asher added this to the v3.7.4 milestone Dec 1, 2020
@code-asher code-asher changed the title how to disable autoupdate ? Add flag to disable update checker Dec 1, 2020
@code-asher
Copy link
Member

Ah nvm we already have #2361 in the milestone. Would be neat if GitHub had a separate section for fixed issues that aren't yet in a release or something to make finding duplicates easier.

@code-asher code-asher removed this from the v3.7.4 milestone Dec 1, 2020
@momiji
Copy link
Author

momiji commented Dec 2, 2020

Thank you, I've tested and works like a charm!
I didn't find it when searching in issues, but I won't say I'm a github search expert :)
Good work!

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