nil
11/17/2020, 10:02 PMdouwe_maan
11/17/2020, 10:03 PMmeltano ui server at port 5000nil
11/17/2020, 10:14 PMMELTANO_UI_AUTHENTICATION=true
i get
Authentication is enabled, but your configuration is currently insecure:
so i added
MELTANO_UI_SESSION_COOKIE_DOMAIN="<http://sub.domain.co.uk|sub.domain.co.uk>"
but now i get
The CSRF tokens do not match.nil
11/17/2020, 10:15 PMMELTANO_UI_SERVER_NAME="<http://sub.domain.co.uk|sub.domain.co.uk>
the ui does not start (i do not get that green url in cmd) and on browser i get 404douwe_maan
11/17/2020, 10:15 PMIf you will be running Meltano UI behind a front-end (reverse) proxy that will be responsible for SSL termination (HTTPS), it is recommended that you enable the `ui.session_cookie_secure` setting so that session cookies used for authentication are only sent along with secure requests.
You may also need to change the `ui.forwarded_allow_ips` setting to get Meltano UI to realize it should use theURL scheme rather thanhttpsin the URLs it builds.http
douwe_maan
11/17/2020, 10:17 PMdouwe_maan
11/17/2020, 10:17 PMnil
11/17/2020, 10:21 PMmeltano, version 1.58.0
i have tried it with
MELTANO_UI_SESSION_COOKIE_SECURE="true"
MELTANO_UI_FORWARDED_ALLOW_IPS="*"
Its just i am not sure about which combination of things work (i think)
With regards to https://gitlab.com/meltano/meltano/-/issues/2307 it is only if you want to serve it over https?douwe_maan
11/17/2020, 10:23 PMui.* settings? You can find them in meltano config meltanonil
11/17/2020, 10:24 PMMELTANO_DATABASE_URI="postgresql://......"
MELTANO_UI_SECRET_KEY="8cb......"
MELTANO_UI_PASSWORD_SALT="a0....."
MELTANO_UI_AUTHENTICATION="true"
MELTANO_UI_SESSION_COOKIE_DOMAIN="<http://SUB.DOMAIN.co.uk|SUB.DOMAIN.co.uk>"
MELTANO_UI_SESSION_COOKIE_SECURE="true"
MELTANO_UI_FORWARDED_ALLOW_IPS="*"
and i am still getting CSRF token do not matchnil
11/17/2020, 10:25 PMdouwe_maan
11/17/2020, 10:25 PMdouwe_maan
11/17/2020, 10:26 PMdouwe_maan
11/17/2020, 10:26 PMdouwe_maan
11/17/2020, 10:27 PMSet-Cookie header on the first request's response, and the Cookies header on the second request, that ends up showing the CSRF errordouwe_maan
11/17/2020, 10:28 PM<https://sub.domain.co.uk/> , without an additional port or anything?nil
11/17/2020, 10:31 PMdouwe_maan
11/17/2020, 10:32 PM:5000 to the ui.server_name and/or ui.session_cookie_namedouwe_maan
11/17/2020, 10:33 PMnil
11/17/2020, 10:45 PMMELTANO_UI_SESSION_COOKIE_DOMAIN="<http://sub.domain.co.uk:5000|sub.domain.co.uk:5000>"
MELTANO_UI_SERVER_NAME="<http://sub.domain.co.uk:5000|sub.domain.co.uk:5000>"
still CSRFnil
11/17/2020, 10:53 PMCookie i need to check Set-Cookie in response headers for first
sub.domain.co.uk and login?next=%2F
and
Set-Cookie on the page after i get CSRF error (once i click login)
Do all three suppose to be same?douwe_maan
11/17/2020, 10:54 PMSet-Cookie in the / and login page response headers, Cookies in the error page request headersdouwe_maan
11/17/2020, 10:55 PMnil
11/17/2020, 10:58 PMCookies in the error page request headersdouwe_maan
11/17/2020, 10:58 PMSet-Cookie didn't "work"douwe_maan
11/17/2020, 10:59 PMdouwe_maan
11/17/2020, 10:59 PMnil
11/17/2020, 11:00 PMdouwe_maan
11/17/2020, 11:01 PMnil
11/17/2020, 11:03 PMMELTANO_UI_SESSION_COOKIE_DOMAIN="<http://meltano.m-eat.co.uk:5000|meltano.m-eat.co.uk:5000>"
MELTANO_UI_SERVER_NAME="<http://meltano.m-eat.co.uk:5000|meltano.m-eat.co.uk:5000>"
MELTANO_UI_SESSION_COOKIE_SECURE="true"
MELTANO_UI_FORWARDED_ALLOW_IPS="*"
The i can log in normally without any problem (apart from "Authentication is enabled, but your configuration is currently insecure:")douwe_maan
11/17/2020, 11:04 PMdouwe_maan
11/17/2020, 11:04 PMDomain ?nil
11/17/2020, 11:07 PMdouwe_maan
11/17/2020, 11:08 PMDomain in the "secured" Set-Cookie is the problemdouwe_maan
11/17/2020, 11:09 PMDomain=<http://meltano.m-eat.co.uk|meltano.m-eat.co.uk> doesnt include the 5000 port you satisfied, but I double checked and ports are ignored for cookies, only the domain countsdouwe_maan
11/17/2020, 11:10 PMDomain=<http://meltano.m-eat.co.uk|meltano.m-eat.co.uk> should be good, assuming your browser is accessing it at <https://meltano.m-eat.co.uk>:<any port>douwe_maan
11/17/2020, 11:10 PM:5000 in your ui.session_cookie_domaindouwe_maan
11/17/2020, 11:10 PMdouwe_maan
11/17/2020, 11:11 PMSet-Cookie with Domain along in the Cookies on the next requestnil
11/17/2020, 11:17 PMcookies tab i can see the domainnil
11/17/2020, 11:18 PMnil
11/17/2020, 11:19 PMdouwe_maan
11/17/2020, 11:19 PMSet-Cookie definitiondouwe_maan
11/17/2020, 11:20 PMdouwe_maan
11/17/2020, 11:20 PMdouwe_maan
11/17/2020, 11:20 PMdouwe_maan
11/17/2020, 11:21 PMMELTANO_UI_SESSION_COOKIE_DOMAIN="<http://meltano.m-eat.co.uk|meltano.m-eat.co.uk>" MELTANO_UI_SESSION_COOKIE_SECURE="true" ?nil
11/17/2020, 11:22 PMdouwe_maan
11/17/2020, 11:23 PMnil
11/17/2020, 11:39 PMMELTANO_UI_SESSION_COOKIE_SECURE="true" own its own breaks things (the secure box is ticked, but in cmd i see "Authentication is enabled, but your configuration is currently insecure" first image)
MELTANO_UI_SESSION_COOKIE_DOMAIN="<http://meltano.m-eat.co.uk|meltano.m-eat.co.uk>" Does not break things (with this i do not see the tick in secure box, second image)douwe_maan
11/17/2020, 11:40 PMnil
11/17/2020, 11:41 PMdouwe_maan
11/17/2020, 11:42 PMdouwe_maan
11/17/2020, 11:42 PMnil
11/17/2020, 11:45 PMdouwe_maan
11/17/2020, 11:46 PMdouwe_maan
11/17/2020, 11:46 PMdouwe_maan
11/17/2020, 11:46 PMnil
11/17/2020, 11:47 PMdouwe_maan
11/17/2020, 11:48 PMnil
11/17/2020, 11:50 PMdouwe_maan
11/17/2020, 11:56 PMnil
11/17/2020, 11:56 PMdouwe_maan
11/17/2020, 11:56 PMdouwe_maan
11/17/2020, 11:57 PMdouwe_maan
11/17/2020, 11:57 PMnil
11/18/2020, 12:01 AMdouwe_maan
11/18/2020, 12:01 AMnil
11/18/2020, 12:04 AMa and majority of them silent 🤣douwe_maan
11/18/2020, 12:13 AMnil
11/18/2020, 12:27 AMdouwe_maan
11/18/2020, 12:27 AMdouwe_maan
11/18/2020, 12:27 AMed_bergavera
11/27/2020, 10:35 PMMixed Content: The page at '<https://example.com/extractors>' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '<http://example.com/api/v1/version?include_latest=true>'. This request has been blocked; the content must be served over HTTPS.
Your help is greatly appreciated.douwe_maan
12/01/2020, 4:17 PMhttps:// instead of http:// . Did you see the suggestion under https://meltano.com/docs/production.html#meltano-ui?
If you will be running Meltano UI behind a front-end (reverse) proxy that will be responsible for SSL termination (HTTPS), it is recommended that you enable the `ui.session_cookie_secure` setting so that session cookies used for authentication are only sent along with secure requests.
You may also need to change the `ui.forwarded_allow_ips` setting to get Meltano UI to realize it should use theSpecifically, look into https://meltano.com/docs/settings.html#ui-forwarded-allow-ipsURL scheme rather thanhttpsin the URLs it builds.http
ed_bergavera
12/01/2020, 11:49 PMdouwe_maan
12/01/2020, 11:53 PMage column even before `target-postgres | psycopg2.errors.UndefinedColumn: column "age" does not exist`:
target-postgres | INFO Table Schema Change [`ads_insights_age_and_gender`.`('age',)`:`age`] New column (took 4 millis)
target-postgres | WARNING FIELD COLLISION: Field `('age',)` exists in remote already. No compatible type found. Appending type suffix: `age__s`
target-postgres | WARNING FIELD COLLISION: Field `('age',)` exists in remote already. No compatible type found. Appending type suffix: `age__i`
target-postgres | INFO Table Schema Change [`ads_insights_age_and_gender`.`('age',)`:`age__s`] Splitting `age` into `age__i` and `age__s`. New column matches existing column path, but the types are incompatible. (took 13 millis)douwe_maan
12/01/2020, 11:54 PMage with two possible (incompatible) types: https://gitlab.com/meltano/tap-facebook/-/blob/master/tap_facebook/schemas/ads_insights_age_and_gender.json#L323-329douwe_maan
12/01/2020, 11:58 PMmeltano select tap-facebook --exclude ads_insights_age_and_gender '*'douwe_maan
12/02/2020, 12:00 AMage , but https://github.com/singer-io/tap-facebook/commit/bfe3b36aede2577ece7d2d1a27efac9a0f81195f and https://github.com/singer-io/tap-facebook/commit/e798176d80d86017757de4e6bbfe033e8eb32a18 suggest that this may be the casedouwe_maan
12/02/2020, 12:02 AMads_insights_age_and_gender is important to you, it's possible that a different variant of target-postgres (see https://meltano.com/plugins/loaders/postgres.html#alternative-variants) handles the multiple types bettered_bergavera
12/02/2020, 12:02 AMdouwe_maan
12/02/2020, 12:04 AMed_bergavera
12/02/2020, 12:04 AMdouwe_maan
12/02/2020, 12:06 AMed_bergavera
12/02/2020, 12:07 AMdouwe_maan
12/02/2020, 12:07 AMdouwe_maan
12/02/2020, 12:08 AMdouwe_maan
12/02/2020, 12:08 AMdouwe_maan
12/02/2020, 12:09 AMmeltano select tap-facebook --exclude ads_insights_age_and_gender '*' and trying agained_bergavera
12/02/2020, 12:14 AMdouwe_maan
12/02/2020, 12:15 AMage using the existing schema extra in meltano.yml I linked to a few messages up: https://gitlab.com/meltano/meltano/-/issues/2469douwe_maan
12/02/2020, 12:16 AMed_bergavera
12/02/2020, 12:29 AMmonika_rajput
03/09/2022, 2:56 PM