0
votes

I have a reference to a dbt hub package in the packages.yml file in my project:

packages:
  - package: fishtown-analytics/dbt_utils
    version: 0.6.4

When I run dbt deps, this works fine on a machine outside our corporate network but when I run locally I get an error:

Encountered an error:
Unable to connect to registry hub

presumably because dbt isn't using the proxy. I have the HTTP_PROXY and HTTPS_PROXY environment variables set and these work fine for pip install and the like.

Does anyone have any ideas please? I'm running on Windows 7 from inside a git bash prompt (yes I know not ideal, but I have to work with the tools I'm given!)

1

1 Answers

0
votes

I ran in to this problem as well. I was able to download the package from the repo and add it as a separate project in a 'libs' folder next to some other projects. Then in the packages.yml add a local reference.

packages:
    - local: '../libs/dbt-utils'