Closed ngingihy closed 2 years ago
Hi,
Thank you for using Bitnami. The error of the "invalid response from the upstream server" seems to be more related with how you configured the route and the service rather than the service itself. It could also be related with an issue with the Kubernetes cluster (for example, networking issues). Did you try checking the Kong developers to see if there's anything incorrect in your service configuration?
Hi @javsalgar,
this is how i created the service
curl --location --request POST 'http://10.167.221.1:8001/services' \
--header 'Content-Type: application/json' \
--data-raw ' {
"name":"cat",
"url":"https://catfact.ninja/fact" }'
this is how i created the route
curl --location --request POST 'http://10.167.221.1:8001/services/cat/routes' \
--header 'Content-Type: application/json' \
--data-raw ' {
"paths":["/cat"],
"name":"catfact" }
'
Again I'm using the admin API for creating svcs and routes
As @javsalgar pointed out it seems this is not an issue related to the Bitnami Kong chart but about how the application or environment is being used/configured.
For information regarding the application itself, customization of the content within the application, or questions about the use of technology or infrastructure; we highly recommend checking forums and user guides made available by the project behind the application or the technology.
That said, I will keep this ticket open until the stale bot closes it just in case someone from the community adds some valuable info.
@juan131 Yes, i added above how i configured the service/route.
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.
Name and Version
bitnami/kong
What steps will reproduce the bug?
I tried installing Kong using Bitnami chart. Every thing works fine. I was able to successfully create a service and route using admin-api. But now when i try the route using Kong i get
"An invalid response was received from the upstream server"
; GET : http://10..xxx.xx.x:80/mockmy service
my route
Are you using any custom parameters or values?
I'm using private registry for images.
What is the expected behavior?
to successfully see Json response from the registered service
What do you see instead?
"An invalid response was received from the upstream server"
Additional information
No response