backstage: Could not fetch catalog entities on a all new deployment

Hello,

I’d like to run backstage in my local environment. To do this, I’m following the steps in the gettings-started guide.

Unfortunately, when the app is starting, I have an error :

image

While I see no errors in the logs of the backend :

image

N.B : I have the following error in my local environment but I get this error in multiple environments :

  • Kubernetes through helm charts deployment
  • Yarn deployment on a company VM behind a proxy
  • In my local environment in a WSL withtout any proxy.

The reason why I was talking about my local environment is because this is the environment where I made any modifications just the commands below

Steps to reproduce

npx @backstage/create-app ## Create local-backstage app
cd local-backstage && yarn dev

Environment

  • Ubuntu 20.04 in WSL 2 on Windows 10

Please let me know if you miss informations

N.B: Backstage seems really great and IMHO could help A LOT of teams growing up 👍

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19 (6 by maintainers)

Most upvoted comments

@mustafazeya What issue was that?could you please clarify?Thanks

We weren’t getting issue locally ( if you used npx to create initial version,you shouldn’t get into any issue).

When we were deploying docker image with a custom url,we were getting this issue.

We had some cache problem in browser and we changed frontend and backend url to same and then everything worked perfectly fine.

I hope this helps!