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
As a user, if the access URL is set to localhost:6080 instead of http://localhost:6080, workspaces will fail to build since "localhost" is assumed to be the protocol. We should either show an error that a protocol is required or add a protocol if none exists.
Activity
sandros94 commentedon Jul 28, 2022
This made me waste at least 4 hours.
On a custom docker-compose (couple hours ago reading this issue) I made a correction in my env
CODER_ACCESS_URL = "https://example.domain.com"so that
would have worked...
but forgetting I used the same env on the reverse proxy so it was trying to resolve
https://https://example.domain.comA fix as simple as:
was what I needed in the end.
spikecurtis commentedon Jul 29, 2022
If we end up inferring a scheme, that scheme better be
https. If anyone (highly inadvisably) wants to dohttp, they should be explicit about it.ammario commentedon Jul 29, 2022
Yes, but I do think we should infer
httpforlocalhostor127.0.0.1.ketang commentedon Jul 31, 2022
An alternative is that we require a protocol and do validation on this instead of letting it fail silently.