1.408 doesn't work with --cert args
See original GitHub issuecode-server
version:1.408-vsc1.32.0
- OS Version: Ubuntu Server 18.04 LTS (VM on Hyper-V)
Description
Trying to run code-server
with --cert
and --cert-key
arguments causes application to exit issuing error EEXIST: file already exists, mkdir '<cert-path>'
.
Steps to Reproduce
- Acquire certificates for HTTPS operation
- Try to run code-server with certificates, e.g.
./code-server --cert fullchain.pem --cert-key privkey.pem
Error shown
Below is a complete example of the error I am getting when running code-server following above steps:
lucas@u1804-coder:~/code-server1.408-vsc1.32.0-linux-x64$ ./code-server --cert fullchain.pem --cert-key privkey.pem
ERROR { Error: EEXIST: file already exists, mkdir '/home/lucas/code-server1.408-vsc1.32.0-linux-x64/fullchain.pem'
[stack]: 'Error: EEXIST: file already exists, mkdir \'/home/lucas/code-server1.408-vsc1.32.0-linux-x64/fullchain.pem\'',
[message]: 'EEXIST: file already exists, mkdir \'/home/lucas/code-server1.408-vsc1.32.0-linux-x64/fullchain.pem\'',
errno: -17,
code: 'EEXIST',
syscall: 'mkdir',
path: '/home/lucas/code-server1.408-vsc1.32.0-linux-x64/fullchain.pem' }
free(): invalid pointer
Aborted (core dumped)
Previous versions
This error does not happen on previous code-server
version 1.32.0-310
.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:8
- Comments:9 (3 by maintainers)
Top Results From Across the Web
1.408-vsc1.32.0 report error : TypeError: Path must be a string.
Hi, Sorry for replying things that's unrelated to your issue. How do you solve the problem running code-server binary on CentOS ? code-server:...
Read more >26 CFR § 1.408-2 - Individual retirement accounts.
(A) To Receive, issue receipts for, and safely keep securities;. (B) To collect income;. (C) To execute such ownership certificates, to keep such...
Read more >Solved: SSLError: certificate verify failed - Cloudera Community
I'm working on deploying the cluster using self signed certificates but I'm running into the below issue and can't get past it:.
Read more >Unable to find valid certification path to requested target - error ...
Solution: Copy the real cacerts file (you can do it from another JDK) to /etc/ssl/certs/java/ directory and it'll solve your problem :) Share....
Read more >Solving problems calling out of CF via https, by updating JVM
A very common problem is that someone has found instructions on the web showing how to use the java keytool to import the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Got exact same error too, another workaround for now might be using reverse proxy like nginx to perform ssl transmission.
Fixed with the latest release!