Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenPitrix (App Store) cannot find resources (404 not found) #6080

Open
ricardombrodriguez opened this issue Apr 17, 2024 · 3 comments
Open
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@ricardombrodriguez
Copy link

Describe the Bug

I'm replicating the App Store (Open Pitrix) hands-on lab provided here.

I can upload the app template (redis tar.gz file) to the App Store. However, I can't perform other actions such as submitting the app, installing, etc... as it gives a "404: Page Not Found" error.

image

Nevertheless, the App Store lists all default apps:

image

Versions Used
KubeSphere: v3.4.0

Environment
How many nodes and their hardware configuration:

Ubuntu 22.04, with KubeSphere being hosted in a kind cluster
16 GB RAM, 1 node

Kubernetes pods:

image

ks-apiserver pod logs:

image

Expected behavior

The ks-apiserver works well for other things other than OpenPitrix actions, I don't know why the OpenPitrix endpoints are not found. Is there any problem?

Thank you.

@ricardombrodriguez ricardombrodriguez added the kind/bug Categorizes issue or PR as related to a bug. label Apr 17, 2024
@inksnw
Copy link
Contributor

inksnw commented Apr 18, 2024

Open the f12 developer interface of chrome and see which url 404 is coming from. It may be the same problem as this one. #5875

@ricardombrodriguez
Copy link
Author

ricardombrodriguez commented Apr 26, 2024

go-restful/v3 is already updated to the v3.11.0 version but the issue persists.

The 404 'Page Not Found' error happens when kubesphere requests this URL:
http://localhost:30880/kapis/openpitrix.io/v1/apps/app-m8qon84zmv8z6n-store/

However, two requests to the OpenPitrix API with the same prefix (w/ appId) can be made without errors:
http://localhost:30880/kapis/openpitrix.io/v1/apps/app-m8qon84zmv8z6n-store/versions?orderBy=sequence&paging=limit%3D10%2Cpage%3D1&conditions=status%3Dactive&reverse=true
&
http://localhost:30880/kapis/openpitrix.io/v1/apps/app-m8qon84zmv8z6n-store/versions/appv-jkx19w050rl597/files

ks-apiserver pod logs:
image

@inksnw
Copy link
Contributor

inksnw commented Apr 26, 2024

Did you build it yourself with go-restful/v3 v3.11.0? This PR was merged in 3.4.1 #5907

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants