question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"No process was able to handle..." for github and gitlab

See original GitHub issue

I had backstage sort of working in kubernetes but was experiencing some issues with templates. I noticed the image referred to in the helm charts is from April, so I’ve been trying to use a newer build.

  • I’ve built a docker container from tag/release-2021-12-16 using the instructions here. The container is available at citihub/backstage:20211216
  • I have it running in a Kubernetes cluster, deployed via the example helm chart.
  • $GITLAB_TOKEN and $GITHUB_TOKEN are set inside the backend container, as verified by exec’ing into the container.

The log file has warnings that No processor was able to handle reading of github:... when trying to load the sample data sets. This worked in the older build. When I try to add something from gitlab I get a similar error.

Expected Behavior

  • Backstage processes .yaml files from github and gitlab.

Current Behavior

Backstage backend logs the following errors - 2021-12-21T21:59:08.690Z catalog warn No processor was able to handle reading of github:https://github.com/backstage/backstage/blob/master/plugins/github-actions/examples/sample.yaml type=plugin entity=location:default/generated-060bf5de1d298e45b4e44be6a1151632996f880f

2021-12-21T22:00:38.676Z catalog warn No processor was able to handle reading of gitlab/api:https://gitlab.com/my-group/backstage/-/blob/main/templates/hello-world/template.yaml type=plugin entity=location:default/generated-701b685ec94bceeb77d1de134b2874347835f4e0

Possible Solution

Steps to Reproduce

  • Modify the example helm charts to use citihub/backstage:20211216 as the backend image
  • Add auth.gitlab_token and auth.github_token to values.yaml
  • Deploy the helm chart
  • Navigate to “Register an existing component” and add a URL from either github or gitlab - error received
  • Look at the log files kubectl logs backstage-backend-abcd1234c-12345

Context

Backstage is unusable in this state because there is nothing configured to process files

Your Environment

  • Built using Node v16
  • Running in Azure Kubernetes Service v1.20.9

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
frebencommented, Dec 22, 2021

i saw this little helper script that was lying around - maybe it can be helpful https://github.com/backstage/backstage/blob/master/scripts/migrate-location-types.js

0reactions
github-actions[bot]commented, Feb 21, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use GitHub as an authentication provider - GitLab Docs
Signing in using your GitHub account without a pre-existing GitLab account is not allowed. Create a GitLab account first, and then connect it...
Read more >
Transfer git repositories from GitLab to GitHub - Stack Overflow
With default Github repository import it is possible, but just make sure the two factor authentication is not enabled in Gitlab.
Read more >
Difference Between GitLab and GitHub - GeeksforGeeks
GitLab is available with many bugs and it makes the user experience sloppy. It is difficult to manage code reviews for first-timers. There...
Read more >
Migrating from GitHub to GitLab - YouTube
Migrate from GitHub to GitLabIn this video, we look at the process for migrating projects from GitHub to GitLab. For more information and ......
Read more >
GitHub vs GitLab: Which program should you go with? - ZDNET
Both GitHub and GitLab are based around the overarching Git distributed control system, but they do have different development approaches.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found