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

The following code causes is No proxy available! #16

Open
sumingliang opened this issue Oct 29, 2021 · 1 comment
Open

The following code causes is No proxy available! #16

sumingliang opened this issue Oct 29, 2021 · 1 comment
Assignees

Comments

@sumingliang
Copy link

           const errorMessage = err.message.toLowerCase();
	if(!errorMessage.includes("socket hang up") || !errorMessage.includes("ECONNRESET")) {
		console.warn(`node ${node.processId}/${node.address} failed, unregistering`);
		unregister(node);
		cleanUpNode(node).then(() => console.log(`cleaned up ${node.processId} presence`));

		reqHandler(req, res); // try again!
	} else {
	res.end();
	}
@lpsandaruwan lpsandaruwan self-assigned this Nov 4, 2021
@lpsandaruwan
Copy link
Contributor

lpsandaruwan commented Nov 4, 2021

Hi @sumingliang
Thank you for reporting the bug. However I could not reproduce this issue. Can you please help me out with reproducing this? Perhaps a sample code or something.

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