Skip to content
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

TLS problem(mybe) with domain in /etc/hosts with traefik #1259

Open
lostsquirrel opened this issue Apr 7, 2024 · 0 comments
Open

TLS problem(mybe) with domain in /etc/hosts with traefik #1259

lostsquirrel opened this issue Apr 7, 2024 · 0 comments

Comments

@lostsquirrel
Copy link

I use a domain only in /etc/hosts,
get the tls cert by traefik on letencrypt, it's work fine on browser or curl, but not work on restclient
vscode 1.88
restclient 0.25.1
ubuntu 22.04

Error - 5:11:17 PM] Failed to send request:
RequestError: Client network socket disconnected before secure TLS connection was established
	at ClientRequest.<anonymous> (/home/lisong/.vscode/extensions/humao.rest-client-0.25.1/dist/extension.js:252:3306)
	at Object.onceWrapper (node:events:632:26)
	at ClientRequest.emit (node:events:529:35)
	at e.emit (/home/lisong/.vscode/extensions/humao.rest-client-0.25.1/dist/extension.js:558:29932)
	at TLSSocket.socketErrorListener (node:_http_client:501:9)
	at TLSSocket.emit (node:events:517:28)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant