Skip to content

Error: EEXIST: file already exists when use cert #409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
XiaolongMeng opened this issue Apr 3, 2019 · 3 comments
Closed

Error: EEXIST: file already exists when use cert #409

XiaolongMeng opened this issue Apr 3, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@XiaolongMeng
Copy link

./code-server --cert=./certs/code_server_certificate.crt --cert-key=./certs/code_server.key

ERROR { Error: EEXIST: file already exists, mkdir '/notebooks/notebook/serving/vs_fold/code-server1.408-vsc1.32.0-linux-x64/certs/code_server_certificate.crt'
[stack]: 'Error: EEXIST: file already exists, mkdir '/notebooks/notebook/serving/vs_fold/code-server1.408-vsc1.32.0-linux-x64/certs/code_server_certificate.crt'',
[message]: 'EEXIST: file already exists, mkdir '/notebooks/notebook/serving/vs_fold/code-server1.408-vsc1.32.0-linux-x64/certs/code_server_certificate.crt'',
errno: -17,
code: 'EEXIST',
syscall: 'mkdir',
path: '/notebooks/notebook/serving/vs_fold/code-server1.408-vsc1.32.0-linux-x64/certs/code_server_certificate.crt' }
*** Error in `./code-server': free(): invalid pointer: 0x00000000021fb168 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7ff09390a7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7ff09391337a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7ff09391753c]
./code-server(_ZN4node5StartEiPPc+0x3d9)[0x858a89]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7ff0938b3830]
./code-server(_start+0x29)[0x81e7b9]

@XiaolongMeng XiaolongMeng added the bug Something isn't working label Apr 3, 2019
@liorchamla
Copy link

Same here :-) and an other bug if u use "~/certs" (in case your certs are in your home folder)

@kirintwn
Copy link

kirintwn commented Apr 3, 2019

Duplicated of #378

@nol166
Copy link
Contributor

nol166 commented Apr 3, 2019

closing, lets continue discussion on #378

@nol166 nol166 closed this as completed Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants