This is a heads-up for anyone running FileMaker Server on Linux in Docker and experimenting with OttoFMS / MCP.
We run FileMaker Server inside a Docker container and installed OttoFMS in the same container. During setup, OttoFMS failed to list scripts when configuring MCP Tools. The browser console eventually showed timeout error when calling the OData proxy endpoint, for example /otto/fmi/data/vLatest/.../scripts
Admin API calls worked, but OData calls consistently timed out from inside the container, which made this tricky to diagnose.
Root cause (Docker DNS):
Inside the container, OttoFMS was calling FileMaker Server using the public hostname (the one matching the TLS certificate). That hostname resolved via normal DNS to the external host address instead of the local container, causing the connection to go out and back in through networking layers and eventually time out.
Fix:
Override DNS resolution inside the container so the public hostname resolves to loopback:
extra_hosts:
- "fms.hostname.domain:127.0.0.1"
The container must be recreated, not just restarted, for this to take effect.
After this change, OttoFMS can call https://fms.hostname.domain/... internally, the certificate hostname matches, and OData proxy calls (including script listing) work reliably.
One open question: I still do not fully understand why this only affected OData calls and not other FMS communication paths, but the DNS override resolved the issue consistently.