-
Notifications
You must be signed in to change notification settings - Fork 104
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: TypeError: Cannot read property 'networkSynchronization' of undefined #836
Comments
Here is the suspicious log from
|
Did you managed to resolve the issue? |
Hi. We are also running into a similar issue, we're having a hard time figuring out the problem. Did you manage to find the cause of the problem? |
Hi, I am facing the similar issue on preview network for cardano-graphql version == 8.0.3. Do we have a fix for this? |
I'll check it, thanks for reporting that this is still an issue! |
I tried to reproduce it. I think you need to help me, because I couldn't reproduce it. What I did:
And everything was fine: You can see the transaction which I submitted here: https://preprod.cardanoscan.io/transaction/9451f579099900c6e31989556eb4d01854fee2e2c1ebfaa07df6eab0d56ead1e |
Hi @Kammerlo, thanks for your reply.
And I am getting below error while performing rawTx with above on preview network.
|
I found the potential error and will fix it today. @saravadeanil |
@saravadeanil I fixed it. It was an uncatched exception in the ogmios health checker, which lead to an undefined networkSynchronization object. |
@Kammerlo Thanks a lot. For sure, I will test it out. Just to confirm, I should build the cardano-graphql Docker image from the Dockerfile on your fixture branch? |
Yes, check out this branch and then |
@saravadeanil any updates on this? Did it work for you? |
@Kammerlo Sorry for the delay. I was able to perform transaction. The issue is resolved. Thanks a lot 🎉 |
Perfect :) Thanks for the response and I'm glad it worked! I will merge the branch soon. |
I am assuming you will be creating a new release for this fix? @Kammerlo |
I want to get two other PR's into main and then I will build the new release. This will be done hopefully this week. |
Summary
This issue happens when submitTransaction with one transaction from one Shelly-address to one Byron-Address. It's 100% reproducible on my mainnet deployments, but is not reproducible on testnet.
I have several cardano-graphql mainnet deployments with latest version (8.0.0), all of them are reproducible.
Steps to reproduce the bug
No response
Actual Result
The call to submitTransaction API is failed with "graphql: TypeError: Cannot read property 'networkSynchronization' of undefined"
Expected Result
It should work
Environment
let me paste platform environment in later fields.
Platform
Platform version
Ubuntu 20.04.4 LTS
Runtime
Runtime version
20.10.13
The text was updated successfully, but these errors were encountered: