ws-availability: Troubleshooting¶
Troubleshooting¶
If the service isn't working — often right after an upgrade — it's usually a configuration problem:
- Check the logs for runtime errors or connection failures:
docker logs fdsnws-availability-api
docker logs fdsnws-availability-cacher
- Verify
config.pyhas every field the current version expects. New versions add keys; list what yours is missing versus the sample:
diff <(grep -oE '^[[:space:]]*[A-Z_]+ =' config.py | tr -d ' =' | sort -u) \
<(grep -oE '^[[:space:]]*[A-Z_]+ =' config.py.sample | tr -d ' =' | sort -u)
Lines prefixed > are keys present in the sample but missing from your config.py — add them.
- Check database access — confirm the MongoDB and Redis connection parameters in
config.pyare correct and that both services are reachable from the containers.
Source: EIDA/ws-availability (master)