#Tech Insights 404

1 messages · Page 1 of 1 (latest)

shadow orchid
#

Has anyone who's installed the tech insights plugin had an issue where it throws a 404 after following the directions in the readme?

[1] 2022-10-25T21:20:10.829Z  backstage info ::1 - - [25/Oct/2022:21:20:10 +0000] "POST /api/tech-insights/checks/run/default/Component/Imagine_Learning_Guidebooks HTTP/1.1" 404 - "http://localhost:3000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36" type=incomingRequest```
vivid jacinth
#

Hi @shadow orchid, I haven't seen this myself but we haven't really done much with TechInsights beyond a POC due to priority changes. But I'm wondering if maybe it's related to what this PR says it fixes: https://github.com/backstage/backstage/pull/14135

#

To be honest it's not totally clear what the bug is/was so I could be off. @tardy jackal noticed you left a comment on that, any insight (pun intended 😉 )?

shadow orchid
#

I saw that @lost swan also was apart of that PR or another.

It is a 404 not some sort of failure because of the content type

vivid jacinth
#

Ah, ok

smoky yew
#

can confirm, I'm also seeing this ... any idea how these routes are supposed to get set up?

#

I'm grep-ing the codebase like an old man and swearing

smoky yew
#

... and I guess that's because I need to give it the json rules fact checker ...

#

yup, that did it

shadow orchid
#

That did it for me too! I know the docs weren't super clear on that. I'll probably open a PR on it to clear that up.

marsh wasp
#

I know the docs might need a lot more work for paths outside the happy one. It would be very helpful if you could add/modify few lines in there to match your experience 🙏

delicate sparrow
#

@shadow orchid Can you please help me figure out the error? I am facing the same error as you. I did use fact checker, but it didn't solve the error.

unique verge
#

Hi guys, getting 404, when using tech-insights. any idea what might be wrong?

fast palm
#

@unique verge you should start a new thread

unique verge
#

Adding the issue & solution here for future reference:

plugins required in the packages/backend
"@backstage/plugin-tech-insights-backend": "^0.5.12",
"@backstage/plugin-tech-insights-backend-module-jsonfc": "^0.1.30",
~~ "@backstage/plugin-tech-insights-node": "^0.4.4",~~
removing plugin-tech-insights-node resolved the issue

also adding a sample techInsights.ts to test the plugin

for frontend, follow the steps as it is mentioned in the documentation

terse falcon
#

Sorry folks reviving this thread in 2025...
Followed the two readme:
https://github.com/backstage/community-plugins/tree/main/workspaces/tech-insights
https://github.com/backstage/community-plugins/tree/main/workspaces/tech-insights/plugins/tech-insights-backend

And on the route /tech-insights having this 404 error...

I want to add this module just to get more insight on my facts/checks for a given entity and I am not really interested in these FactRetrievers

In my app logs I see:
[backend]: 2025-04-15T16:50:46.417Z backstage info Plugin initialization started: 'app', 'proxy', 'scaffolder', 'techdocs', 'auth', 'catalog', 'permission', 'search', 'kubernetes', 'skill-exchange', 'soundcheck', 'rbac', 'tech-insights', 'pagerduty', 'homepage' type="initialization"
...
[backend]: 2025-04-15T16:50:47.615Z backstage info Plugin initialization complete, newly initialized: 'skill-exchange', 'rbac', 'tech-insights', 'pagerduty', 'soundcheck', 'homepage' type="initialization"

As well as:
[backend]: 2025-04-15T16:50:47.560Z tech-insights info Scheduled 0/0 fact retrievers into the tech-insights engine
[backend]: 2025-04-15T16:50:47.560Z tech-insights info Starting tech insights module without fact checking endpoints.

GitHub

Community plugins for Backstage. Contribute to backstage/community-plugins development by creating an account on GitHub.

GitHub

Community plugins for Backstage. Contribute to backstage/community-plugins development by creating an account on GitHub.

vital citrus
#

Do you have the @backstage-community/plugin-tech-insights-backend-module-jsonfc module installed?