openwhisk icon indicating copy to clipboard operation
openwhisk copied to clipboard

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

Open QWQyyy opened this issue 2 years ago • 6 comments

how to address it? Uploading image.png…

QWQyyy avatar May 09 '23 12:05 QWQyyy

image

QWQyyy avatar May 09 '23 12:05 QWQyyy

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

style95 avatar May 11 '23 19:05 style95

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

QWQyyy avatar May 12 '23 14:05 QWQyyy

What kinds of info logs do controllers have?

style95 avatar May 16 '23 01:05 style95

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 avatar Jan 16 '24 07:01 QWQyyy

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

QWQyyy avatar Jan 16 '24 07:01 QWQyyy