-
Notifications
You must be signed in to change notification settings - Fork 11
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
Transaction query returns error when using pubnet #188
Comments
Hello @ManuelaGar! I didn't try your setup yet, but looking on the screenshot you provided I can say that you provided wrong argument to the query. You provided account public key, not the transaction's hash You can try to fix that first, and I'll try your setup soon And thank you for trying out Astrograph! ⭐️ |
Hi @charlie-wasp, Yes, my bad, but even with the transaction hash I get the same outcome. Thanks for your quick response anyway, I will wait for you to try it out! :) Also, I forgot that I added the .env file in Astrograph, here are its contents: |
@ManuelaGar hello again, sorry for the late reply. I decided to walk an extra mile and prepare I added the section in For the pubnet you can run the next commands:
The point is that Astrograph architecture has changed significantly and infrastructure around it became more complex. And we didn't reflect it in the docs (sorry about that!) 😅 So unfortunately your setup was not sufficient for Astrograph to run properly Talking particularly about your issue, I tried on our pubnet setup and I couldn't reproduce it. You can try your query here So I would advise you to try the new setup, or if you're just interested in running queries, try our pubnet and testnet sandboxes. Also, if you're using Keybase, Astrograph has a dedicated chat there, so you can ask any questions there |
Dear @charlie-wasp, Wow! Thank you so much for helping me out. I am planning on running queries on the stellar network but it will be just a small part of a healthcare application I am planning on building, so thank you again for this :) Astrograph is awesome! |
Hi! I would be really grateful if you could help me out.
Intended outcome: To retrieve transaction data using the transaction hash when queried.
Actual outcome: I get the following error:
And in the terminal:
error: Converting circular structure to JSON {"extensions":{"code":"INTERNAL_SERVER_ERROR","exception":{"stacktrace":["TypeError: Converting circular structure to JSON"," at JSON.stringify (<anonymous>)"," at prettyJSONStringify (/Users/mgh/Desktop/astro-stellar/astrograph/node_modules/apollo-server-core/src/runHttpQuery.ts:457:15)"," at /Users/mgh/Desktop/astro-stellar/astrograph/node_modules/apollo-server-core/src/runHttpQuery.ts:330:16"," at Generator.next (<anonymous>)"," at fulfilled (/Users/mgh/Desktop/astro-stellar/astrograph/node_modules/apollo-server-core/dist/runHttpQuery.js:5:58)"," at process._tickCallback (internal/process/next_tick.js:68:7)"]}},"timestamp":"2020-02-14T15:53:50.214Z"}
How to reproduce the issue: I am using a different stellar core than what is suggested (I couldn't get the suggested one running). Here is the content of the docker-compose.yaml file:
docker-compose.docx
I already made a transaction in pubnet and tried to query for the transaction data, here is the hash: b5f34cb4031b7c35502a628b6be2f46260bb3154fea51003ed62ba950781324f
The text was updated successfully, but these errors were encountered: