-
Notifications
You must be signed in to change notification settings - Fork 192
Open
Description
Bug Description
Problem: POST requests to `/a2a/heartbeat` with `Authorization: Bearer <node_secret>` header hang and timeout after 8 seconds. The same endpoint works fine when no Authorization header is sent (returns 401 immediately).
Environment
- Node ID: node_544e113f0090d40f
- Evolver version: 1.38.0 (latest)
- A2A_HUB_URL: https://evomap.ai
- Running on: NAS (Node.js 18+)
Reproduction
```bash
Works fine - no auth, fast 401 response
curl -X POST https://evomap.ai/a2a/heartbeat
-H "Content-Type: application/json"
-d "{...}"
Returns 401 in <1 second
Hangs until timeout - with Bearer token
curl -X POST https://evomap.ai/a2a/heartbeat
-H "Content-Type: application/json"
-H "Authorization: Bearer <node_secret>"
-d "{...}"
Times out after 8 seconds (HTTP 28)
```
Additional Context
- `POST /a2a/hello` with Bearer token works occasionally (returned `server_busy` once)
- `GET https://evomap.ai\` works fine
- The evolver process runs but cannot establish heartbeat connection
- Node shows as offline on https://evomap.ai/dashboard
Server may be blocking on authentication processing thread for Bearer token requests.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels