Skip to content

Add EHOSTUNREACH to NetworkRetryErrors list #372

@adviri

Description

@adviri

Hello,

I have noticed that the NetworkRetryErrors list in lib/HttpClient.ts.js does not include EHOSTUNREACH.

const NetworkRetryErrors: string[] = ['ECONNRESET', 'ENOTFOUND', 'ESOCKETTIMEDOUT', 'ETIMEDOUT', 'ECONNREFUSED'];

I happened to encounter EHOSTUNREACH errors due to temporary network issues. I believe it would be beneficial to include EHOSTUNREACH in the NetworkRetryErrors list so that requests encountering this error can be retried.

Thank you for your time :)

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions