-
Notifications
You must be signed in to change notification settings - Fork 3
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
Importing this on kubernetes #10
Comments
Hi, thanks for taking the time to file an issue! CORS is nothing you can disable from the API-side. It's a browser feature, so every time you want to access an API from a browser (i.e. JS/WASM), you will need to configure CORS. You can enable registrations in the PubNet/backend-appsettings.json Line 16 in 72e2c7f
|
Hi @ricardoboss This setting is already enabled The progress is the registration page is now visible but when filling the registration form and submitting it it js giving http 405 error on the post method what can be done on that case |
That sounds like a bug in the frontend... Do you have a screenshot of the network tab for that request for me? Can you also give me a repo and/or steps to reproduce this? |
Ok, and if you switch to the "Network" tab in the dev tools and select the latest failed request? |
So you're hosting this via kubernetes? Are you using a reverse proxy? Which one? How is it configured? |
We have istio deployed in out kubernetes cluster which acts as reverse proxy |
can you provide any helm chart for pubnet using which we can deploy it directly on our cluster |
Sorry, I have no experience with istio, kubernetes or helm charts... From my end it looks like your cluster is blocking every request that isn't GET. Can you try reproducing the issue with the docker images or just run it locally to check? |
@ricardoboss locally it is running fine at localhost request flow is working fine |
Sorry, I'm trying but as I said, I have no experience whatsoever with kubernetes. Which server is sending the response? Is it |
@ricardoboss it is not kestrel server |
Thanks for sharing. Can you provide more info about your istio setup? I'm curious about any rules affecting HTTP methods or security features. Also, check Istio logs for errors or warnings. Could you try disabling istio or using another reverse proxy temporarily to see if the issue persists? |
hi @ricardoboss replicated the same scneario in minikube cluster in local
after doing a port forward on localhost for frontend service it is giving the same error on registration |
Hmm... What are the values for the CORS headers? Specifically, the |
i want to deploy pubnet on kubernetes
![Screenshot 2024-04-25 at 2 50 09 PM](https://private-user-images.githubusercontent.com/46090167/325549550-5912b282-d10d-4a3f-a66f-7a4f0bcf6708.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MzgwOTksIm5iZiI6MTczOTYzNzc5OSwicGF0aCI6Ii80NjA5MDE2Ny8zMjU1NDk1NTAtNTkxMmIyODItZDEwZC00YTNmLWE2NmYtN2E0ZjBiY2Y2NzA4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDE2NDMxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg4ZTNjMTUwMjhjZjkwOTM4ZmRjYmZjZjlmMTYxNDJmMTAxMTk3ZjJlODc2NjU5Njk4NDMxYWM5ZWQzYmYwNTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.78JvjjX0btSiuqs7NYve8Iymqj3cL80JRMlb2gVVWQ8)
i have created certain deployment and svc
but somehow registration is not getting enabled
The text was updated successfully, but these errors were encountered: