question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Accessing over local network without SSL

See original GitHub issue

When I try to access code-server over a local network I get an error message code-server is being accessed over an insecure domain I understand that the recommended method to expose the server is either SSH or reverse proxy. All these methods are an overkill if the server is always behind the same firewall as the client. There should be a way to acknowledge the message and dismiss it permanently. I did not notice any broken functionality despite the warning.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
code-ashercommented, Aug 13, 2021

My main concern was that people will submit webview/copy/paste/etc issues that are caused by using an insecure domain but that’s been happening anyway so maybe it won’t matter if we make it dismissable.

Maybe we could consider adding something to the issue template that asks if code-server is being accessed over a secure domain or not.

Or, actually, I think the best solution would be to remove the notification and then when someone tries to use a feature that doesn’t work without a secure domain we then pop up a notification explaining why it doesn’t work (like when a user tries to copy or open a web view).

2reactions
code-ashercommented, Apr 28, 2022

No plans at the moment but if someone wants to implement this we are definitely happy to merge:

I think the best solution would be to remove the notification and then when someone tries to use a feature that doesn’t work without a secure domain we then pop up a notification explaining why it doesn’t work.

I just tested and here is what I saw was broken (mostly just webviews but there might be other things I missed):

  • Paste
  • Extension details, markdown preview, images, parts of the getting started walkthrough, welcome pages from extensions like GitLens (all these are webviews)
Read more comments on GitHub >

github_iconTop Results From Across the Web

SSL for devices in local network - Server Fault
The way HTTPS (TLS) is set up a certificate is only marked as valid if the domain name matches the one in the...
Read more >
How do I run proper HTTPS on an Internal Network?
Validating a server certificate in the browser is mainly done by checking that the hostname from the URL matches the name(s) in the...
Read more >
Is there a way to have https for local network webapps without ...
Create a website and use foo.crt foo.key as SSL certificates and key respectivly. on your browser write: https://mylocalnetwork.local. and your ...
Read more >
Using HTTPS in client browsers on a local network without ...
I own a key and a trusted SSL certificate (LetsEncrypt) for offline.mydomain.com; There is a DNS server in the offline WiFi network that...
Read more >
Accessing over local network without SSL · Issue #3975 - GitHub
I understand that the recommended method to expose the server is either SSH or reverse proxy. All these methods are an overkill if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found