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

graphql-faker docker certificate has expired #117

Closed
Antiarchitect opened this issue Jun 1, 2020 · 1 comment
Closed

graphql-faker docker certificate has expired #117

Antiarchitect opened this issue Jun 1, 2020 · 1 comment

Comments

@Antiarchitect
Copy link
Contributor

Antiarchitect commented Jun 1, 2020

I'm using official docker image of graphql-faker apisguru/graphql-faker:v2.0.0-rc.19 and getting this:

Default file ./schema_extension.faker.graphql is used. Specify [file] parameter to change.
Error: Can't get introspection from https://api-voronkov-rename-cache-folders.stages.xxx/graphql:
request to https://api-voronkov-rename-cache-folders.stages.xxx/graphql failed, reason: certificate has expired
    at graphqlRequest.then.catch (/usr/local/share/.config/yarn/global/node_modules/graphql-faker/dist/utils.js:31:15)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

But from the local machine all is ok:

graphql-faker --extend https://api-voronkov-rename-cache-folders.stages.xxx/graphql
Default file ./schema_extension.faker.graphql is used. Specify [file] parameter to change.

✔ Your GraphQL Fake API is ready to use 🚀
  Here are your links:

  ❯ Interactive Editor: http://localhost:9002/editor
  ❯ GraphQL API:        http://localhost:9002/graphql
@Antiarchitect Antiarchitect changed the title graphql-faker docker graphql-faker docker certificate has expired Jun 1, 2020
@IvanGoncharov
Copy link
Member

Fixed in #118
@Antiarchitect Big thanks for PR 👍

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

No branches or pull requests

2 participants