Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add proxy support #39

Closed
kbrandwijk opened this issue Jan 4, 2018 · 2 comments
Closed

Add proxy support #39

kbrandwijk opened this issue Jan 4, 2018 · 2 comments
Assignees

Comments

@kbrandwijk
Copy link
Contributor

The apollo-link that is created should support a proxy, based on process.env.HTTP_PROXY and process.env.HTTPS_PROXY. Will create a PR for this later.

@gaving
Copy link

gaving commented May 29, 2018

I'd be interested in any updates to this, currently just getting a network error in corporate land (though it's good that the CLI supports a proxy now as per 1.7):-

[Network error]: FetchError: request to https://eu1.prisma.sh/gavin-gilmour-9cd7a4/prisma-test/dev failed, reason: getaddrinfo ENOTFOUND eu1.prisma.sh eu1.prisma.sh:443
Error: request to https://eu1.prisma.sh/gavin-gilmour-9cd7a4/prisma-test/dev failed, reason: getaddrinfo ENOTFOUND eu1.prisma.sh eu1.prisma.sh:443
at new CombinedError (C:\gavin\projects\burn\server\node_modules\graphql-tools\dist\stitching\errors.js:83:28)
at Object.checkResultAndHandleErrors (C:\gavin\projects\burn\server\node_modules\graphql-tools\dist\stitching\errors.js:101:15)
at CheckResultAndHandleErrors.transformResult (C:\gavin\projects\burn\server\node_modules\graphql-tools\dist\transforms\CheckResultAndHandleErrors.js:10:25)
at C:\gavin\projects\burn\server\node_modules\graphql-tools\dist\transforms\transforms.js:19:54
at Array.reduce ()
at applyResultTransforms (C:\gavin\projects\burn\server\node_modules\graphql-tools\dist\transforms\transforms.js:18:23)
at C:\gavin\projects\burn\server\node_modules\graphql-tools\dist\stitching\delegateToSchema.js:82:50
at step (C:\gavin\projects\burn\server\node_modules\graphql-tools\dist\stitching\delegateToSchema.js:32:23)
at Object.next (C:\gavin\projects\burn\server\node_modules\graphql-tools\dist\stitching\delegateToSchema.js:13:53)
at fulfilled (C:\gavin\projects\burn\server\node_modules\graphql-tools\dist\stitching\delegateToSchema.js:4:58)

@maticzav
Copy link
Collaborator

@kbrandwijk is this still relevant?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants