You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
I could be wrong here, but I believe code-server needs to be accessed over a secure domain in order for browsers to allow service workers and other features of code-server.
I did not notice any broken functionality despite the warning
Though you did say.
There should be a way to acknowledge the message and dismiss it permanently
I wonder if we add some custom functionality to code-server which lets check a box like "Don't show this again"
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).
Reacted by Joe Previte, Leah, abdennour and Sagnik Das
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.
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)
Activity
jsjoeio commentedon Aug 12, 2021
I could be wrong here, but I believe code-server needs to be accessed over a secure domain in order for browsers to allow service workers and other features of code-server.
Though you did say.
I wonder if we add some custom functionality to code-server which lets check a box like "Don't show this again"
cc @code-asher thoughts?
code-asher commentedon Aug 13, 2021
Alsabti5810 commentedon Aug 21, 2021
stale commentedon Feb 17, 2022
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.
RealKoenisch commentedon Apr 5, 2022
Please reopen this issue, its an annoying permant message.
RealKoenisch commentedon Apr 28, 2022
Are there any activities planned to avoid this behaviour, maybe in the settings?
code-asher commentedon Apr 28, 2022
No plans at the moment but if someone wants to implement this we are definitely happy to merge:
I just tested and here is what I saw was broken (mostly just webviews but there might be other things I missed):
den-mac commentedon Nov 10, 2023
I'm just using this as a config editor so the message is an annoyance to me; every time I use it I have to close the dialog.
Would love a setting to turn it off.
carefulcomputer commentedon Feb 5, 2024
+1
[-]Accessing over local network without SSL[/-][+]Improve insecure domain notification[/+]