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

Credential error in application from Watson Visual Recognition starter kit #9

Open
mdarden opened this issue Mar 31, 2020 · 3 comments

Comments

@mdarden
Copy link

mdarden commented Mar 31, 2020

I deployed this starter kit to IKS, and I get this error when trying to infer
image

DevX team things this the app may not be looking for Kube environment variables correctly.

@mamoonraja
Copy link
Member

We look for watson_vision_combined_apikey and watson_vision_combined_url, that's how visual recognition is in cf environment, so we have to stick to this pattern. My guess is that env variables set in Kube env have visual_recognition_* pattern.

@markstur
Copy link
Contributor

markstur commented Apr 4, 2020

PR #12 can be used as a workaround until the env can be set as described by Mamoon.

@markstur
Copy link
Contributor

The workaround was merged with the above PR in the new IBM repo. Need to migrate the starter kit to use the new one and archive this one. Also, it is meant to be a temporary fix. Ideally the env would be provided like Mamoon suggests (and what is shown in the download creds) instead of the current style which was never implemented in this code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants