Swarm Troubleshooting
This section provides a list of common errors that can occur when deploying agents and their resolutions. If you encounter an error not listed here, please contact support.
Volume not found
<ERROR> : Volume not found
- Description: The agent has been started with no volume attached - or, at least, the agent could not find any.
- Resolution: Check the volumes on the node and their mapping to the agent.
400 - Port mismatch
<ERROR> Cannot announce the agent: 400: 400 Bad Request.
'Error parsing response body: [json.exception.out_of_range.403] key 'statusCode' not found,
raw: ("message":"Port mismatch","type":"invalid","data":("params":null,"actions_required":null))':
Invalid http response
- Description: There is a mismatch between the port specified in the configuration and the port of the announced agent.
- Resolution: Update the port of the agent to be aligned with the one in the announce.
403 - Secret not found
<ERROR> Cannot announce the agent: 403: 403 Forbidden.
'Error parsing response body: [json.exception.out_of_range.403] key 'statusCode' not found,
raw: ("message":"Secret *** not found","type":"forbidden","data":("params":null,"actions_required":null))':
Invalid http response
- Description: Customer should fix the secret provided to the agent.
- Resolution: User should check that the correct secret is aligned with the one in announce.
409 - Agent with the same public key already exists
<ERROR> Cannot announce the agent: 409: 409 Conflict.
'Error parsing response body: [json.exception.out_of_range.403] key 'statusCode' not found,
raw: ("message":"Agent with the same public key already exists","type":"conflict","data":("params":null,"actions_required":null))':
Invalid http response
- Description: The agent is started with the disk of another agent mounted on him.
- Resolution: Check disks are mounted on the same configuration they had during the first start. Eventually update the configuration on the web interface and redeploy the agent.
409 - Secret mismatch
<ERROR> Cannot announce the agent: 409: 409 Conflict.
'Error parsing response body: [json.exception.out_of_range.403] key 'statusCode' not found,
raw: ("message":"Announce: secret mismatch","params":["agent.secret_id","secret.id"])':
Invalid http response
- Description: The agent is starting without secrets.
- Resolution: Check carefully the secrets provided to the agents.
409 - Agent is not in pending status
<ERROR> Cannot announce the agent: 409: 409 Conflict.
'Error parsing response body: [json.exception.out_of_range.403] key 'statusCode' not found,
raw: ("message":"agent is not in pending status","type":"conflict","data":("params":null,"actions_required":null))':
Invalid http response
- Description: Agent is announcing itself with the wrong public key.
- Resolution: Check correct public key in the announce.
503 - Service Unavailable. System under maintenance
<ERROR> Cannot announce the agent: 503: 503 Service Unavailable.
'Error parsing response body: [json.exception.out_of_range.403] key 'statusCode' not found,
raw: ("message":"under maintenance","type":"under-manteinance","data":("params":null,"actions_required":null))':
Invalid http response
- Description: System is under maintenance.
- Resolution: Check status page.
composer-hub.cubbit.eu: Host not found
<ERROR> composer-hub.cubbit.eu : Host not found (non-authoritative),
try again later: Unknown error
- Description: Temporary network issue.
- Resolution: Ignore.
composer-hub.cubbit.eu: Operation timed out
<ERROR> composer-hub.cubbit.eu : Operation timed out: Unknown error
- Description: Temporary network issue.
- Resolution: Ignore.