apollographql / apollo-server

🌍  Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more.
https://www.apollographql.com/docs/apollo-server/
MIT License
13.79k stars 2.03k forks source link

Disable external network requests #7623

Closed aclarknexient closed 1 year ago

aclarknexient commented 1 year ago

Hello,

We're deploying Apollo server for the first time, and we've noticed that the devtools send a lot of calls to external sites like "launchdarkly.com", "*.stripe.com", etc.

I tried setting the APOLLO_TELEMETRY_DISABLED=1 in both the dockerfile for the task, and in the task definition, but neither stopped the external calls.

Is there a way to operate the server without any network requests except those between the browser and the service?

Thank you

trevor-scheer commented 1 year ago

That's a rover configuration. The option to disable telemetry is in the docs.

Aeolun commented 1 year ago

I have this setting enabled, but the landing page is still happily sending requests to both sentry and https://graphql.api.apollographql.com/api/graphql, and an initial call to stripe, though it doesn't look like anything more goes after the first request. I don't think that should be happening?

trevor-scheer commented 1 year ago

Thanks @Aeolun, I opened an issue for it.

github-actions[bot] commented 1 year ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. For general questions, we recommend using StackOverflow or our discord server.