Is there a way to set proxy in the
When setting up the lakeFS via docker-compose on Azure VM, we have faced a time-out issue with following error message:
lakefs-lakefs-1 | time="2024-06-16T16:44:31Z" level=error msg="failed to get azure blob from container &{%!s(*generated.ContainerClient=&{0xc007a89900 https://<account name>.blob.core.windows.net/lakefs}) %!s(*exported.TokenCredential=0xc007a85b70)} key &{%!s(*generated.BlobClient=&{0xc007a89980 https://<account name>.blob.core.windows.net/lakefs/demo-repository-001}) %!s(*generated.BlockBlobClient=&{0xc007a89980 https://<account name>.blob.core.windows.net/lakefs/demo-repository-001}) %!s(*exported.SharedKeyCredential=<nil>)}" func="pkg/logging.(*logrusEntryWrapper).Errorf" file="build/pkg/logging/logger.go:324" error="context canceled" host="localhost:8080" method=POST operation_id=CreateRepository path=/api/v1/repositories request_id=a431668f-d4d8-4b8d-9b2d-6a313dfb6da9 service_name=rest_api user=admin
lakefs-lakefs-1 | time="2024-06-16T16:44:31Z" level=warning msg="Could not access storage namespace" func="pkg/api.(*Controller).CreateRepository" file="build/pkg/api/controller.go:1612" error="context canceled" reason=unknown service=api_gateway storage_namespace="https://<account name>.blob.core.windows.net/lakefs/demo-repository-001/"
When with the same setup on local laptop, the error is not observed.
We think the problem might most likely be a proxy problem, as the Azure VM is behind a proxy. Anyone has an idea, how to set the proxy in the config? Many thanks.
Hey, @cic1988, first thanks for taking the time and creating this issue!
lakeFS works with a proxy so I suspect there's a bug or some misconfiguration. Can you please provide more details? How can we recreate this issue ourselves? Docker compose file? Steps to do in Azure? API works? (i.e using lakectl not ui)
I have tried out the latest version, it worked well. What I have also changed is that not only setting up environment http_proxy, https_proxy but also HTTP_PROXY and HTTPS_PROXY. Not sure whether case sensibility makes a difference. Thanks.