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

MaxRetryError #508

Open
blowk opened this issue Sep 17, 2024 · 7 comments
Open

MaxRetryError #508

blowk opened this issue Sep 17, 2024 · 7 comments

Comments

@blowk
Copy link

blowk commented Sep 17, 2024

I haven't to be able to run this and getting the following error:

Error occurred while fetching data: ConnectionError(MaxRetryError("HTTPSConnectionPool(host='api.recycleapp.be', port=443): Max retries exceeded with url: /api/app/v1/access-token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fe6efee7e00>: Failed to establish a new connection: [Errno -2] Name does not resolve'))"))

Does anyone else has the same problem? Do we need to change the access-token?

@pippyn
Copy link
Owner

pippyn commented Sep 17, 2024

What is your config?

@blowk
Copy link
Author

blowk commented Sep 17, 2024

Hi

  wastecollector: RecycleApp
  resources:
    - restafval
    - papier
    - pmd
  postcode: 8500
  streetname: Budastraat 
  streetnumber: 52
  builtinicons: 1
  builtiniconsnew: 1
  upcomingsensor: 1
  dutch: 1
  dateformat: '%d-%m-%Y'

The address is an example.
It was working before, but today I got this message and wasn't be able to get it right.

@pippyn
Copy link
Owner

pippyn commented Sep 17, 2024

There is definitely an issue with the RecycleApp API.
I'll look for an solution asap.

@jessedobbelaere
Copy link

Came here to post the same 🙇 Thanks for checking it out!

@XalaTheShepard
Copy link

Thanks for looking into the issue 🙂

@Christophe999s
Copy link

In the file /homeassistant/custom_components/afvalbeheer/API.py, change line 1149 to
self.main_url = 'https://www.recycleapp.be/api/app/v1/'
api.recycleapp.be doesn't resolve anymore, but the api seems to work fine using www.recycleapp.be
Back up and running for me
Screenshot 2024-09-18 at 08 44 03

@pippyn
Copy link
Owner

pippyn commented Sep 18, 2024

Fixed in v5.4.2

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

5 participants