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 executing Starlark code + cast block-number error #2602

Open
hegs-cin opened this issue Feb 8, 2025 · 0 comments
Open

Error executing Starlark code + cast block-number error #2602

hegs-cin opened this issue Feb 8, 2025 · 0 comments

Comments

@hegs-cin
Copy link

hegs-cin commented Feb 8, 2025

Hi

I got an error when execute the command kurtosis run --enclave cdk github.com/0xPolygon/kurtosis-cdk, as bellow:

dding service with name 'zkevm-bridge-ui-001' and image 'leovct/zkevm-bridge-ui:multi-network'
There was an error executing Starlark code
An error occurred executing instruction (number 109) at github.com/0xPolygon/kurtosis-cdk/lib/zkevm_bridge.star[35:21]:
add_service(name="zkevm-bridge-ui-001", config=ServiceConfig(image="leovct/zkevm-bridge-ui:multi-network", ports={"web-ui": PortSpec(number=80, application_protocol="http", wait="1m")}, public_ports={}, files={"/etc/zkevm": Directory(artifact_names=["bridge-ui-config-artifact"])}, entrypoint=["/bin/sh", "-c"], cmd=["set -a; source /etc/zkevm/.env; set +a; sh /app/scripts/deploy.sh run"]))
Caused by: Unexpected error occurred starting service 'zkevm-bridge-ui-001'
Caused by: An error occurred waiting for all TCP and UDP ports to be open for service 'zkevm-bridge-ui-001' with private IP '172.16.0.28'; this is usually due to a misconfiguration in the service itself, so here are the logs:
== SERVICE 'zkevm-bridge-ui-001' LOGS ===================================
Generated .env file:

VITE_ETHEREUM_RPC_URL=/l1rpc
VITE_ETHEREUM_EXPLORER_URL=https://sepolia.etherscan.io/
VITE_ETHEREUM_BRIDGE_CONTRACT_ADDRESS=0x83F138B325164b162b320F797b57f6f7E235ABAC
VITE_ETHEREUM_FORCE_UPDATE_GLOBAL_EXIT_ROOT=true
VITE_ETHEREUM_PROOF_OF_EFFICIENCY_CONTRACT_ADDRESS=0x1Fe038B54aeBf558638CA51C91bC8cCa06609e91
VITE_ETHEREUM_ROLLUP_MANAGER_ADDRESS=0x2F50ef6b8e8Ee4E579B17619A92dE3E2ffbD8AD2
VITE_POLYGON_ZK_EVM_RPC_URL=/l2rpc
VITE_POLYGON_ZK_EVM_EXPLORER_URL=https://explorer.private/
VITE_POLYGON_ZK_EVM_BRIDGE_CONTRACT_ADDRESS=0x83F138B325164b162b320F797b57f6f7E235ABAC
VITE_POLYGON_ZK_EVM_NETWORK_ID=1
VITE_BRIDGE_API_URL=/bridgeservice
VITE_RESOLVE_RELATIVE_URLS=
VITE_ENABLE_FIAT_EXCHANGE_RATES=false
VITE_ENABLE_OUTDATED_NETWORK_MODAL=false
VITE_ENABLE_DEPOSIT_WARNING=false
VITE_ENABLE_REPORT_FORM=false

[email protected] build
vite build

vite v3.0.3 building for production...
transforming...
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme

== FINISHED SERVICE 'zkevm-bridge-ui-001' 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.28' and port spec '{privatePortSpec:0xc000903680}', even after '120' retries with '500' milliseconds in between retries. Timeout '1m0s' has been reached
Caused by: An error occurred while calling network address '172.16.0.28:80' with port protocol 'TCP' and using time out '200ms'
Caused by: dial tcp 172.16.0.28:80: connect: connection refused

Error encountered running Starlark code.

And then, the process continue and finish

⭐ us on GitHub - https://github.com/kurtosis-tech/kurtosis
Name: cdk
UUID: 2ae4ada640ea
Status: RUNNING
Creation Time: Sat, 08 Feb 2025 09:25:46 -04
Flags:

The other one error happen when i run cast block-number, after previews one, and return the message bellow:

Error: error sending request for url (http://localhost:8545/)

Context:

Could you please assist me wit this two issues?

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

No branches or pull requests

1 participant