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

requests.exceptions.HTTPError: 503 Server Error: Service Temporarily Unavailable for url: https://overpass.monicz.dev/api/interpreter #8

Closed
matkoniecz opened this issue Apr 26, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@matkoniecz
Copy link

Traceback (most recent call last):
  File "/app/main.py", line 103, in wrapper
    exit_code = func(*args, **kwargs)
                ^^^^^^^^^^^^^^^^^^^^^
  File "/app/main.py", line 186, in main
    diff = overpass.get_changeset_elements_history(changeset, steps, query_filter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/overpass.py", line 216, in get_changeset_elements_history
    result = self._get_changeset_elements_history(changeset, steps, query_filter, base_url)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/overpass.py", line 257, in _get_changeset_elements_history
    partition_diff = fetch_overpass(c, base_url + '/interpreter', partition_query)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/overpass.py", line 159, in fetch_overpass
    response.raise_for_status()
  File "/app/.venv/lib/python3.11/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 503 Server Error: Service Temporarily Unavailable for url: https://overpass.monicz.dev/api/interpreter
🏁 Total time: 8.4 sec
Exit code: 254
@Zaczero
Copy link
Owner

Zaczero commented Apr 26, 2023

Przełączyłem tymczasowo na https://overpass-api.de/api/.

Po ostatniej aktualizacji overpassa coś się wysypało i zacząłem dostawać błędy jak te:
wiktorn/Overpass-API#104
drolbr/Overpass-API#691

Zrobiłem reinstall i przy okazji przeniosłem dane na większy zdalny dysk ale okazało się, że overpass przetrzymuje sockety w tym samym folderze co dane, co uniemożliwia mu poprawne funkcjonowanie poprzez Sambę:
drolbr/Overpass-API#690

Nie idzie też tego jakoś logicznie zorganizować bez tworzenia cudów.

Poczekam kilka dni na rozwój sytuacji i zobaczymy co dalej.

W każdym bądź razie revert teraz powinien już działać poprawnie.

@Zaczero Zaczero closed this as completed Apr 26, 2023
@Zaczero Zaczero added the bug Something isn't working label Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants