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

Connection Reject by Host #1279

Open
jtsom opened this issue Jun 24, 2024 · 2 comments
Open

Connection Reject by Host #1279

jtsom opened this issue Jun 24, 2024 · 2 comments

Comments

@jtsom
Copy link

jtsom commented Jun 24, 2024

  • REST Client Version: 0.25.1
  • VSCode Version: 1.91.0 (Insiders)
  • OS Version: Windows 11

(Adding this report, as the previous one is over a year old with no updates)

Trying to send any request results in Connection Rejected.

image

Errors messages:

[Error - 3:25:46 PM] Failed to send request:
RequestError: The connection was rejected. Either the requested service isn’t running on the requested server/port, the proxy settings in vscode are misconfigured, or a firewall is blocking requests. Details: RequestError.
	at ClientRequest.<anonymous> (c:\Users\jtsombakos\.vscode-insiders\extensions\humao.rest-client-0.25.1\dist\extension.js:252:3306)
	at Object.onceWrapper (node:events:629:26)
	at ClientRequest.emit (node:events:526:35)
	at e.emit (c:\Users\jtsombakos\.vscode-insiders\extensions\humao.rest-client-0.25.1\dist\extension.js:558:29932)
	at TLSSocket.socketErrorListener (node:_http_client:495:9)
	at TLSSocket.emit (node:events:514: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)

Steps to Reproduce:

  1. Try to send request

Oddly, running the exact same code, but with the release version of VS Code (1.90.2), can send the request successfully without error.

@jtsom
Copy link
Author

jtsom commented Aug 16, 2024

This is still happening with the latest VSCode Insiders.

It is now also NOT working using the release version of VSCode (1.92.2)

@Alumniminium
Copy link

Alumniminium commented Sep 18, 2024

Confirming the same issue on 1.93.0, 1.93.1 and 1.94-insiders, REST Client Version: 0.25.1, Linux

This is just great timing, i just finished uninstalling postman and rewriting everything to use .http files instead and now everything is broken suddenly.

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

2 participants