apache / openwhisk

Apache OpenWhisk is an open source serverless cloud platform
https://openwhisk.apache.org/
Apache License 2.0
6.56k stars 1.17k forks source link

error: Unable to obtain the API list: The requested resource does not exist. #5409

Open QWQyyy opened 1 year ago

QWQyyy commented 1 year ago

how to address it? ![Uploading image.png…]()

QWQyyy commented 1 year ago

image

style95 commented 1 year ago

You need to see if the connections between apigateway and controllers. Do you see any error logs?

QWQyyy commented 1 year ago

the apigateway logs: image We do not find errors in controller logs.

style95 commented 1 year ago

What kinds of info logs do controllers have?

QWQyyy commented 10 months ago

I found some clues in the controller, maybe we need to reconfigure OpenWhisk's CacheKey: image I used the following command to reconfigure CacheKey, which seemed to have some effect, although it still got stuck for a few seconds when executing the wsk api command for the first time. wsk -i property set --apihost 192.168.1.62:31001 --auth 23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP image

QWQyyy commented 10 months ago

I found some clues in the controller, maybe we need to reconfigure OpenWhisk's CacheKey: image I used the following command to reconfigure CacheKey, which seemed to have some effect, although it still got stuck for a few seconds when executing the wsk api command for the first time. wsk -i property set --apihost 192.168.1.62:31001 --auth 23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP image

@style95