Huachao / vscode-restclient

REST Client Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=humao.rest-client
MIT License
5.31k stars 444 forks source link

Connection was rejected error #1169

Open Tusshu opened 1 year ago

Tusshu commented 1 year ago

Using Rest Client on MacOS Ventura 13.4 and VSCode 1.80.0. https url reports connection was rejected error. The URL works in Postman and Browser.

Screenshot 2023-07-09 at 9 39 49 AM
Tusshu commented 1 year ago

Used https://localhost:8443/test also tried https://127.0.0.1:8443/test

Tusshu commented 1 year ago

Tried https://www.google.com and received the following response: google response

Tusshu commented 1 year ago

For some reason https://www.ibm.com works.

Huachao commented 1 year ago

@Tusshu Could you please paste your request?

nachoalonsoportillo commented 1 year ago

And, @Tusshu, make sure you're not enclosing the URL in single quotes, double quotes or any other character, for that matter.

That may perfectly cause this error because nothing in the call stack from the request controller to the got Promise API is coded to deal with the removal of any enclosing characters.