Comments (4)
Please note this response was created using generative AI leveraging previously available information from the repository. This information may be helpful however it is our strong recommendation that you carefully consider the information before blindly applying it.
Based on the detailed description and logs you provided, it seems like the issue is related to the network connectivity between the Authelia container and the Redis container. Here are a few steps and checks you can perform to troubleshoot and potentially resolve the issue:
-
Network Configuration: Ensure that both the Authelia and Redis containers are on the same Docker network. This allows them to communicate with each other using their container names as hostnames.
-
Redis Host Configuration: In your Authelia configuration, you have specified the Redis host using an IPv4 address. Instead, try using the container name of the Redis server as the host. For example:
redis: host: 'redis' # Use the container name instead of the IP address port: '6379'
-
Check Redis Logs: Since the Redis logs do not show any attempt of connection from the Authelia container, it's possible that the connection attempts are not reaching the Redis container. This could be due to network misconfiguration or firewall rules.
-
Firewall and Security Groups: Check if there are any firewall rules or security groups that might be blocking the connection between the containers.
-
Redis Configuration: Ensure that the Redis container is configured to accept connections from other containers. This can typically be controlled through Redis configuration files or startup command flags.
-
Container Restart: Sometimes, simply restarting the containers can resolve transient network issues.
-
Use Docker Compose: If you are not already using Docker Compose, it might help to define your containers and their network settings in a
docker-compose.yml
file. This ensures that all containers are configured consistently. -
Debugging Logs: Increase the logging level in both Authelia and Redis to get more detailed logs that might provide additional insights into the issue.
If after trying these steps the issue persists, it might be helpful to provide the configuration of your Docker network and any additional logs that might have relevant information.
This comment was generated by Glime.
from authelia.
To me this looks like a network issue (the improperly redacted IP is refusing connections on that port). Please show the output of running a separate redis CLI container on the same container network as authelia using the CLI to connect as well as the redis logs for both the authelia connection attempts and the CLI connection attempts.
from authelia.
Yep, this was a network issue; I didn't really bother to figure out what went wrong (update from podman 4 -> 5 seems like a likely culprit but couldn't tell more closely). I put all containers into a pod and used localhost as host and it all works, seems - probably - the podman upgrade broke inter-container communication since the redis container was reachable from non-container locations as described in the bug report.
from authelia.
Closing this as not a bug with Authelia.
from authelia.
Related Issues (20)
- TOTP is a hit or a miss (mostly a miss) HOT 6
- BUG: `AUTHELIA_TOPT_DISABLE` environment variable not respected in place of configuration.yml setting HOT 3
- INACCURATE DOCS: Docs claim `AUTHELIA_TOPT_DISABLE` environment variable is valid HOT 5
- authelia storage encryption change-key not working properly HOT 2
- Create a change password workflow HOT 1
- Relying party support for OIDC HOT 1
- UnifiedPush (ntfy) support for Mobile Push HOT 13
- Error while deploying authelia HOT 1
- Add inspect menu to totp credentials in user settings HOT 2
- SMTP - Authelia does not atempt to authenticate on custom mail server HOT 8
- SCIM 2.0 API support
- After login the "Loading" page keeps refreshing every seconds HOT 1
- Implement configuration to allow admins to disable password change HOT 1
- Webhook Notifier
- Support of multiple authentication methods on GUI HOT 6
- Client Assertion fails with jti was already used error on first use. HOT 17
- LDAP group attribute is now case sensitive (unexpected/breaking change?) HOT 7
- Set password expiration policy HOT 2
- Cloudflare Zero Trust validation
- Add "developer" config directly to the container HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from authelia.