-
Notifications
You must be signed in to change notification settings - Fork 58
[OP Stack Deployment] connect to blockscout #811
Replies: 1 comment · 3 replies
-
can you post your opgeth and opnode logs,seems something wrong with your rpc |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hello, separately from the question above, after changing the rpc address and re-running op-geth and op-node, the following logs appear. How do I resolve this? Please give me some guidance. INFO [05-12|09:35:51.996] Maximum peer count ETH=0 total=0 **op-node command ** ./bin/op-node --l2=http://localhost:8551/ --l2.jwt-secret=./jwt.txt --sequencer.enabled --sequencer.l1-confs=5 --verifier.l1-confs=4 --rollup.config=./rollup.json --rpc.addr=0.0.0.0 --p2p.disable --rpc.enable-admin --p2p.sequencer.key=$GS_SEQUENCER_PRIVATE_KEY --l1=https://green-summer-cherry.ethereum-sepolia.quiknode.pro/XXXXXXXXXXXXXX/ --l1.rpckind=$L1_RPC_KIND --l1.beacon=https://ethereum-sepolia-beacon-api.publicnode.com/ op-node log |
Beta Was this translation helpful? Give feedback.
All reactions
-
Seems there's something wrong for your blockscout service, maybe one or more docker container hasn't started yet, you can take a look of the blockscout service use docker-compose, eg:
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Since your node is not functioning properly, we cannot currently determine whether the issue lies with Blockscout. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Did you check the documentation?
Did you check for duplicate questions?
Issue Description
Hello, I'm trying to connect blockscout to the opstack I built.
After setting up envs/common-blockscout.env and envs/common-frontend.env following the guide below, I ran the command DOCKER_REPO=blockscout-optimism docker compose -f geth.yml up
The following error log appears in the frontend service.
https://docs.optimism.io/operators/chain-operators/tools/explorer
frontend service Logs :
frontend | 2025-05-12T05:08:42.905315508Z $ /app/deploy/tools/sitemap-generator/node_modules/.bin/next-sitemap
frontend | 2025-05-12T05:08:43.017313514Z ✨ [next-sitemap] Loading next-sitemap config: file:///app/deploy/tools/sitemap-generator/next-sitemap.config.js
frontend | 2025-05-12T05:08:43.027420171Z 🌀 [next-sitemap] Fetching resource: http://localhost/api/v2/addresses
frontend | 2025-05-12T05:08:43.069914599Z 🌀 [next-sitemap] Fetching resource: http://localhost/api/v2/transactions?filter=validated
frontend | 2025-05-12T05:08:43.070933280Z 🌀 [next-sitemap] Fetching resource: http://localhost/api/v2/blocks?type=block
frontend | 2025-05-12T05:08:43.071779559Z 🌀 [next-sitemap] Fetching resource: http://localhost/api/v2/tokens
frontend | 2025-05-12T05:08:43.072707239Z 🌀 [next-sitemap] Fetching resource: http://localhost/api/v2/smart-contracts
frontend | 2025-05-12T05:08:43.079150070Z 🚨 [next-sitemap] Error fetching resource: http://localhost/api/v2/addresses TypeError: fetch failed
frontend | 2025-05-12T05:08:43.079181501Z at node:internal/deps/undici/undici:13392:13
frontend | 2025-05-12T05:08:43.079185037Z at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
frontend | 2025-05-12T05:08:43.079188851Z at async fetchResource (/app/deploy/tools/sitemap-generator/next-sitemap.config.js:12:17)
frontend | 2025-05-12T05:08:43.079192285Z at async Object.additionalPaths (/app/deploy/tools/sitemap-generator/next-sitemap.config.js:196:11)
frontend | 2025-05-12T05:08:43.079195377Z at async UrlSetBuilder.createUrlSet (file:///app/deploy/tools/sitemap-generator/node_modules/next-sitemap/dist/esm/builders/url-set-builder.js:103:32)
frontend | 2025-05-12T05:08:43.079198989Z at async CLI.main (file:///app/deploy/tools/sitemap-generator/node_modules/next-sitemap/dist/esm/cli.js:22:24) {
frontend | 2025-05-12T05:08:43.079202030Z [cause]: AggregateError [ECONNREFUSED]:
frontend | 2025-05-12T05:08:43.079218555Z at internalConnectMultiple (node:net:1121:18)
frontend | 2025-05-12T05:08:43.079221430Z at afterConnectMultiple (node:net:1688:7) {
frontend | 2025-05-12T05:08:43.079223722Z code: 'ECONNREFUSED',
frontend | 2025-05-12T05:08:43.079232932Z [errors]: [ [Error], [Error] ]
frontend | 2025-05-12T05:08:43.079234961Z }
frontend | 2025-05-12T05:08:43.079236941Z }
frontend | 2025-05-12T05:08:43.080587313Z 🚨 [next-sitemap] Error fetching resource: http://localhost/api/v2/transactions?filter=validated TypeError: fetch failed
frontend | 2025-05-12T05:08:43.080610494Z at node:internal/deps/undici/undici:13392:13
frontend | 2025-05-12T05:08:43.080613488Z at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
frontend | 2025-05-12T05:08:43.080615878Z at async fetchResource (/app/deploy/tools/sitemap-generator/next-sitemap.config.js:12:17)
frontend | 2025-05-12T05:08:43.080618620Z at async Object.additionalPaths (/app/deploy/tools/sitemap-generator/next-sitemap.config.js:197:11)
frontend | 2025-05-12T05:08:43.080621313Z at async UrlSetBuilder.createUrlSet (file:///app/deploy/tools/sitemap-generator/node_modules/next-sitemap/dist/esm/builders/url-set-builder.js:103:32)
frontend | 2025-05-12T05:08:43.080633138Z at async CLI.main (file:///app/deploy/tools/sitemap-generator/node_modules/next-sitemap/dist/esm/cli.js:22:24) {
frontend | 2025-05-12T05:08:43.080636001Z [cause]: AggregateError [ECONNREFUSED]:
frontend | 2025-05-12T05:08:43.080638113Z at internalConnectMultiple (node:net:1121:18)
frontend | 2025-05-12T05:08:43.080640197Z at afterConnectMultiple (node:net:1688:7) {
frontend | 2025-05-12T05:08:43.080642547Z code: 'ECONNREFUSED',
frontend | 2025-05-12T05:08:43.080644814Z [errors]: [ [Error], [Error] ]
frontend | 2025-05-12T05:08:43.080646923Z }
frontend | 2025-05-12T05:08:43.080648810Z }
frontend | 2025-05-12T05:08:43.081635395Z 🚨 [next-sitemap] Error fetching resource: http://localhost/api/v2/blocks?type=block TypeError: fetch failed
frontend | 2025-05-12T05:08:43.081651481Z at node:internal/deps/undici/undici:13392:13
frontend | 2025-05-12T05:08:43.081654790Z at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
frontend | 2025-05-12T05:08:43.081657439Z at async fetchResource (/app/deploy/tools/sitemap-generator/next-sitemap.config.js:12:17)
frontend | 2025-05-12T05:08:43.081660083Z at async Object.additionalPaths (/app/deploy/tools/sitemap-generator/next-sitemap.config.js:198:11)
frontend | 2025-05-12T05:08:43.081662921Z at async UrlSetBuilder.createUrlSet (file:///app/deploy/tools/sitemap-generator/node_modules/next-sitemap/dist/esm/builders/url-set-builder.js:103:32)
frontend | 2025-05-12T05:08:43.081665830Z at async CLI.main (file:///app/deploy/tools/sitemap-generator/node_modules/next-sitemap/dist/esm/cli.js:22:24) {
frontend | 2025-05-12T05:08:43.081668237Z [cause]: AggregateError [ECONNREFUSED]:
frontend | 2025-05-12T05:08:43.081670487Z at internalConnectMultiple (node:net:1121:18)
frontend | 2025-05-12T05:08:43.081672840Z at afterConnectMultiple (node:net:1688:7) {
frontend | 2025-05-12T05:08:43.081688056Z code: 'ECONNREFUSED',
frontend | 2025-05-12T05:08:43.081690341Z [errors]: [ [Error], [Error] ]
frontend | 2025-05-12T05:08:43.081692549Z }
frontend | 2025-05-12T05:08:43.081694803Z }
frontend | 2025-05-12T05:08:43.082632561Z 🚨 [next-sitemap] Error fetching resource: http://localhost/api/v2/tokens TypeError: fetch failed
frontend | 2025-05-12T05:08:43.082649042Z at node:internal/deps/undici/undici:13392:13
frontend | 2025-05-12T05:08:43.082651504Z at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
frontend | 2025-05-12T05:08:43.082653364Z at async fetchResource (/app/deploy/tools/sitemap-generator/next-sitemap.config.js:12:17)
frontend | 2025-05-12T05:08:43.082655586Z at async Object.additionalPaths (/app/deploy/tools/sitemap-generator/next-sitemap.config.js:199:11)
frontend | 2025-05-12T05:08:43.082658145Z at async UrlSetBuilder.createUrlSet (file:///app/deploy/tools/sitemap-generator/node_modules/next-sitemap/dist/esm/builders/url-set-builder.js:103:32)
frontend | 2025-05-12T05:08:43.082660549Z at async CLI.main (file:///app/deploy/tools/sitemap-generator/node_modules/next-sitemap/dist/esm/cli.js:22:24) {
frontend | 2025-05-12T05:08:43.082662439Z [cause]: AggregateError [ECONNREFUSED]:
frontend | 2025-05-12T05:08:43.082664429Z at internalConnectMultiple (node:net:1121:18)
frontend | 2025-05-12T05:08:43.082666706Z at afterConnectMultiple (node:net:1688:7) {
frontend | 2025-05-12T05:08:43.082668932Z code: 'ECONNREFUSED',
frontend | 2025-05-12T05:08:43.082670973Z [errors]: [ [Error], [Error] ]
frontend | 2025-05-12T05:08:43.082672966Z }
frontend | 2025-05-12T05:08:43.082674888Z }
frontend | 2025-05-12T05:08:43.083253453Z 🚨 [next-sitemap] Error fetching resource: http://localhost/api/v2/smart-contracts TypeError: fetch failed
frontend | 2025-05-12T05:08:43.083260530Z at node:internal/deps/undici/undici:13392:13
frontend | 2025-05-12T05:08:43.083262809Z at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
frontend | 2025-05-12T05:08:43.083265173Z at async fetchResource (/app/deploy/tools/sitemap-generator/next-sitemap.config.js:12:17)
frontend | 2025-05-12T05:08:43.083267091Z at async Object.additionalPaths (/app/deploy/tools/sitemap-generator/next-sitemap.config.js:200:11)
frontend | 2025-05-12T05:08:43.083269560Z at async UrlSetBuilder.createUrlSet (file:///app/deploy/tools/sitemap-generator/node_modules/next-sitemap/dist/esm/builders/url-set-builder.js:103:32)
frontend | 2025-05-12T05:08:43.083271894Z at async CLI.main (file:///app/deploy/tools/sitemap-generator/node_modules/next-sitemap/dist/esm/cli.js:22:24) {
frontend | 2025-05-12T05:08:43.083274082Z [cause]: AggregateError [ECONNREFUSED]:
frontend | 2025-05-12T05:08:43.083276028Z at internalConnectMultiple (node:net:1121:18)
frontend | 2025-05-12T05:08:43.083278104Z at afterConnectMultiple (node:net:1688:7) {
frontend | 2025-05-12T05:08:43.083280038Z code: 'ECONNREFUSED',
frontend | 2025-05-12T05:08:43.083282013Z [errors]: [ [Error], [Error] ]
frontend | 2025-05-12T05:08:43.083284108Z }
Actually, when I go to http://localhost and get the transaction,
http://localhost/api/v2/transactions?filter=validated results in 502 Bad Gateway. Could you help me to solve ?
Thank you for your help.
Logs
No response
Additional Information
No response
Feedback
No response
Beta Was this translation helpful? Give feedback.
All reactions