Blockscout frontend service error #12403
Unanswered
Blue003-dev
asked this question in
Q&A
Replies: 1 comment
-
|
hello @Blue003-dev , can you inform you access use local pc or vps ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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.
envs/common-blockscout.env :
envs/common-frontend.env :
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.
Beta Was this translation helpful? Give feedback.
All reactions