-
Notifications
You must be signed in to change notification settings - Fork 1
Agent Fails to Start (SSL Certificate Error) #19
Copy link
Copy link
Open
Description
Describe the bug
When starting the Docker container using portabase/agent:latest, the agent fails to start due to an SSL certificate error. It cannot connect to portabase.app.internal because rustls is unable to verify the server's certificate issuer (UnknownIssuer).
To Reproduce
Steps to reproduce the behavior:
- Start the
portabase-dashboardcontainer with the environment variablePROJECT_URL=https://portabase.app.internal - Complete the initial setup (account creation, etc.) on the dashboard
- Pull the agent image:
docker pull portabase/agent:latest - Start the
portabase-agentcontainer - See error
Expected behavior
The agent starts successfully and establishes a connection to portabase.app.internal.
Additional context
Full error log:
ERROR An error occurred while executing task ping_server: Http(reqwest::Error { kind: Request, url: "https://portabase.app.internal/api/agent/f28ef39c-0b52-41b1-a506-84005d6b7d1f/status", source: hyper_util::client::legacy::Error(Connect, Custom { kind: Other, error: Custom { kind: InvalidData, error: InvalidCertificate(UnknownIssuer) } }) })
The root cause is likely that the Docker image does not include the necessary root CA certificates, or rustls-native-certs is not configured correctly inside the container.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels