Comments (5)
Please add trace: true
to the Gun options (next to transport: :tls,
) so we can see what it's doing.
from gun.
[0m(<0.666.0>) in {gen_statem,loop_receive,3} (Timestamp: {1704,896297,785799})
(<0.666.0>) out {gen_statem,loop_receive,3} (Timestamp: {1704,896297,785823})
(<0.666.0>) in {gen_statem,loop_receive,3} (Timestamp: {1704,896297,798628})
(<0.666.0>) << {'$gen_cast',
{ws_upgrade,<0.651.0>,#Ref<0.2683160591.2479882242.85291>,
"/",
[{<<"authorization">>,
<<236,89,159,101,86,199,186,34,229,35,53,199,154,
173,164,103,198,212,120,108,49,209,211,114,140,
143,108,96,241,6,105,29,166,137,186,219,18,227,
156,64,70,13,10,150,199,179,118,105,160,71,120,
137,177,178,25,149,204,15,225,184,152,190,90,
156,68,33,214,114,115,101,36,55,213,49,165,46,
206,216,82,138,24,207,144,159,66,221,191,27,152,
128,101,68,136,132,60,58,164,178,35,122,192,211,
242,142,64,207,53,246,71,176,195,104,2,82,22,97,
136,27,103,157,144,113,238,16,205,232,75,61>>}]}} (Timestamp: {1704,
896297,
798634})
(<0.666.0>) call gun:connected/3 (Timestamp: {1704,896297,798648})
(<0.666.0>) call gun:connected/3 (Timestamp: {1704,896297,798653})
(<0.666.0>) call gun:dereference_stream_ref/2 (Timestamp: {1704,896297,798657})
(<0.666.0>) call gun:'-dereference_stream_ref/2-lc$^0/1-0-'/1 (Timestamp: {1704,
896297,
798659})
(<0.666.0>) returned from gun:'-dereference_stream_ref/2-lc$^0/1-0-'/1 -> [] (Timestamp: {1704,
896297,
798662})
(<0.666.0>) returning to gun:dereference_stream_ref/2 (Timestamp: {1704,
896297,
798666})
(<0.666.0>) returned from gun:dereference_stream_ref/2 -> #Ref<0.2683160591.2479882242.85291> (Timestamp: {1704,
896297,
798667})
(<0.666.0>) returning to gun:connected/3 (Timestamp: {1704,896297,798668})
(<0.666.0>) call gun_http2:ws_upgrade/11 (Timestamp: {1704,896297,798672})
(<0.666.0>) call gun_http2:prepare_headers/7 (Timestamp: {1704,896297,798679})
(<0.666.0>) call gun_http2:scheme/1 (Timestamp: {1704,896297,798681})
(<0.666.0>) returned from gun_http2:scheme/1 -> <<"https">> (Timestamp: {1704,
896297,
798683})
(<0.666.0>) returning to gun_http2:prepare_headers/7 (Timestamp: {1704,896297,
798684})
(<0.666.0>) call gun_http:host_header/3 (Timestamp: {1704,896297,798692})
(<0.666.0>) returned from gun_http:host_header/3 -> ["admin.ccoud.net",
58,<<"4575">>] (Timestamp: {1704,
896297,
798694})
(<0.666.0>) returning to gun_http2:prepare_headers/7 (Timestamp: {1704,896297,
798698})
(<0.666.0>) code_server ! {code_call,<0.666.0>,
{get_object_code_for_loading,gun_cookies}} (Timestamp: {1704,
896297,
798708})
(<0.666.0>) out {code_server,call,1} (Timestamp: {1704,896297,798713})
(<0.666.0>) in {code_server,call,1} (Timestamp: {1704,896297,802191})
(<0.666.0>) << {code_server,
{gun_cookies,
<<REMOVED>>,
"/app/_build/dev/lib/gun/ebin/gun_cookies.beam",
#Ref<0.2683160591.2479882246.85830>}} (Timestamp: {1704,
896297,
802195})
(<0.666.0>) code_server ! {code_call,<0.666.0>,
{load_module,
#Ref<0.2683160591.2480013317.86452>,
gun_cookies,
"/app/_build/dev/lib/gun/ebin/gun_cookies.beam",
false,#Ref<0.2683160591.2479882246.85830>}} (Timestamp: {1704,
896297,
802877})
(<0.666.0>) out {code_server,call,1} (Timestamp: {1704,896297,802883})
(<0.666.0>) in {code_server,call,1} (Timestamp: {1704,896297,810897})
(<0.666.0>) << {code_server,{module,gun_cookies}} (Timestamp: {1704,896297,
810904})
(<0.666.0>) returned from gun_http2:prepare_headers/7 -> {ok,
#{scheme =>
<<"https">>,
path => "/",
authority =>
["admin.ccoud.net",
58,<<"4575">>],
method =>
<<"CONNECT">>},
[{<<"authorization">>,
<<236,89,159,101,
86,199,186,34,
229,35,53,199,
154,173,164,
103,198,212,
120,108,49,209,
211,114,140,
143,108,96,241,
6,105,29,166,
137,186,219,18,
227,156,64,70,
13,10,150,199,
179,118,105,
160,71,120,137,
177,178,25,149,
204,15,225,184,
152,190,90,156,
68,33,214,114,
115,101,36,55,
213,49,165,46,
206,216,82,138,
24,207,144,159,
66,221,191,27,
152,128,101,68,
136,132,60,58,
164,178,35,122,
192,211,242,
142,64,207,53,
246,71,176,195,
104,2,82,22,97,
136,27,103,157,
144,113,238,16,
205,232,75,61>>}],
undefined} (Timestamp: {1704,
896297,
810915})
(<0.666.0>) returning to gun_http2:ws_upgrade/11 (Timestamp: {1704,896297,
810922})
(<0.666.0>) call gun_http2:stream_ref/2 (Timestamp: {1704,896297,810930})
(<0.666.0>) returned from gun_http2:stream_ref/2 -> #Ref<0.2683160591.2479882242.85291> (Timestamp: {1704,
896297,
810932})
(<0.666.0>) returning to gun_http2:ws_upgrade/11 (Timestamp: {1704,896297,
810934})
(<0.666.0>) gc_minor_start [{wordsize,0},
{old_heap_block_size,2586},
{heap_block_size,1598},
{mbuf_size,34},
{recent_size,153},
{stack_size,59},
{old_heap_size,333},
{heap_size,1535},
{bin_vheap_size,32983},
{bin_vheap_block_size,46422},
{bin_old_vheap_size,0},
{bin_old_vheap_block_size,46422}] (Timestamp: {1704,896297,810958})
(<0.666.0>) gc_minor_end [{wordsize,1338},
{old_heap_block_size,2586},
{heap_block_size,2586},
{mbuf_size,0},
{recent_size,200},
{stack_size,59},
{old_heap_size,364},
{heap_size,200},
{bin_vheap_size,16},
{bin_vheap_block_size,46422},
{bin_old_vheap_size,0},
{bin_old_vheap_block_size,46422}] (Timestamp: {1704,896297,810981})
(<0.666.0>) <0.671.0> ! {'$gen_call',
{<0.666.0>,#Ref<0.2683160591.2479882245.86519>},
{application_data,
[<<REMOVED>>]}} (Timestamp: {1704,896297,
811053})
(<0.666.0>) out {gen,do_call,4} (Timestamp: {1704,896297,811058})
(<0.666.0>) in {gen,do_call,4} (Timestamp: {1704,896297,811288})
(<0.666.0>) << {#Ref<0.2683160591.2479882245.86519>,ok} (Timestamp: {1704,
896297,
811291})
(<0.666.0>) call gun_http2:create_stream/2 (Timestamp: {1704,896297,811298})
(<0.666.0>) returned from gun_http2:create_stream/2 -> {http2_state,
<0.651.0>,
{sslsocket,
{gen_tcp,
#Port<0.22>,
tls_connection,
undefined},
[<0.672.0>,
<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,undefined,
undefined,connected,
{http2_machine,
client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag =>
undefined},
normal,undefined,
undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size =>
65535},
65535,8000000,3,0,
2147483647,
#{1 =>
{stream,1,
<<"CONNECT">>,
nofin,65535,
{[],[]},
0,undefined,idle,
8000000,
undefined,0,
undefined}},
[],[],
{state,0,4096,4096,
[]},
{state,433,4096,
4096,
[{173,
{<<"authorization">>,
<<236,89,159,
101,86,199,
186,34,229,35,
53,199,154,
173,164,103,
198,212,120,
108,49,209,
211,114,140,
143,108,96,
241,6,105,29,
166,137,186,
219,18,227,
156,64,70,13,
10,150,199,
179,118,105,
160,71,120,
137,177,178,
25,149,204,15,
225,184,152,
190,90,156,68,
33,214,114,
115,101,36,55,
213,49,165,46,
206,216,82,
138,24,207,
144,159,66,
221,191,27,
152,128,101,
68,136,132,60,
58,164,178,35,
122,192,211,
242,142,64,
207,53,246,71,
176,195,104,2,
82,22,97,136,
27,103,157,
144,113,238,
16,205,232,75,
61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{1 =>
{stream,1,
#Ref<0.2683160591.2479882242.85291>,
<0.651.0>,
infinity,
["admin.ccoud.net",
58,<<"4575">>],
"/",undefined,
{tunnel,
requested,
undefined,
{websocket_info,
[],#{}},
undefined,
undefined}}},
#{#Ref<0.2683160591.2479882242.85291> =>
1},
0} (Timestamp: {1704,
896297,
811300})
(<0.666.0>) returning to gun_http2:ws_upgrade/11 (Timestamp: {1704,896297,
811308})
(<0.666.0>) returned from gun_http2:ws_upgrade/11 -> {{state,
{http2_state,
<0.651.0>,
{sslsocket,
{gen_tcp,
#Port<0.22>,
tls_connection,
undefined},
[<0.672.0>,
<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,undefined,
undefined,connected,
{http2_machine,
client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag =>
undefined},
normal,undefined,
undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size =>
65535},
65535,8000000,3,0,
2147483647,
#{1 =>
{stream,1,
<<"CONNECT">>,
nofin,65535,
{[],[]},
0,undefined,idle,
8000000,
undefined,0,
undefined}},
[],[],
{state,0,4096,4096,
[]},
{state,433,4096,
4096,
[{173,
{<<"authorization">>,
<<236,89,159,
101,86,199,
186,34,229,35,
53,199,154,
173,164,103,
198,212,120,
108,49,209,
211,114,140,
143,108,96,
241,6,105,29,
166,137,186,
219,18,227,
156,64,70,13,
10,150,199,
179,118,105,
160,71,120,
137,177,178,
25,149,204,15,
225,184,152,
190,90,156,68,
33,214,114,
115,101,36,55,
213,49,165,46,
206,216,82,
138,24,207,
144,159,66,
221,191,27,
152,128,101,
68,136,132,60,
58,164,178,35,
122,192,211,
242,142,64,
207,53,246,71,
176,195,104,2,
82,22,97,136,
27,103,157,
144,113,238,
16,205,232,75,
61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{1 =>
{stream,1,
#Ref<0.2683160591.2479882242.85291>,
<0.651.0>,
infinity,
["admin.ccoud.net",
58,<<"4575">>],
"/",undefined,
{tunnel,
requested,
undefined,
{websocket_info,
[],#{}},
undefined,
undefined}}},
#{#Ref<0.2683160591.2479882242.85291> =>
1},
0}},
undefined,undefined} (Timestamp: {1704,
896297,
811309})
(<0.666.0>) returning to gun:connected/3 (Timestamp: {1704,896297,811314})
(<0.666.0>) call gun:commands/2 (Timestamp: {1704,896297,811318})
(<0.666.0>) call gun:commands/2 (Timestamp: {1704,896297,811320})
(<0.666.0>) call gun:commands/2 (Timestamp: {1704,896297,811321})
(<0.666.0>) returned from gun:commands/2 -> {keep_state,
{state,<0.651.0>,
{up,
#Ref<0.2683160591.2479882245.86377>},
"admin.ccoud.net",
4575,<<"https">>,
"admin.ccoud.net",
4575,[],
#{trace => true,
transport => tls,
tls_opts =>
[{port,4576},
{verify,verify_peer},
{server_name_indication,
"admin.ccoud.net"},
{customize_hostname_check,
[{match_fun,
#Fun<public_key.6.117093159>}]},
{cacertfile,
<<"/app/priv/ssl/http/ca.crt">>}]},
undefined,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,true,
{ssl,ssl_closed,ssl_error},
gun_http2,
{http2_state,<0.651.0>,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,undefined,undefined,
connected,
{http2_machine,client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag => undefined},
normal,undefined,undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size =>
65535},
65535,8000000,3,0,2147483647,
#{1 =>
{stream,1,<<"CONNECT">>,
nofin,65535,
{[],[]},
0,undefined,idle,8000000,
undefined,0,undefined}},
[],[],
{state,0,4096,4096,[]},
{state,433,4096,4096,
[{173,
{<<"authorization">>,
<<236,89,159,101,86,199,
186,34,229,35,53,199,
154,173,164,103,198,
212,120,108,49,209,211,
114,140,143,108,96,241,
6,105,29,166,137,186,
219,18,227,156,64,70,
13,10,150,199,179,118,
105,160,71,120,137,177,
178,25,149,204,15,225,
184,152,190,90,156,68,
33,214,114,115,101,36,
55,213,49,165,46,206,
216,82,138,24,207,144,
159,66,221,191,27,152,
128,101,68,136,132,60,
58,164,178,35,122,192,
211,242,142,64,207,53,
246,71,176,195,104,2,
82,22,97,136,27,103,
157,144,113,238,16,205,
232,75,61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{1 =>
{stream,1,
#Ref<0.2683160591.2479882242.85291>,
<0.651.0>,infinity,
["admin.ccoud.net",
58,<<"4575">>],
"/",undefined,
{tunnel,requested,
undefined,
{websocket_info,[],#{}},
undefined,undefined}}},
#{#Ref<0.2683160591.2479882242.85291> =>
1},
0},
undefined,gun_default_event_h,
undefined}} (Timestamp: {1704,
896297,
811323})
(<0.666.0>) returned from gun:commands/2 -> {keep_state,
{state,<0.651.0>,
{up,
#Ref<0.2683160591.2479882245.86377>},
"admin.ccoud.net",
4575,<<"https">>,
"admin.ccoud.net",
4575,[],
#{trace => true,
transport => tls,
tls_opts =>
[{port,4576},
{verify,verify_peer},
{server_name_indication,
"admin.ccoud.net"},
{customize_hostname_check,
[{match_fun,
#Fun<public_key.6.117093159>}]},
{cacertfile,
<<"/app/priv/ssl/http/ca.crt">>}]},
undefined,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,true,
{ssl,ssl_closed,ssl_error},
gun_http2,
{http2_state,<0.651.0>,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,undefined,undefined,
connected,
{http2_machine,client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag => undefined},
normal,undefined,undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size =>
65535},
65535,8000000,3,0,2147483647,
#{1 =>
{stream,1,<<"CONNECT">>,
nofin,65535,
{[],[]},
0,undefined,idle,8000000,
undefined,0,undefined}},
[],[],
{state,0,4096,4096,[]},
{state,433,4096,4096,
[{173,
{<<"authorization">>,
<<236,89,159,101,86,199,
186,34,229,35,53,199,
154,173,164,103,198,
212,120,108,49,209,211,
114,140,143,108,96,241,
6,105,29,166,137,186,
219,18,227,156,64,70,
13,10,150,199,179,118,
105,160,71,120,137,177,
178,25,149,204,15,225,
184,152,190,90,156,68,
33,214,114,115,101,36,
55,213,49,165,46,206,
216,82,138,24,207,144,
159,66,221,191,27,152,
128,101,68,136,132,60,
58,164,178,35,122,192,
211,242,142,64,207,53,
246,71,176,195,104,2,
82,22,97,136,27,103,
157,144,113,238,16,205,
232,75,61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{1 =>
{stream,1,
#Ref<0.2683160591.2479882242.85291>,
<0.651.0>,infinity,
["admin.ccoud.net",
58,<<"4575">>],
"/",undefined,
{tunnel,requested,
undefined,
{websocket_info,[],#{}},
undefined,undefined}}},
#{#Ref<0.2683160591.2479882242.85291> =>
1},
0},
undefined,gun_default_event_h,
undefined}} (Timestamp: {1704,
896297,
811330})
(<0.666.0>) returned from gun:commands/2 -> {keep_state,
{state,<0.651.0>,
{up,
#Ref<0.2683160591.2479882245.86377>},
"admin.ccoud.net",
4575,<<"https">>,
"admin.ccoud.net",
4575,[],
#{trace => true,
transport => tls,
tls_opts =>
[{port,4576},
{verify,verify_peer},
{server_name_indication,
"admin.ccoud.net"},
{customize_hostname_check,
[{match_fun,
#Fun<public_key.6.117093159>}]},
{cacertfile,
<<"/app/priv/ssl/http/ca.crt">>}]},
undefined,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,true,
{ssl,ssl_closed,ssl_error},
gun_http2,
{http2_state,<0.651.0>,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,undefined,undefined,
connected,
{http2_machine,client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag => undefined},
normal,undefined,undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size =>
65535},
65535,8000000,3,0,2147483647,
#{1 =>
{stream,1,<<"CONNECT">>,
nofin,65535,
{[],[]},
0,undefined,idle,8000000,
undefined,0,undefined}},
[],[],
{state,0,4096,4096,[]},
{state,433,4096,4096,
[{173,
{<<"authorization">>,
<<236,89,159,101,86,199,
186,34,229,35,53,199,
154,173,164,103,198,
212,120,108,49,209,211,
114,140,143,108,96,241,
6,105,29,166,137,186,
219,18,227,156,64,70,
13,10,150,199,179,118,
105,160,71,120,137,177,
178,25,149,204,15,225,
184,152,190,90,156,68,
33,214,114,115,101,36,
55,213,49,165,46,206,
216,82,138,24,207,144,
159,66,221,191,27,152,
128,101,68,136,132,60,
58,164,178,35,122,192,
211,242,142,64,207,53,
246,71,176,195,104,2,
82,22,97,136,27,103,
157,144,113,238,16,205,
232,75,61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{1 =>
{stream,1,
#Ref<0.2683160591.2479882242.85291>,
<0.651.0>,infinity,
["admin.ccoud.net",
58,<<"4575">>],
"/",undefined,
{tunnel,requested,
undefined,
{websocket_info,[],#{}},
undefined,undefined}}},
#{#Ref<0.2683160591.2479882242.85291> =>
1},
0},
undefined,gun_default_event_h,
undefined}} (Timestamp: {1704,
896297,
811335})
(<0.666.0>) returned from gun:connected/3 -> {keep_state,
{state,<0.651.0>,
{up,
#Ref<0.2683160591.2479882245.86377>},
"admin.ccoud.net",
4575,<<"https">>,
"admin.ccoud.net",
4575,[],
#{trace => true,
transport => tls,
tls_opts =>
[{port,4576},
{verify,verify_peer},
{server_name_indication,
"admin.ccoud.net"},
{customize_hostname_check,
[{match_fun,
#Fun<public_key.6.117093159>}]},
{cacertfile,
<<"/app/priv/ssl/http/ca.crt">>}]},
undefined,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,true,
{ssl,ssl_closed,ssl_error},
gun_http2,
{http2_state,<0.651.0>,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,undefined,undefined,
connected,
{http2_machine,client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag => undefined},
normal,undefined,undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size =>
65535},
65535,8000000,3,0,2147483647,
#{1 =>
{stream,1,<<"CONNECT">>,
nofin,65535,
{[],[]},
0,undefined,idle,8000000,
undefined,0,undefined}},
[],[],
{state,0,4096,4096,[]},
{state,433,4096,4096,
[{173,
{<<"authorization">>,
<<236,89,159,101,86,199,
186,34,229,35,53,199,
154,173,164,103,198,
212,120,108,49,209,
211,114,140,143,108,
96,241,6,105,29,166,
137,186,219,18,227,
156,64,70,13,10,150,
199,179,118,105,160,
71,120,137,177,178,25,
149,204,15,225,184,
152,190,90,156,68,33,
214,114,115,101,36,55,
213,49,165,46,206,216,
82,138,24,207,144,159,
66,221,191,27,152,128,
101,68,136,132,60,58,
164,178,35,122,192,
211,242,142,64,207,53,
246,71,176,195,104,2,
82,22,97,136,27,103,
157,144,113,238,16,
205,232,75,61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{1 =>
{stream,1,
#Ref<0.2683160591.2479882242.85291>,
<0.651.0>,infinity,
["admin.ccoud.net",
58,<<"4575">>],
"/",undefined,
{tunnel,requested,
undefined,
{websocket_info,[],#{}},
undefined,undefined}}},
#{#Ref<0.2683160591.2479882242.85291> =>
1},
0},
undefined,gun_default_event_h,
undefined}} (Timestamp: {1704,
896297,
811340})
(<0.666.0>) returned from gun:connected/3 -> {keep_state,
{state,<0.651.0>,
{up,
#Ref<0.2683160591.2479882245.86377>},
"admin.ccoud.net",
4575,<<"https">>,
"admin.ccoud.net",
4575,[],
#{trace => true,
transport => tls,
tls_opts =>
[{port,4576},
{verify,verify_peer},
{server_name_indication,
"admin.ccoud.net"},
{customize_hostname_check,
[{match_fun,
#Fun<public_key.6.117093159>}]},
{cacertfile,
<<"/app/priv/ssl/http/ca.crt">>}]},
undefined,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,true,
{ssl,ssl_closed,ssl_error},
gun_http2,
{http2_state,<0.651.0>,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,undefined,undefined,
connected,
{http2_machine,client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag => undefined},
normal,undefined,undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size =>
65535},
65535,8000000,3,0,2147483647,
#{1 =>
{stream,1,<<"CONNECT">>,
nofin,65535,
{[],[]},
0,undefined,idle,8000000,
undefined,0,undefined}},
[],[],
{state,0,4096,4096,[]},
{state,433,4096,4096,
[{173,
{<<"authorization">>,
<<236,89,159,101,86,199,
186,34,229,35,53,199,
154,173,164,103,198,
212,120,108,49,209,
211,114,140,143,108,
96,241,6,105,29,166,
137,186,219,18,227,
156,64,70,13,10,150,
199,179,118,105,160,
71,120,137,177,178,25,
149,204,15,225,184,
152,190,90,156,68,33,
214,114,115,101,36,55,
213,49,165,46,206,216,
82,138,24,207,144,159,
66,221,191,27,152,128,
101,68,136,132,60,58,
164,178,35,122,192,
211,242,142,64,207,53,
246,71,176,195,104,2,
82,22,97,136,27,103,
157,144,113,238,16,
205,232,75,61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{1 =>
{stream,1,
#Ref<0.2683160591.2479882242.85291>,
<0.651.0>,infinity,
["admin.ccoud.net",
58,<<"4575">>],
"/",undefined,
{tunnel,requested,
undefined,
{websocket_info,[],#{}},
undefined,undefined}}},
#{#Ref<0.2683160591.2479882242.85291> =>
1},
0},
undefined,gun_default_event_h,
undefined}} (Timestamp: {1704,
896297,
811346})
(<0.666.0>) returning to gen_statem:loop_state_callback/11 (Timestamp: {1704,
896297,
811351})
(<0.666.0>) out {gen_statem,loop_receive,3} (Timestamp: {1704,896297,811354})
(<0.666.0>) in {gen_statem,loop_receive,3} (Timestamp: {1704,896297,813209})
(<0.666.0>) << {ssl,{sslsocket,{gen_tcp,#Port<0.22>,tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
<<0,0,4,3,0,0,0,0,1,0,0,0,1>>} (Timestamp: {1704,896297,
813212})
(<0.666.0>) call gun:connected/3 (Timestamp: {1704,896297,813217})
(<0.666.0>) call gun:handle_common_connected/4 (Timestamp: {1704,896297,
813219})
(<0.666.0>) call gun:handle_common_connected_no_input/4 (Timestamp: {1704,
896297,
813220})
(<0.666.0>) call gun_http2:handle/5 (Timestamp: {1704,896297,813223})
(<0.666.0>) call gun_http2:parse/5 (Timestamp: {1704,896297,813225})
(<0.666.0>) call gun_http2:frame/5 (Timestamp: {1704,896297,813231})
(<0.666.0>) call gun_http2:rst_stream_frame/5 (Timestamp: {1704,896297,813236})
(<0.666.0>) call gun_http2:take_stream/2 (Timestamp: {1704,896297,813240})
(<0.666.0>) returned from gun_http2:take_stream/2 -> {{stream,1,
#Ref<0.2683160591.2479882242.85291>,
<0.651.0>,infinity,
["admin.ccoud.net",
58,<<"4575">>],
"/",undefined,
{tunnel,requested,
undefined,
{websocket_info,[],
#{}},
undefined,undefined}},
{http2_state,<0.651.0>,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,
undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,undefined,
undefined,connected,
{http2_machine,client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag =>
undefined},
normal,undefined,
undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size =>
65535},
65535,8000000,3,0,
2147483647,#{},[],
[1],
{state,0,4096,4096,[]},
{state,433,4096,4096,
[{173,
{<<"authorization">>,
<<236,89,159,101,
86,199,186,34,
229,35,53,199,
154,173,164,
103,198,212,
120,108,49,209,
211,114,140,
143,108,96,241,
6,105,29,166,
137,186,219,18,
227,156,64,70,
13,10,150,199,
179,118,105,
160,71,120,137,
177,178,25,149,
204,15,225,184,
152,190,90,156,
68,33,214,114,
115,101,36,55,
213,49,165,46,
206,216,82,138,
24,207,144,159,
66,221,191,27,
152,128,101,68,
136,132,60,58,
164,178,35,122,
192,211,242,
142,64,207,53,
246,71,176,195,
104,2,82,22,97,
136,27,103,157,
144,113,238,16,
205,232,75,61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{},#{},0}} (Timestamp: {1704,
896297,
813241})
(<0.666.0>) returning to gun_http2:rst_stream_frame/5 (Timestamp: {1704,
896297,
813248})
(<0.666.0>) call gun_http2:stream_ref/2 (Timestamp: {1704,896297,813250})
(<0.666.0>) returned from gun_http2:stream_ref/2 -> #Ref<0.2683160591.2479882242.85291> (Timestamp: {1704,
896297,
813251})
(<0.666.0>) returning to gun_http2:rst_stream_frame/5 (Timestamp: {1704,
896297,
813252})
(<0.666.0>) <0.651.0> ! {gun_error,<0.666.0>,
#Ref<0.2683160591.2479882242.85291>,
{stream_error,protocol_error,
'Stream reset by server.'}} (Timestamp: {1704,
896297,
813254})
(<0.666.0>) call gun_http2:stream_ref/2 (Timestamp: {1704,896297,813256})
(<0.666.0>) returned from gun_http2:stream_ref/2 -> #Ref<0.2683160591.2479882242.85291> (Timestamp: {1704,
896297,
813257})
(<0.666.0>) returning to gun_http2:rst_stream_frame/5 (Timestamp: {1704,
896297,
813258})
(<0.666.0>) returned from gun_http2:rst_stream_frame/5 -> {{state,
{http2_state,
<0.651.0>,
{sslsocket,
{gen_tcp,
#Port<0.22>,
tls_connection,
undefined},
[<0.672.0>,
<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,undefined,
undefined,
connected,
{http2_machine,
client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag =>
undefined},
normal,
undefined,
undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size =>
65535},
65535,8000000,3,
0,2147483647,
#{},[],
[1],
{state,0,4096,
4096,[]},
{state,433,
4096,4096,
[{173,
{<<"authorization">>,
<<236,89,
159,101,
86,199,
186,34,
229,35,
53,199,
154,173,
164,103,
198,212,
120,108,
49,209,
211,114,
140,143,
108,96,
241,6,
105,29,
166,137,
186,219,
18,227,
156,64,
70,13,10,
150,199,
179,118,
105,160,
71,120,
137,177,
178,25,
149,204,
15,225,
184,152,
190,90,
156,68,
33,214,
114,115,
101,36,
55,213,
49,165,
46,206,
216,82,
138,24,
207,144,
159,66,
221,191,
27,152,
128,101,
68,136,
132,60,
58,164,
178,35,
122,192,
211,242,
142,64,
207,53,
246,71,
176,195,
104,2,82,
22,97,
136,27,
103,157,
144,113,
238,16,
205,232,
75,61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{},#{},0}},
undefined} (Timestamp: {1704,
896297,
813259})
(<0.666.0>) returning to gun_http2:frame/5 (Timestamp: {1704,896297,813261})
(<0.666.0>) returned from gun_http2:frame/5 -> {{state,
{http2_state,<0.651.0>,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,undefined,undefined,
connected,
{http2_machine,client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag => undefined},
normal,undefined,undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size =>
65535},
65535,8000000,3,0,
2147483647,#{},[],
[1],
{state,0,4096,4096,[]},
{state,433,4096,4096,
[{173,
{<<"authorization">>,
<<236,89,159,101,86,
199,186,34,229,35,
53,199,154,173,164,
103,198,212,120,108,
49,209,211,114,140,
143,108,96,241,6,
105,29,166,137,186,
219,18,227,156,64,
70,13,10,150,199,
179,118,105,160,71,
120,137,177,178,25,
149,204,15,225,184,
152,190,90,156,68,
33,214,114,115,101,
36,55,213,49,165,46,
206,216,82,138,24,
207,144,159,66,221,
191,27,152,128,101,
68,136,132,60,58,
164,178,35,122,192,
211,242,142,64,207,
53,246,71,176,195,
104,2,82,22,97,136,
27,103,157,144,113,
238,16,205,232,75,61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{},#{},0}},
undefined,undefined} (Timestamp: {1704,
896297,
813262})
(<0.666.0>) returning to gun_http2:parse/5 (Timestamp: {1704,896297,813264})
(<0.666.0>) call gun_http2:parse/5 (Timestamp: {1704,896297,813265})
(<0.666.0>) returned from gun_http2:parse/5 -> {{state,
{http2_state,<0.651.0>,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,undefined,undefined,
connected,
{http2_machine,client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag => undefined},
normal,undefined,undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size =>
65535},
65535,8000000,3,0,
2147483647,#{},[],
[1],
{state,0,4096,4096,[]},
{state,433,4096,4096,
[{173,
{<<"authorization">>,
<<236,89,159,101,86,
199,186,34,229,35,
53,199,154,173,164,
103,198,212,120,108,
49,209,211,114,140,
143,108,96,241,6,
105,29,166,137,186,
219,18,227,156,64,
70,13,10,150,199,
179,118,105,160,71,
120,137,177,178,25,
149,204,15,225,184,
152,190,90,156,68,
33,214,114,115,101,
36,55,213,49,165,46,
206,216,82,138,24,
207,144,159,66,221,
191,27,152,128,101,
68,136,132,60,58,
164,178,35,122,192,
211,242,142,64,207,
53,246,71,176,195,
104,2,82,22,97,136,
27,103,157,144,113,
238,16,205,232,75,61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{},#{},0}},
undefined,undefined} (Timestamp: {1704,
896297,
813266})
(<0.666.0>) returned from gun_http2:parse/5 -> {{state,
{http2_state,<0.651.0>,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,undefined,undefined,
connected,
{http2_machine,client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag => undefined},
normal,undefined,undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size =>
65535},
65535,8000000,3,0,
2147483647,#{},[],
[1],
{state,0,4096,4096,[]},
{state,433,4096,4096,
[{173,
{<<"authorization">>,
<<236,89,159,101,86,
199,186,34,229,35,
53,199,154,173,164,
103,198,212,120,108,
49,209,211,114,140,
143,108,96,241,6,
105,29,166,137,186,
219,18,227,156,64,
70,13,10,150,199,
179,118,105,160,71,
120,137,177,178,25,
149,204,15,225,184,
152,190,90,156,68,
33,214,114,115,101,
36,55,213,49,165,46,
206,216,82,138,24,
207,144,159,66,221,
191,27,152,128,101,
68,136,132,60,58,
164,178,35,122,192,
211,242,142,64,207,
53,246,71,176,195,
104,2,82,22,97,136,
27,103,157,144,113,
238,16,205,232,75,61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{},#{},0}},
undefined,undefined} (Timestamp: {1704,
896297,
813268})
(<0.666.0>) returned from gun_http2:handle/5 -> {{state,
{http2_state,<0.651.0>,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,undefined,undefined,
connected,
{http2_machine,client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag =>
undefined},
normal,undefined,
undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size =>
65535},
65535,8000000,3,0,
2147483647,#{},[],
[1],
{state,0,4096,4096,[]},
{state,433,4096,4096,
[{173,
{<<"authorization">>,
<<236,89,159,101,86,
199,186,34,229,35,
53,199,154,173,164,
103,198,212,120,
108,49,209,211,114,
140,143,108,96,241,
6,105,29,166,137,
186,219,18,227,156,
64,70,13,10,150,
199,179,118,105,
160,71,120,137,177,
178,25,149,204,15,
225,184,152,190,90,
156,68,33,214,114,
115,101,36,55,213,
49,165,46,206,216,
82,138,24,207,144,
159,66,221,191,27,
152,128,101,68,136,
132,60,58,164,178,
35,122,192,211,242,
142,64,207,53,246,
71,176,195,104,2,
82,22,97,136,27,
103,157,144,113,
238,16,205,232,75,
61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{},#{},0}},
undefined,undefined} (Timestamp: {1704,
896297,
813270})
(<0.666.0>) returning to gun:handle_common_connected_no_input/4 (Timestamp: {1704,
896297,
813272})
(<0.666.0>) call gun:commands/2 (Timestamp: {1704,896297,813273})
(<0.666.0>) call gun:commands/2 (Timestamp: {1704,896297,813274})
(<0.666.0>) call gun:commands/2 (Timestamp: {1704,896297,813276})
(<0.666.0>) returned from gun:commands/2 -> {keep_state,
{state,<0.651.0>,
{up,
#Ref<0.2683160591.2479882245.86377>},
"admin.ccoud.net",
4575,<<"https">>,
"admin.ccoud.net",
4575,[],
#{trace => true,
transport => tls,
tls_opts =>
[{port,4576},
{verify,verify_peer},
{server_name_indication,
"admin.ccoud.net"},
{customize_hostname_check,
[{match_fun,
#Fun<public_key.6.117093159>}]},
{cacertfile,
<<"/app/priv/ssl/http/ca.crt">>}]},
undefined,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,true,
{ssl,ssl_closed,ssl_error},
gun_http2,
{http2_state,<0.651.0>,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,undefined,undefined,
connected,
{http2_machine,client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag => undefined},
normal,undefined,undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size =>
65535},
65535,8000000,3,0,2147483647,
#{},[],
[1],
{state,0,4096,4096,[]},
{state,433,4096,4096,
[{173,
{<<"authorization">>,
<<236,89,159,101,86,199,
186,34,229,35,53,199,
154,173,164,103,198,
212,120,108,49,209,211,
114,140,143,108,96,241,
6,105,29,166,137,186,
219,18,227,156,64,70,
13,10,150,199,179,118,
105,160,71,120,137,177,
178,25,149,204,15,225,
184,152,190,90,156,68,
33,214,114,115,101,36,
55,213,49,165,46,206,
216,82,138,24,207,144,
159,66,221,191,27,152,
128,101,68,136,132,60,
58,164,178,35,122,192,
211,242,142,64,207,53,
246,71,176,195,104,2,
82,22,97,136,27,103,
157,144,113,238,16,205,
232,75,61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{},#{},0},
undefined,gun_default_event_h,
undefined}} (Timestamp: {1704,
896297,
813277})
(<0.666.0>) returned from gun:commands/2 -> {keep_state,
{state,<0.651.0>,
{up,
#Ref<0.2683160591.2479882245.86377>},
"admin.ccoud.net",
4575,<<"https">>,
"admin.ccoud.net",
4575,[],
#{trace => true,
transport => tls,
tls_opts =>
[{port,4576},
{verify,verify_peer},
{server_name_indication,
"admin.ccoud.net"},
{customize_hostname_check,
[{match_fun,
#Fun<public_key.6.117093159>}]},
{cacertfile,
<<"/app/priv/ssl/http/ca.crt">>}]},
undefined,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,true,
{ssl,ssl_closed,ssl_error},
gun_http2,
{http2_state,<0.651.0>,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,undefined,undefined,
connected,
{http2_machine,client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag => undefined},
normal,undefined,undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size =>
65535},
65535,8000000,3,0,2147483647,
#{},[],
[1],
{state,0,4096,4096,[]},
{state,433,4096,4096,
[{173,
{<<"authorization">>,
<<236,89,159,101,86,199,
186,34,229,35,53,199,
154,173,164,103,198,
212,120,108,49,209,211,
114,140,143,108,96,241,
6,105,29,166,137,186,
219,18,227,156,64,70,
13,10,150,199,179,118,
105,160,71,120,137,177,
178,25,149,204,15,225,
184,152,190,90,156,68,
33,214,114,115,101,36,
55,213,49,165,46,206,
216,82,138,24,207,144,
159,66,221,191,27,152,
128,101,68,136,132,60,
58,164,178,35,122,192,
211,242,142,64,207,53,
246,71,176,195,104,2,
82,22,97,136,27,103,
157,144,113,238,16,205,
232,75,61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{},#{},0},
undefined,gun_default_event_h,
undefined}} (Timestamp: {1704,
896297,
813282})
(<0.666.0>) returned from gun:commands/2 -> {keep_state,
{state,<0.651.0>,
{up,
#Ref<0.2683160591.2479882245.86377>},
"admin.ccoud.net",
4575,<<"https">>,
"admin.ccoud.net",
4575,[],
#{trace => true,
transport => tls,
tls_opts =>
[{port,4576},
{verify,verify_peer},
{server_name_indication,
"admin.ccoud.net"},
{customize_hostname_check,
[{match_fun,
#Fun<public_key.6.117093159>}]},
{cacertfile,
<<"/app/priv/ssl/http/ca.crt">>}]},
undefined,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,true,
{ssl,ssl_closed,ssl_error},
gun_http2,
{http2_state,<0.651.0>,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,undefined,undefined,
connected,
{http2_machine,client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag => undefined},
normal,undefined,undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size =>
65535},
65535,8000000,3,0,2147483647,
#{},[],
[1],
{state,0,4096,4096,[]},
{state,433,4096,4096,
[{173,
{<<"authorization">>,
<<236,89,159,101,86,199,
186,34,229,35,53,199,
154,173,164,103,198,
212,120,108,49,209,211,
114,140,143,108,96,241,
6,105,29,166,137,186,
219,18,227,156,64,70,
13,10,150,199,179,118,
105,160,71,120,137,177,
178,25,149,204,15,225,
184,152,190,90,156,68,
33,214,114,115,101,36,
55,213,49,165,46,206,
216,82,138,24,207,144,
159,66,221,191,27,152,
128,101,68,136,132,60,
58,164,178,35,122,192,
211,242,142,64,207,53,
246,71,176,195,104,2,
82,22,97,136,27,103,
157,144,113,238,16,205,
232,75,61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{},#{},0},
undefined,gun_default_event_h,
undefined}} (Timestamp: {1704,
896297,
813286})
(<0.666.0>) returning to gun:handle_common_connected_no_input/4 (Timestamp: {1704,
896297,
813290})
(<0.666.0>) call gun:maybe_active/1 (Timestamp: {1704,896297,813291})
(<0.666.0>) gc_minor_start [{wordsize,3},
{old_heap_block_size,2586},
{heap_block_size,2586},
{mbuf_size,53},
{recent_size,200},
{stack_size,29},
{old_heap_size,364},
{heap_size,2552},
{bin_vheap_size,115},
{bin_vheap_block_size,46422},
{bin_old_vheap_size,0},
{bin_old_vheap_block_size,46422}] (Timestamp: {1704,896297,813296})
(<0.666.0>) gc_minor_end [{wordsize,2306},
{old_heap_block_size,2586},
{heap_block_size,987},
{mbuf_size,0},
{recent_size,277},
{stack_size,29},
{old_heap_size,386},
{heap_size,277},
{bin_vheap_size,8},
{bin_vheap_block_size,46422},
{bin_old_vheap_size,16},
{bin_old_vheap_block_size,46422}] (Timestamp: {1704,896297,813311})
(<0.666.0>) call gun:active/1 (Timestamp: {1704,896297,813313})
(<0.666.0>) <0.672.0> ! {'$gen_call',{<0.666.0>,
#Ref<0.2683160591.2479882245.86520>},
{set_opts,[{active,once}]}} (Timestamp: {1704,
896297,
813319})
(<0.666.0>) out {gen,do_call,4} (Timestamp: {1704,896297,813322})
(<0.666.0>) in {gen,do_call,4} (Timestamp: {1704,896297,813337})
(<0.666.0>) << {#Ref<0.2683160591.2479882245.86520>,ok} (Timestamp: {1704,
896297,
813342})
(<0.666.0>) returned from gun:active/1 -> {ok,
{state,<0.651.0>,
{up,
#Ref<0.2683160591.2479882245.86377>},
"admin.ccoud.net",
4575,<<"https">>,
"admin.ccoud.net",
4575,[],
#{trace => true,transport => tls,
tls_opts =>
[{port,4576},
{verify,verify_peer},
{server_name_indication,
"admin.ccoud.net"},
{customize_hostname_check,
[{match_fun,
#Fun<public_key.6.117093159>}]},
{cacertfile,
<<"/app/priv/ssl/http/ca.crt">>}]},
undefined,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,true,
{ssl,ssl_closed,ssl_error},
gun_http2,
{http2_state,<0.651.0>,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,undefined,undefined,
connected,
{http2_machine,client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag => undefined},
normal,undefined,undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size => 65535},
65535,8000000,3,0,2147483647,
#{},[],
[1],
{state,0,4096,4096,[]},
{state,433,4096,4096,
[{173,
{<<"authorization">>,
<<236,89,159,101,86,199,
186,34,229,35,53,199,154,
173,164,103,198,212,120,
108,49,209,211,114,140,
143,108,96,241,6,105,29,
166,137,186,219,18,227,
156,64,70,13,10,150,199,
179,118,105,160,71,120,
137,177,178,25,149,204,
15,225,184,152,190,90,
156,68,33,214,114,115,
101,36,55,213,49,165,46,
206,216,82,138,24,207,
144,159,66,221,191,27,
152,128,101,68,136,132,
60,58,164,178,35,122,192,
211,242,142,64,207,53,
246,71,176,195,104,2,82,
22,97,136,27,103,157,144,
113,238,16,205,232,75,61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{},#{},0},
undefined,gun_default_event_h,
undefined}} (Timestamp: {1704,
896297,
813353})
(<0.666.0>) returning to gun:maybe_active/1 (Timestamp: {1704,896297,813361})
(<0.666.0>) returned from gun:maybe_active/1 -> {keep_state,
{state,<0.651.0>,
{up,
#Ref<0.2683160591.2479882245.86377>},
"admin.ccoud.net",
4575,<<"https">>,
"admin.ccoud.net",
4575,[],
#{trace => true,
transport => tls,
tls_opts =>
[{port,4576},
{verify,verify_peer},
{server_name_indication,
"admin.ccoud.net"},
{customize_hostname_check,
[{match_fun,
#Fun<public_key.6.117093159>}]},
{cacertfile,
<<"/app/priv/ssl/http/ca.crt">>}]},
undefined,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,true,
{ssl,ssl_closed,ssl_error},
gun_http2,
{http2_state,<0.651.0>,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,undefined,undefined,
connected,
{http2_machine,client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag =>
undefined},
normal,undefined,
undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size =>
65535},
65535,8000000,3,0,
2147483647,#{},[],
[1],
{state,0,4096,4096,[]},
{state,433,4096,4096,
[{173,
{<<"authorization">>,
<<236,89,159,101,86,
199,186,34,229,35,
53,199,154,173,164,
103,198,212,120,
108,49,209,211,114,
140,143,108,96,241,
6,105,29,166,137,
186,219,18,227,156,
64,70,13,10,150,
199,179,118,105,
160,71,120,137,177,
178,25,149,204,15,
225,184,152,190,90,
156,68,33,214,114,
115,101,36,55,213,
49,165,46,206,216,
82,138,24,207,144,
159,66,221,191,27,
152,128,101,68,136,
132,60,58,164,178,
35,122,192,211,242,
142,64,207,53,246,
71,176,195,104,2,
82,22,97,136,27,
103,157,144,113,
238,16,205,232,75,
61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{},#{},0},
undefined,
gun_default_event_h,
undefined}} (Timestamp: {1704,
896297,
813362})
(<0.666.0>) returned from gun:handle_common_connected_no_input/4 -> {keep_state,
{state,
<0.651.0>,
{up,
#Ref<0.2683160591.2479882245.86377>},
"admin.ccoud.net",
4575,
<<"https">>,
"admin.ccoud.net",
4575,[],
#{trace =>
true,
transport =>
tls,
tls_opts =>
[{port,
4576},
{verify,
verify_peer},
{server_name_indication,
"admin.ccoud.net"},
{customize_hostname_check,
[{match_fun,
#Fun<public_key.6.117093159>}]},
{cacertfile,
<<"/app/priv/ssl/http/ca.crt">>}]},
undefined,
{sslsocket,
{gen_tcp,
#Port<0.22>,
tls_connection,
undefined},
[<0.672.0>,
<0.671.0>]},
gun_tls,
true,
{ssl,
ssl_closed,
ssl_error},
gun_http2,
{http2_state,
<0.651.0>,
{sslsocket,
{gen_tcp,
#Port<0.22>,
tls_connection,
undefined},
[<0.672.0>,
<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,
undefined,
undefined,
connected,
{http2_machine,
client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag =>
undefined},
normal,
undefined,
undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size =>
65535},
65535,
8000000,
3,0,
2147483647,
#{},
[],
[1],
{state,
0,
4096,
4096,
[]},
{state,
433,
4096,
4096,
[{173,
{<<"authorization">>,
<<236,89,
159,101,
86,199,
186,34,
229,35,
53,199,
154,173,
164,103,
198,212,
120,108,
49,209,
211,114,
140,143,
108,96,
241,6,
105,29,
166,137,
186,219,
18,227,
156,64,
70,13,
10,150,
199,179,
118,105,
160,71,
120,137,
177,178,
25,149,
204,15,
225,184,
152,190,
90,156,
68,33,
214,114,
115,101,
36,55,
213,49,
165,46,
206,216,
82,138,
24,207,
144,159,
66,221,
191,27,
152,128,
101,68,
136,132,
60,58,
164,178,
35,122,
192,211,
242,142,
64,207,
53,246,
71,176,
195,104,
2,82,22,
97,136,
27,103,
157,144,
113,238,
16,205,
232,75,
61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{},
#{},0},
undefined,
gun_default_event_h,
undefined}} (Timestamp: {1704,
896297,
813368})
(<0.666.0>) returned from gun:handle_common_connected/4 -> {keep_state,
{state,<0.651.0>,
{up,
#Ref<0.2683160591.2479882245.86377>},
"admin.ccoud.net",
4575,<<"https">>,
"admin.ccoud.net",
4575,[],
#{trace => true,
transport =>
tls,
tls_opts =>
[{port,4576},
{verify,
verify_peer},
{server_name_indication,
"admin.ccoud.net"},
{customize_hostname_check,
[{match_fun,
#Fun<public_key.6.117093159>}]},
{cacertfile,
<<"/app/priv/ssl/http/ca.crt">>}]},
undefined,
{sslsocket,
{gen_tcp,
#Port<0.22>,
tls_connection,
undefined},
[<0.672.0>,
<0.671.0>]},
gun_tls,true,
{ssl,ssl_closed,
ssl_error},
gun_http2,
{http2_state,
<0.651.0>,
{sslsocket,
{gen_tcp,
#Port<0.22>,
tls_connection,
undefined},
[<0.672.0>,
<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,undefined,
undefined,
connected,
{http2_machine,
client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag =>
undefined},
normal,
undefined,
undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size =>
65535},
65535,8000000,
3,0,2147483647,
#{},[],
[1],
{state,0,4096,
4096,[]},
{state,433,
4096,4096,
[{173,
{<<"authorization">>,
<<236,89,
159,101,
86,199,
186,34,
229,35,
53,199,
154,173,
164,103,
198,212,
120,108,
49,209,
211,114,
140,143,
108,96,
241,6,
105,29,
166,137,
186,219,
18,227,
156,64,
70,13,
10,150,
199,179,
118,105,
160,71,
120,137,
177,178,
25,149,
204,15,
225,184,
152,190,
90,156,
68,33,
214,114,
115,101,
36,55,
213,49,
165,46,
206,216,
82,138,
24,207,
144,159,
66,221,
191,27,
152,128,
101,68,
136,132,
60,58,
164,178,
35,122,
192,211,
242,142,
64,207,
53,246,
71,176,
195,104,
2,82,22,
97,136,
27,103,
157,144,
113,238,
16,205,
232,75,
61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{},#{},0},
undefined,
gun_default_event_h,
undefined}} (Timestamp: {1704,
896297,
813372})
(<0.666.0>) returned from gun:connected/3 -> {keep_state,
{state,<0.651.0>,
{up,
#Ref<0.2683160591.2479882245.86377>},
"admin.ccoud.net",
4575,<<"https">>,
"admin.ccoud.net",
4575,[],
#{trace => true,
transport => tls,
tls_opts =>
[{port,4576},
{verify,verify_peer},
{server_name_indication,
"admin.ccoud.net"},
{customize_hostname_check,
[{match_fun,
#Fun<public_key.6.117093159>}]},
{cacertfile,
<<"/app/priv/ssl/http/ca.crt">>}]},
undefined,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,true,
{ssl,ssl_closed,ssl_error},
gun_http2,
{http2_state,<0.651.0>,
{sslsocket,
{gen_tcp,#Port<0.22>,
tls_connection,undefined},
[<0.672.0>,<0.671.0>]},
gun_tls,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000},
[gun_data_h],
<<>>,undefined,undefined,
connected,
{http2_machine,client,
#{initial_connection_window_size =>
8000000,
initial_stream_window_size =>
8000000,
message_tag => undefined},
normal,undefined,undefined,
#{initial_window_size =>
8000000},
#{},
#{initial_window_size =>
65535},
65535,8000000,3,0,2147483647,
#{},[],
[1],
{state,0,4096,4096,[]},
{state,433,4096,4096,
[{173,
{<<"authorization">>,
<<236,89,159,101,86,199,
186,34,229,35,53,199,
154,173,164,103,198,
212,120,108,49,209,
211,114,140,143,108,
96,241,6,105,29,166,
137,186,219,18,227,
156,64,70,13,10,150,
199,179,118,105,160,
71,120,137,177,178,25,
149,204,15,225,184,
152,190,90,156,68,33,
214,114,115,101,36,55,
213,49,165,46,206,216,
82,138,24,207,144,159,
66,221,191,27,152,128,
101,68,136,132,60,58,
164,178,35,122,192,
211,242,142,64,207,53,
246,71,176,195,104,2,
82,22,97,136,27,103,
157,144,113,238,16,
205,232,75,61>>}},
{55,
{<<"sec-websocket-version">>,
<<"13">>}},
{50,
{<<":protocol">>,
<<"websocket">>}},
{109,
{<<":authority">>,
<<"admin.ccoud.net:4575">>}},
{46,
{<<":method">>,
<<"CONNECT">>}}]}},
#{},#{},0},
undefined,gun_default_event_h,
undefined}} (Timestamp: {1704,
896297,
813377})
(<0.666.0>) returning to gen_statem:loop_state_callback/11 (Timestamp: {1704,
896297,
813382})
(<0.666.0>) out {gen_statem,loop_receive,3} (Timestamp: {1704,896297,813384})
from gun.
@essen added. Thank you. Look forward to hearing back!
EDIT: reformatted
from gun.
I though :cowboy
was being made available through cowboy_plug
when its not... the issue remains the same with some caveats
:application.get_key(:cowboy, :vsn) |> IO.inspect() == {:ok, ~c"2.10.0"}
I can replicate the issue in my local env using self signed certs. Same error message anyway, tracing looks the same.
Various combinations of tls_ops render the same :gun
error
from gun.
Oh that's Websocket? For Websocket over HTTP/2 you need to enable the CONNECT protocol in Cowboy, see: https://github.com/ninenines/gun/blob/master/test/ws_SUITE.erl#L47
You cannot use Websocket until the setting is set (see the test suite for how to wait for the right moment).
Alternatively you can disable HTTP/2 in Gun if you don't need it.
The problem occurs with TLS but not TCP because TLS uses ALPN to select the protocol and that defaults to HTTP/2.
from gun.
Related Issues (20)
- Problem using an HTTP proxy HOT 2
- Strange behavior on ARM processors HOT 2
- gun:connect expects proxy server to reply with HTTP/1.1, some servers respond with HTTP/1.0 HOT 3
- gun 2.0 RC ready? HOT 7
- HTTP2 gun_down event only delivered the connection owner but not to streams HOT 2
- Exposing HTTP2 "additional debug data" in received GOAWAY frames HOT 4
- [Bug] shutdown sends GOAWAY with reason internal error HOT 4
- Crash during termination when connecting to a server requiring mTLS over HTTP/2 HOT 17
- Feature: Response callback fun HOT 4
- Add stream idle timeout HOT 2
- Websocket upgrade fails on unix socket HOT 4
- function not exported {gun_http,ws_send,6} HOT 3
- Downgrade response time HTTP-2 after 1.3.0 to 2.0.1 HOT 26
- client_preferred_next_protocols is incompatible with TLS 1.3 HOT 1
- Types not exported - dialyzer fails
- timeout to connect to ws.postman-echo.com:443 HOT 6
- gun:open times out in OTP/26 for tls if tls options are not set HOT 9
- Update erlang.mk to support OTP 27 HOT 1
- Document gotchas using Gun from multiple entities using HTTP/2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gun.