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.

Unable to use allow-http-, auth: none

See original GitHub issue

Although I found few references to using --allow-http, and --auth none in few issues, I still wasn’t able to use them myself. My docker-compose file is:

version: '3.3'

services:
  code-server:
    image: code-server-hw
    volumes:
      - ./project:/home/coder/project
    ports:
      - "48080:8080"
    command:
      - "--allow-http"
      - "--auth none"

The results are:

code-server_1  | Option 'allow-http' is unknown. Ignoring.
code-server_1  | Option 'auth none' is unknown. Ignoring.
code-server_1  | Option 'allow-http' is unknown. Ignoring.
code-server_1  | Option 'auth none' is unknown. Ignoring.
code-server_1  | info  Server listening on http://0.0.0.0:8080
code-server_1  | info    - Password is 44a2da8ed099563b9d903813
code-server_1  | info      - To use your own password, set the PASSWORD environment variable
code-server_1  | info      - To disable use `--auth none`
code-server_1  | info    - Not serving HTTPS

version info:

Version: 1.41.1
Commit: f51e045cd5483561afc07694f39307fb673b6d1d
Date: 2020-01-17T22:58:55.612Z
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36 Edg/80.0.361.66
Code Server Version: 2.1698-vsc1.41.1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
mahmoudajawadcommented, Mar 19, 2020

I see. I’ll give this a shot with v3 and post what I find back here. However, I’m closing this as it’s already answering all my concerns.

Thanks and keep up that good work. Also, stay safe 🙌.

1reaction
code-ashercommented, Mar 19, 2020

The base path was removed in v3 so you’ll need to use that. Based on your version output you’re still on v2 which requires the base-path flag.

Read more comments on GitHub >

github_iconTop Results From Across the Web

coder/code-server - Unable to use allow-http-, auth: none
To my understanding the option base-path isn't required anymore, and all issues regarding the same ended up resolving the issue by enabling ...
Read more >
"HTTPS required" while logging in to Keycloak as admin
I am using Keycloak (version 1.0.4.Final) in JBOSS AS 7.1.1 server. The server is on Amazon AWS. I am able to start the...
Read more >
Set-OfficeWebAppsFarm (OfficeOnlineServerPowerShell)
The friendly name of the certificate to use for server-to-server authentication with SharePoint Server. Type: String. Position: Named. Default value: None.
Read more >
Access-Control-Allow-Headers - HTTP - MDN Web Docs
In requests with credentials, it is treated as the literal header name " * " without special semantics. Note that the Authorization header...
Read more >
525629 – vncserver fails with unrecognized option: -nohttpd ...
Summary: vncserver fails with unrecognized option: -nohttpd using default ... scheme to use for incoming connections (None, VncAuth) (default=VncAuth) ...
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