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

wis2box-management hangs on "pywis-topics bundle sync" when external access unavailable #813

Closed
maaikelimper opened this issue Dec 2, 2024 · 1 comment · Fixed by #830
Assignees
Labels
bug Something isn't working
Milestone

Comments

@maaikelimper
Copy link
Collaborator

maaikelimper commented Dec 2, 2024

Troubleshooting Mexico I found the following issue:
their wis2box-management container hung in the /entrypoint on the line
pywis-topics bundle sync

To fix the problem Mexico will need to puncture holes in their firewall for:

    ZIPFILE_URL = 'https://wmo-im.github.io/wis2-topic-hierarchy/wth-bundle.zip'  
    IANA_URL = 'https://data.iana.org/TLD/tlds-alpha-by-domain.txt'

No errors were printed making the problem hard to detect

Can we change the implementation of "pywis-topic bundle sync" in wis2box to avoid hanging the container at startup ? And/or print an error to indicate the issue running this ?

@maaikelimper maaikelimper added the bug Something isn't working label Dec 2, 2024
@maaikelimper maaikelimper added this to the sprint-016 milestone Dec 2, 2024
@tomkralidis tomkralidis self-assigned this Dec 19, 2024
@tomkralidis
Copy link
Collaborator

  • add entrypoint functionality to Dockerfile
  • determine how pywis-topics is used currently and assess

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

Successfully merging a pull request may close this issue.

2 participants