https://lakefs.io/ logo
Title
v

Vino

09/08/2022, 1:58 PM
Hello. I'm running lakeFS using everything bagel and run into this error:
HTTPConnectionPool(host='localhost', port=8000): Max retries exceeded with url: /api/v1/repositories/example/branches (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc728391760>: Failed to establish a new connection: [Errno 111] Connection refused'))
From the jupyter notebook that comes with everything bagel, I'm calling list_branches(), which results in this error. What am I missing? I'm able to access the lakeFS UI though.
b

Barak Amar

09/08/2022, 2:02 PM
look like you configured the notebook to connect to localhost - I assume lakefs running as 'lakefs' inside the docker compose.
👍 1
v

Vino

09/08/2022, 2:04 PM
Good catch! that did it.
:lakefs: 1
a

Amit Kesarwani

11/11/2022, 11:56 PM
@Vino How did you fix this issue? I am not using localhost. lafeFS is running in GCP in my case but still having this issue often.
v

Vino

11/11/2022, 11:58 PM
I used lakefs:// instead of localhost:// and that helped me.
a

Amit Kesarwani

11/12/2022, 12:01 AM
@Vino My endpoint is like this `lakefsEndPoint = 'http://x.y.z.a:8000'`Do you see any issue in this?