frontend icon indicating copy to clipboard operation
frontend copied to clipboard

/api-docs - error loading css, js scripts

Open Menniti opened this issue 7 months ago • 5 comments

Description

Hello,

I`m having issues with CSS / JS into blockscout frontend.

I`m executing this version of blockscout frontend https://github.com/OffchainLabs/orbit-setup-script/blob/main/docker-compose/services/frontend.yml#L5

It currently works at the first moment in path /

Image

but when I try to run /api-docs and click in reload (F5)

Image

Link to the page

none

Steps to reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error

App version

v1.29.1

Browser

No response

Operating system

None

Additional information

No response

Menniti avatar May 08 '25 17:05 Menniti

Hi @Menniti Does the issue persist for all pages or only for the /api-docs page?

tom2drum avatar May 09 '25 06:05 tom2drum

Hey @tom2drum

Currently I face this only in api-docs

Menniti avatar May 09 '25 12:05 Menniti

My guess is that there is something wrong with your infrastructure setup. It seems that the requests to /api** are not routed to the frontend container, but are probably routed to the backend instead.

tom2drum avatar May 09 '25 13:05 tom2drum

got it, I will ask help from orbit people to check that.. I just run their system

Menniti avatar May 09 '25 14:05 Menniti

There is the issue from their side

https://github.com/OffchainLabs/orbit-setup-script/issues/94

Menniti avatar May 09 '25 14:05 Menniti

we have found the issue, is something relate to proxy configuration Thankss

Menniti avatar May 12 '25 15:05 Menniti