These are chat archives for fanout/pushpin

8th
Jun 2018
Jorge S. Cuesta
@jorgecuesta
Jun 08 2018 15:01
@jkarneges Good morning, I sent on private logs you request
Jorge S. Cuesta
@jorgecuesta
Jun 08 2018 22:55
teorically *,debug,proto=ws ${target},over_http,host=domain.loc host header to target should be replaced with domain.loc
but target is getting the original request host
sem-pushpin       | [DEBUG] 2018-06-08 22:53:26.129 [m2a] m2: IN 1053 "pushpin-m2-7999 1 /graphql/subscription 976:{\"PATH\":\"/graphql/subscription\",\"sec-websocket-extensions\":\"permessage-deflate; client_max_window_bits\",\"connection\":\"Upgrade\",\"sec-websocket-version\":\"13\",\"DOWNLOAD_CREDITS\":\"102400\",\"sec-websocket-key\":\"2JEJd0f9xHDTHjVk+CWGXA==\",\"host\":\"demo.domain.loc:7999\",\"upgrade\":\"websocket\",\"METHOD\":\"WEBSOCKET_HANDSHAKE\",\"VERSION\":\"HTTP/1.1\",\"URI\":\"/graphql/subscription?access=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0eXBlIjoiYWNjZXNzLXRva2VuIiwiYWNjb3VudCI6Ij...xEc0hMR01SYVVZVEswRDFJcHdJcnJNIiwiZXhwIjoxNTI4NTgxNzQ1LCJuYmYiOjE1Mjg0OTQ3NDV9.ZC7Rp4HNLU4qh_jCm-DEggiwaByEzgwVJr77jIc4-bQ\",\"QUERY\":\"access=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0eXBlIjoiYWNjZXNzLXRva2VuIiwiYWNjb3VudCI6IjViMTZmOGY2ZWVjNGU4MDAxYjNjMzEwNyIsImlzcyI6Im5VMFRvakdUZGxEc0hMR01SYVVZVEswRDFJcHdJcnJNIiwiZXhwIjoxNTI4NTgxNzQ1LCJuYmYiOjE1Mjg0OTQ3NDV9.ZC7Rp4HNLU4qh_jCm-DEggiwaByEzgwVJr77jIc4-bQ\",\"PATTERN\":\"/\",\"URL_SCHEME\":\"http\",\"REMOTE_ADDR\":\"172.18.0.1\"},28:iod5zrsUCBgFGJvUDvDoUDrNOEw=,"
sem-pushpin       | [INFO] 2018-06-08 22:53:26.129 [m2a] IN pushpin-m2-7999 id=1 GET ws://demo.domain.loc:7999/graphql/subscription?access=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0eXBlIjoiYWNjZXNzLXRva2VuIiwiYWNjb3VudCI6IjViMTZmOGY2ZWVjNGU4MDAxYjNjMzEwNyIsImlzcyI6Im5VMFRvakdUZGxEc0hMR01SYVVZVEswRDFJcHdJcnJNIiwiZXhwIjoxNTI4NTgxNzQ1LCJuYmYiOjE1Mjg0OTQ3NDV9.ZC7Rp4HNLU4qh_jCm-DEggiwaByEzgwVJr77jIc4-bQ
sem-pushpin       | [DEBUG] 2018-06-08 22:53:26.130 [m2a] zws: OUT { "peer-address": "172.18.0.1", "ext": { "multi": true }, "seq": 0, "headers": [ [ "Connection", "Upgrade" ], [ "Host", "demo.domain.loc:7999" ], [ "Sec-Websocket-Extensions", "permessage-deflate; client_max_window_bits" ], [ "Sec-Websocket-Key", "2JEJd0f9xHDTHjVk+CWGXA==" ], [ "Sec-Websocket-Version", "13" ], [ "Upgrade", "websocket" ] ], "uri": "ws://demo.domain.loc:7999/graphql/subscription?access=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0eXBlIjoiYWNjZXNzLXRva2VuIiwiYWNjb3VudCI6IjViMTZmOGY2ZWVjNGU4MDAxYjNjMzEwNyIsImlzcyI6Im5VMFRvakdUZGxEc0hMR01SYVVZVEswRDFJcHdJcnJNIiwiZXhwIjoxNTI4NTgxNzQ1LCJuYmYiOjE1Mjg0OTQ3NDV9.ZC7Rp4HNLU4qh_jCm-DEggiwaByEzgwVJr77jIc4-bQ", "from": "m2zws_11", "id": "pushpin-m2-7999_1_0", "credits": 102400 }
Justin Karneges
@jkarneges
Jun 08 2018 23:21
that's [m2a]. how about [zurl] lines?
m2a is before proxying, so the host there is correct