You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[04/06/20 15:47:23] INFO: Connecting to ML endpoint at http://localhost:5000/model/predict
[04/06/20 15:47:23] ERROR: Cannot connect to the Image Caption Generator REST endpoint at http://localhost:5000
The text was updated successfully, but these errors were encountered:
To make this work I had to manually set the endpoint to http://max-image-caption-generator:5000, where max-image-caption-generator is the service name in RHOS.
Nice catch, this would be fixed by updating the Dockerfile to conditionally set the port and ml-endpoint args based on ENV_VARS or args to the docker command. Those args to app.py already address this issue for cases directly calling the app
ptitzler
changed the title
Deployment on RHOS fails: Cannot connect to the Image Caption Generator REST endpoint
Deployment on Kubernetes/RHOS fails: Cannot connect to the Image Caption Generator REST endpoint
May 7, 2020
The text was updated successfully, but these errors were encountered: