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

Error while running the kurtosis chain #481

Open
anurag-iitk opened this issue Feb 13, 2025 · 1 comment
Open

Error while running the kurtosis chain #481

anurag-iitk opened this issue Feb 13, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@anurag-iitk
Copy link
Contributor

anurag-iitk commented Feb 13, 2025

System information

Ubuntu 24

Commit id

main

Description & steps to reproduce

While running this cmd
kurtosis run --enclave cdk .

Desired behavior

There was an error executing Starlark code
An error occurred executing instruction (number 31) at github.com/0xPolygon/kurtosis-cdk/agglayer.star[55:21]:
add_service(name="agglayer", config=ServiceConfig(image="ghcr.io/agglayer/agglayer:0.2.1-rc.1", ports={"agglayer": PortSpec(number=4444, application_protocol="http"), "prometheus": PortSpec(number=9092, application_protocol="http")}, public_ports={}, files={"/etc/zkevm": Directory(artifact_names=["agglayer-config-artifact", "agglayer-keystore"])}, entrypoint=["/usr/local/bin/agglayer"], cmd=["run", "--cfg", "/etc/zkevm/agglayer-config.toml"]), description="AggLayer")
Caused by: Unexpected error occurred starting service 'agglayer'
Caused by: An error occurred waiting for all TCP and UDP ports to be open for service 'agglayer' with private IP '172.16.0.9'; this is usually due to a misconfiguration in the service itself, so here are the logs:
== SERVICE 'agglayer' LOGS ===================================
{"timestamp":"2025-02-13T14:01:11.181785Z","level":"INFO","fields":{"message":"Starting metrics server on 0.0.0.0:9092"},"target":"agglayer_telemetry"}
{"timestamp":"2025-02-13T14:01:11.205014Z","level":"INFO","fields":{"message":"Storage initialized."},"target":"agglayer_node::node"}
{"timestamp":"2025-02-13T14:01:11.205027Z","level":"INFO","fields":{"message":"Starting BlockClock with provider: RPC_URL"},"target":"agglayer_node::node"}
{"timestamp":"2025-02-13T14:01:11.396186Z","level":"ERROR","fields":{"message":"Failed to start BlockClock: Transport(Transport(Custom(Http(Response { status: 301, version: HTTP/1.1, headers: {"server": "nginx/1.18.0 (Ubuntu)", "date": "Thu, 13 Feb 2025 14:01:11 GMT", "content-type": "text/html", "content-length": "178", "connection": "keep-alive", "location": "https://ethereum-sepolia-fk242w.zeeve.net/7lzCqTItuQroOUEOQI5mBYFUxr0dY/\"}, body: Some([60, 104, 116, 109, 108, 62, 13, 10, 60, 104, 101, 97, 100, 62, 60, 116, 105, 116, 108, 101, 62, 51, 48, 49, 32, 77, 111, 118, 101, 100, 32, 80, 101, 114, 109, 97, 110, 101, 110, 116, 108, 121, 60, 47, 116, 105, 116, 108, 101, 62, 60, 47, 104, 101, 97, 100, 62, 13, 10, 60, 98, 111, 100, 121, 62, 13, 10, 60, 99, 101, 110, 116, 101, 114, 62, 60, 104, 49, 62, 51, 48, 49, 32, 77, 111, 118, 101, 100, 32, 80, 101, 114, 109, 97, 110, 101, 110, 116, 108, 121, 60, 47, 104, 49, 62, 60, 47, 99, 101, 110, 116, 101, 114, 62, 13, 10, 60, 104, 114, 62, 60, 99, 101, 110, 116, 101, 114, 62, 110, 103, 105, 110, 120, 47, 49, 46, 49, 56, 46, 48, 32, 40, 85, 98, 117, 110, 116, 117, 41, 60, 47, 99, 101, 110, 116, 101, 114, 62, 13, 10, 60, 47, 98, 111, 100, 121, 62, 13, 10, 60, 47, 104, 116, 109, 108, 62, 13, 10]) }))))"},"target":"agglayer_node::node"}
Error: Transport initialization: HTTP error: 301 Moved Permanently

Caused by:
0: HTTP error: 301 Moved Permanently
1: HTTP error: 301 Moved Permanently

== FINISHED SERVICE 'agglayer' LOGS ===================================
Caused by: An error occurred while waiting for all TCP and UDP ports to be open
Caused by: Unsuccessful ports check for IP '172.16.0.9' and port spec '{privatePortSpec:0xc002142870}', even after '240' retries with '500' milliseconds in between retries. Timeout '2m0s' has been reached
Caused by: An error occurred while calling network address '172.16.0.9:9092' with port protocol 'TCP' and using time out '200ms'
Caused by: dial tcp 172.16.0.9:9092: i/o timeout

Error encountered running Starlark code.

What is the severity of this bug?

Critical; I am blocked and Kurtosis CDK is unusable for me because of this bug.

@anurag-iitk anurag-iitk added the bug Something isn't working label Feb 13, 2025
@leovct
Copy link
Member

leovct commented Feb 18, 2025

Can you pull latest changes? It should work, see the last CI run.

@leovct leovct self-assigned this Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants