When using a config.yml file and specifying metabase_use_http: True (tried upper and lower case), I end up with the following SSL error (note: running Metabase via http://localhost:3000):
requests.exceptions.SSLError: HTTPSConnectionPool(host='localhost', port=3000): Max retries exceeded with url: /api/session (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1122)')))
After digging into it, the issue was that it was still sending the request via https. I found that here the self.protocol attribute was still being passed as https resulting in the error.
Using --metabase_http as a command line argument fixed the issue for me, I believe it just overrides what's here
@click.option(
"--metabase_http/--metabase_https",
"metabase_use_http",
default=False,
help="use HTTP or HTTPS to connect to Metabase. Default HTTPS",
)
When using a config.yml file and specifying
metabase_use_http: True
(tried upper and lower case), I end up with the following SSL error (note: running Metabase viahttp://localhost:3000
):After digging into it, the issue was that it was still sending the request via
https
. I found that here theself.protocol
attribute was still being passed ashttps
resulting in the error.Using --metabase_http as a command line argument fixed the issue for me, I believe it just overrides what's here
Currently using dbt-metabase==0.8.5