z3z1ma / dbt-osmosis

Provides automated YAML management, a dbt server, streamlit workbench, and git-integrated dbt model output diff tools
https://z3z1ma.github.io/dbt-osmosis/
Apache License 2.0
422 stars 45 forks source link

IPv6 issue #25

Closed SBurwash closed 1 year ago

SBurwash commented 1 year ago

Good day,

When trying to run the server within docker, I'm getting the error

ERROR:    [Errno 99] error while attempting to bind on address ('::1', 8581, 0, 0): cannot assign requested address

I'm guessing this is because the program was written on IPv6 instead of IPv4. I was wondering if it would be possible to support IPv4 as well.

Thanks!

z3z1ma commented 1 year ago

Thanks for the issue!

I will look into this. It sounds strange. Will try to reproduce.

SBurwash commented 1 year ago

Thanks @z3z1ma ! If you need any help / additional information, please let me know

SBurwash commented 1 year ago

Solution -> Specifying the IPv4 address solve this problem:

server serve --host 127.0.0.1 --port 8581 --profiles-dir ${DBT_OSMOSIS_PROFILES_DIR}