Created
March 23, 2019 19:39
-
-
Save relwell/8c1411bc28509924409874d31d3515f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Query | |
query { | |
synonyms { | |
id | |
text | |
} | |
} | |
# Response | |
{ | |
"errors": [ | |
{ | |
"message": "could not connect to server: Connection refused\n\tIs the server running on host \"localhost\" (::1) and accepting\n\tTCP/IP connections on port 5432?\ncould not connect to server: Connection refused\n\tIs the server running on host \"localhost\" (127.0.0.1) and accepting\n\tTCP/IP connections on port 5432?\n", | |
"locations": [ | |
{ | |
"line": 2, | |
"column": 3 | |
} | |
], | |
"path": [ | |
"synonyms" | |
], | |
"extensions": { | |
"code": "INTERNAL_SERVER_ERROR", | |
"exception": { | |
"errors": [ | |
{ | |
"message": "could not connect to server: Connection refused\n\tIs the server running on host \"localhost\" (::1) and accepting\n\tTCP/IP connections on port 5432?\ncould not connect to server: Connection refused\n\tIs the server running on host \"localhost\" (127.0.0.1) and accepting\n\tTCP/IP connections on port 5432?\n", | |
"locations": [], | |
"path": [ | |
"synonyms" | |
] | |
} | |
], | |
"stacktrace": [ | |
"Error: could not connect to server: Connection refused", | |
"\tIs the server running on host \"localhost\" (::1) and accepting", | |
"\tTCP/IP connections on port 5432?", | |
"could not connect to server: Connection refused", | |
"\tIs the server running on host \"localhost\" (127.0.0.1) and accepting", | |
"\tTCP/IP connections on port 5432?", | |
"", | |
" at new CombinedError (/usr/src/app/node_modules/graphql-tools/dist/stitching/errors.js:82:28)", | |
" at Object.checkResultAndHandleErrors (/usr/src/app/node_modules/graphql-tools/dist/stitching/errors.js:98:15)", | |
" at CheckResultAndHandleErrors.transformResult (/usr/src/app/node_modules/graphql-tools/dist/transforms/CheckResultAndHandleErrors.js:9:25)", | |
" at /usr/src/app/node_modules/graphql-tools/dist/transforms/transforms.js:18:54", | |
" at Array.reduce (<anonymous>)", | |
" at applyResultTransforms (/usr/src/app/node_modules/graphql-tools/dist/transforms/transforms.js:17:23)", | |
" at /usr/src/app/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:97:50", | |
" at step (/usr/src/app/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:31:23)", | |
" at Object.next (/usr/src/app/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:12:53)", | |
" at fulfilled (/usr/src/app/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:3:58)" | |
] | |
} | |
} | |
} | |
], | |
"data": { | |
"synonyms": null | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment