mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16:44 +00:00
fixing HTTP problem
This commit is contained in:
parent
46d17158b9
commit
8a63668b7f
1 changed files with 3 additions and 3 deletions
4
.github/workflows/deploy-devnet.yml
vendored
4
.github/workflows/deploy-devnet.yml
vendored
|
|
@ -40,7 +40,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo "Waiting for Geth RPC to be ready..."
|
echo "Waiting for Geth RPC to be ready..."
|
||||||
for i in {1..30}; do
|
for i in {1..30}; do
|
||||||
if curl -s http://localhost:8545 > /dev/null; then
|
if docker exec $CONTAINER_NAME curl -s http://localhost:8545 > /dev/null; then
|
||||||
echo "Geth RPC is up!"
|
echo "Geth RPC is up!"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|
@ -48,7 +48,7 @@ jobs:
|
||||||
sleep 2
|
sleep 2
|
||||||
done
|
done
|
||||||
|
|
||||||
if ! curl -s http://localhost:8545 > /dev/null; then
|
if ! docker exec $CONTAINER_NAME curl -s http://localhost:8545 > /dev/null; then
|
||||||
echo "❌ Geth RPC did not start within 60 seconds."
|
echo "❌ Geth RPC did not start within 60 seconds."
|
||||||
echo "--- Container logs ---"
|
echo "--- Container logs ---"
|
||||||
docker logs $CONTAINER_NAME
|
docker logs $CONTAINER_NAME
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue