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

CKAN and Datapusher not listening on IPv6 Interfaces #65

Open
dtufood-kihen opened this issue May 15, 2024 · 0 comments
Open

CKAN and Datapusher not listening on IPv6 Interfaces #65

dtufood-kihen opened this issue May 15, 2024 · 0 comments
Assignees

Comments

@dtufood-kihen
Copy link

CKAN and Datapusher Not Listening on IPv6 Interfaces

Description

Currently, the CKAN and Datapusher containers are configured to listen only on IPv4 interfaces. This configuration causes commands such as wget http://localhost:5000 to fail when IPv6 is enabled. The issue arises because CKAN/Datapusher does not listen on the IPv6 loopback interface (::1). Given that IPv6 is now the default in Docker, this can lead to connectivity problems.

Steps to Reproduce

  1. Ensure IPv6 is enabled on your Docker setup (default in Docker v26).
  2. Run the CKAN and Datapusher containers.
  3. Execute the command: wget http://localhost:5000.

Expected Behavior

The command should successfully retrieve the web page, indicating that CKAN/Datapusher is listening on both IPv4 and IPv6 interfaces.

Actual Behavior

The command fails with an error, indicating that CKAN/Datapusher is not listening on the IPv6 loopback interface. However, wget http://127.0.0.1:5000 succeeds, confirming that the services are listening on the IPv4 loopback interface.

Proposed Solution

To resolve this issue, update the HTTP listeners in the containers from --http 0.0.0.0:5000 to --http [::]:5000. This change ensures that the services listen on all available IPv4 and IPv6 interfaces.

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

2 participants