-
Notifications
You must be signed in to change notification settings - Fork 9
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
Oasis Node not working after upgrade to v2.7.0 #534
Comments
Based on the error message, it seems that decoding the Recently, we did a breaking upgrade to 24.0 and latter to 24.1. Did you upgrade your oasis node to the latest version 24.1? |
Hi @peternose we are getting same logs with newest image as well: ok: run: node: (pid 9) 0s, |
This will probably not solve the problem, but you should change file permissions on |
ok @peternose please let us know if you have any solution |
I don't think this is related to the upgraded rosetta gateway, but the oasis-node. Can you check/attach the oasis-node logs too? Make sure you are running the latest version (see here https://docs.oasis.io/node/mainnet/)? |
Hi @matevz the above logs are from node only and we running latest version only |
Hi @matevz just following up |
Did you change the permission of the
|
Hi @matevz yes i have done that |
does the oasis node crash? |
Hi @pro-wh node is up but since not syncing and curl queries not working also |
HI @pro-wh we are getting following type of logs : level=error ts=2024-09-19T09:37:32.787336593Z caller=main.go:210 module=oasis-rosetta-gateway msg="failed to obtain chain ID from Oasis node" err="failed to get status from node: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /data/internal.sock: connect: connection refused"", |
these are logs from the gateway, can you check on the oasis node? https://github.com/oasisprotocol/oasis-rosetta-gateway?tab=readme-ov-file#running-the-gateway |
Hi @pro-wh we are not running oasis node / cli. We are simple running oasis rosetta gateway using docker. Steps: mkdir -p /tmp/rosetta-data/etc then sudo ls -al /tmp/rosetta-data Also, the logs that i have shared are the only logs from docker we are getting Can you help me with tcp and udp ports to be opened for firewall? |
but the docker image does run oasis-node, and it should be logging things if it has any trouble https://github.com/oasisprotocol/oasis-rosetta-gateway/blob/v2.7.0/docker/service/node/run can you investigate why there's no output?
I think the oasis-node program needs to connect to peers over the publicly routable internet in general |
Hi @pro-wh i have restarted the node with image v2.6.0 from scratch and its syncing properly but when I tried with new image v2.7.0 i was getting following error logs : level=info ts=2024-10-23T05:20:38.091246797Z caller=main.go:192 module=oasis-rosetta-gateway msg="waiting for node socket to appear..." socket_path=/data/internal.sock seems peer issue is happening with this 2.7.0 image |
https://docs.oasis.io/node/mainnet/#network-parameters you can try these seeds from Oasis |
Hi i am getting following logs after upgrading to v2.7.0:
oasis-rosetta | ok: run: node: (pid 10) 0s
oasis-rosetta | {"caller":"node.go:451","level":"info","mode":"client","module":"oasis-node","msg":"Starting oasis-node","ts":"2024-07-29T13:14:23.665671707Z","version":"23.0.7-git510099930"}
oasis-rosetta | level=debug ts=2024-07-29T13:14:23.800124334Z caller=oasis.go:136 module=oasis msg="Establishing connection" grpc_addr=unix:/data/internal.sock
oasis-rosetta | level=error ts=2024-07-29T13:14:23.80118495Z caller=grpc.go:242 module=grpc/client msg="request failed" method=/oasis-core.NodeController/GetStatus req_seq=1 rsp="unsupported value type" err="rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /data/internal.sock: connect: connection refused""
oasis-rosetta | level=debug ts=2024-07-29T13:14:23.801251651Z caller=oasis.go:149 module=oasis msg="Failed to get status from node" err="rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /data/internal.sock: connect: connection refused""
oasis-rosetta | level=error ts=2024-07-29T13:14:23.801263652Z caller=main.go:210 module=oasis-rosetta-gateway msg="failed to obtain chain ID from Oasis node" err="failed to get status from node: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /data/internal.sock: connect: connection refused""
oasis-rosetta | ok: run: node: (pid 10) 1s
oasis-rosetta | level=debug ts=2024-07-29T13:14:24.808221535Z caller=oasis.go:136 module=oasis msg="Establishing connection" grpc_addr=unix:/data/internal.sock
oasis-rosetta | level=error ts=2024-07-29T13:14:24.808822745Z caller=grpc.go:242 module=grpc/client msg="request failed" method=/oasis-core.NodeController/GetStatus req_seq=1 rsp="unsupported value type" err="rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /data/internal.sock: connect: connection refused""
oasis-rosetta | level=debug ts=2024-07-29T13:14:24.808864345Z caller=oasis.go:149 module=oasis msg="Failed to get status from node" err="rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /data/internal.sock: connect: connection refused""
oasis-rosetta | level=error ts=2024-07-29T13:14:24.808874145Z caller=main.go:210 module=oasis-rosetta-gateway msg="failed to obtain chain ID from Oasis node" err="failed to get status from node: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /data/internal.sock: connect: connection refused""
oasis-rosetta | ok: run: node: (pid 10) 2s
oasis-rosetta | level=debug ts=2024-07-29T13:14:25.815408523Z caller=oasis.go:136 module=oasis msg="Establishing connection" grpc_addr=unix:/data/internal.sock
oasis-rosetta | level=error ts=2024-07-29T13:14:25.816005832Z caller=grpc.go:242 module=grpc/client msg="request failed" method=/oasis-core.NodeController/GetStatus req_seq=1 rsp="unsupported value type" err="rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /data/internal.sock: connect: connection refused""
oasis-rosetta | level=debug ts=2024-07-29T13:14:25.816046732Z caller=oasis.go:149 module=oasis msg="Failed to get status from node" err="rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /data/internal.sock: connect: connection refused""
The text was updated successfully, but these errors were encountered: