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

Investigate latest Lightnet Docker image issue #614

Open
shimkiv opened this issue Apr 9, 2024 · 5 comments
Open

Investigate latest Lightnet Docker image issue #614

shimkiv opened this issue Apr 9, 2024 · 5 comments
Assignees
Labels

Comments

@shimkiv
Copy link
Member

shimkiv commented Apr 9, 2024

Error: Transaction failed with errors:
- {"statusCode":500,"statusText":"Unknown Error: {\"cause\":{\"name\":\"SocketError\",\"code\":\"UND_ERR_SOCKET\",\"socket\":{\"localAddress\":\"::1\",\"localPort\":44662,\"remoteAddress\":\"::1\",\"remotePort\":8080,\"remoteFamily\":\"IPv6\",\"bytesWritten\":41192,\"bytesRead\":8489}}}"}
@shimkiv shimkiv self-assigned this Apr 9, 2024
@shimkiv
Copy link
Member Author

shimkiv commented Apr 9, 2024

The UND_ERR_SOCKET is typically related to lower-level network communication issues in Node.js environments. This suggests that the problem is occurring at the network connection level rather than being an issue with GraphQL queries or application's business logic.
The localAddress and remoteAddress both being ::1 indicates that the communication is intended to be happening over IPv6 localhost.
GitHub Actions recent changelog does not include any breaking changes.
GitHub status does not show major issues except degraded performance.
Nginx reverse proxy accepts IPv6 comms.
Mina daemon might not accept IPv6 comms.

All this might point to the underlying OS in use. Latest GitHub Actions Ubuntu VM might somehow resolved localhost to IPv6 address that caused the issue.

Retrying GitHub Actions jobs though helped to make CI happy again and it seems this issue is not happening anymore.

Not really sure if we need to do anything else other that monitor it and proceed investigation if it will start to happen more often.

@shimkiv
Copy link
Member Author

shimkiv commented Apr 9, 2024

Closing for now.

@shimkiv shimkiv closed this as completed Apr 9, 2024
@shimkiv shimkiv reopened this Apr 23, 2024
@shimkiv
Copy link
Member Author

shimkiv commented May 17, 2024

It does not happen again...

@shimkiv
Copy link
Member Author

shimkiv commented May 29, 2024

Still no signs of the issue, it seems the root cause was on the GitHub Actions (linux VMs) side.

@shimkiv
Copy link
Member Author

shimkiv commented May 29, 2024

Although it might be related to #658. In which case we need to updated all the localhost entries in o1js GitHub repo with the explicit IPv4 127.0.0.1 reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant