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 API doesn't work on macOS #1628

Closed
panticonur opened this issue Dec 10, 2021 · 0 comments · Fixed by #1631
Closed

GraphQL API doesn't work on macOS #1628

panticonur opened this issue Dec 10, 2021 · 0 comments · Fixed by #1631
Labels
bug Something isn't working teamS Scaling

Comments

@panticonur
Copy link
Contributor

cartridge build
cartridge start -d
http://localhost:8081/admin/api

Also ./fetch-schema.sh return errors.

image

./fetch-schema.sh 
...
⚠ request to http://localhost:8081/admin/api failed, reason: connect ECONNREFUSED ::1:8081
diff: 09D00866-45EA-458B-B321-0D4FB77EF873.graphql: No such file or directory
GraphQL schema was updated!
mv: rename 09D00866-45EA-458B-B321-0D4FB77EF873.graphql to doc/schema.graphql: No such file or directory
@yngvar-antonsson yngvar-antonsson added teamS Scaling bug Something isn't working labels Dec 10, 2021
olegrok added a commit that referenced this issue Dec 14, 2021
localhost on macos could be considered as IPv6 adress. It led to
following issue: "reason: connect ECONNREFUSED ::1:8081". Let's
replace it to 127.0.0.1 (that is IPv4 as expected) to solve an
issue.

Closes #1628
olegrok added a commit that referenced this issue Dec 14, 2021
localhost on macos could be considered as IPv6 adress. It led to
following issue: "reason: connect ECONNREFUSED ::1:8081". Let's
replace it to 127.0.0.1 (that is IPv4 as expected) to solve an
issue.

Closes #1628
olegrok added a commit that referenced this issue Dec 14, 2021
localhost on macos could be considered as IPv6 adress. It led to
following issue: "reason: connect ECONNREFUSED ::1:8081". Let's
replace it to 127.0.0.1 (that is IPv4 as expected) to solve an
issue.

Closes #1628
yngvar-antonsson pushed a commit that referenced this issue Dec 15, 2021
localhost on macos could be considered as IPv6 adress. It led to
following issue: "reason: connect ECONNREFUSED ::1:8081". Let's
replace it to 127.0.0.1 (that is IPv4 as expected) to solve an
issue.

Closes #1628
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working teamS Scaling
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants