mozilla-ai / lumigator

Source code for Mozilla.ai's Lumigator platform
Apache License 2.0
58 stars 5 forks source link

Update Accessing deployments endpoint in demo notebook #297

Open kernel-loophole opened 2 weeks ago

kernel-loophole commented 2 weeks ago

While trying to list all available deployments using the ld.get_deployments() function, a 404 Client Error occurred. The request failed for the URL: http://0.0.0.0:8000/api/v1/ground-truth/deployments/. Possible Causes:

javiermtorres commented 1 week ago

Could you try http://127.0.0.1:8000/api/v1/ground-truth/deployments/ instead? Usually 0.0.0.0 indicates the kernel that a server wants to attach to all possible interfaces (with their IPs). I'm not sure how a request to 0.0.0.0 is interpreted.

kernel-loophole commented 1 week ago

sure

kernel-loophole commented 1 week ago

hi i try with the localhost ,did not work Request failed: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: [/api/v1/health/deployments](https://file+.vscode-resource.vscode-cdn.net/api/v1/health/deployments) (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x70d44daf9ad0>: Failed to establish a new connection: [Errno 111] Connection refused')). also i hit the address thorugh curl and not found

javiermtorres commented 1 week ago

Hi @kernel-loophole I was puzzled with the source IP, so I didn't check that you're addressing the deployments endpoint, which is no longer available due to changes in internal architecture. Please give us a few days to provide an alternative.

kernel-loophole commented 1 week ago

@javiermtorres yeah sure ,let me know if you have anything for me where i can contribute .