Skip to content

How to fix/retry on this error "The proxy responded with 590 UPSTREAM503" ? #542

@geminigeek

Description

@geminigeek

hi,

i am using got-scraping with proxy-chain , when i make a request from got-scraping , i get a burst of these errors some time , not always.

is there a way to diagnose and fix this ? or is this a got-scraping issue ?

error.message

The proxy responded with 590 UPSTREAM503
The proxy server rejected the request with status code 590 (UPSTREAM503)

i am thinking about two options/way to fix this.

  1. with a retry option that can detect it and retry with got built in retry mechanism, How to do this ?
  2. an option to catch this error in try catch block and retrying the request. this i have implemented but i want got to handle this with its retry! How to handle this

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