Skip to content

[ERROR] urllib.error.URLError urlopen error [Errno 54] Connection reset by peer #143

@ratan1st

Description

@ratan1st

Hey guys,

So, I've been using the wrapper class for the Amazon Product API (Thanks for the awesome wrapper, by the way) for the last two weeks - and have been using it to get all(!) of Amazon's products for certain categories.

My code has been working fine all this time. But of late, I've been getting this error. From what I've read online - it could possibly mean that Amazon's bot detector is resetting my connection. The solutions online have mentioned I could try including a browser header while making the API call, or using multiple proxies to avoid bot detection.

Is there any way I can include a header while making the API call given that I'm using the wrapper class? Or any other fix for this particular issue? Or does the error mean something entirely different in this case?

(And while we're on the topic, how exactly does the wrapper class make the API calls?)

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions