Skip to content

I keep crashing from ECONNRESET even though I catch the errors #607

Closed
@JoeIsCool

Description

@JoeIsCool

I am using the proxy but my code keeps getting ECONNRESET and crashing.

I looked at #488. It seems to be saying to modify the headers of the request. Forgive me if I'm being stupid, but I don't seem to be able to modify the request headers.

How can I stop getting the error or at least catch it? Should I be creating new proxies on every request? (I presently just have one proxy for each site and I reuse them).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions