=== Test case: connect_SUITE:connect_with_proxy_header/1 (click for source code)
=== Config value:
[{watchdog,<0.11428.0>},
{c2s_listener,#{access => c2s,module => mongoose_c2s_listener,
port => 5222,num_acceptors => 100,hibernate_after => 0,
backlog => 1024,
tls =>
#{module => fast_tls,mode => starttls,
verify_mode => none,ciphers => "TLSv1.2:TLSv1.3",
protocol_options =>
["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"],
certfile => "priv/ssl/fake_server.pem",
dhfile => "priv/ssl/fake_dh_server.pem"},
shaper => c2s_shaper,ip_address => "0",
connection_type => undefined,max_connections => infinity,
max_stanza_size => 65536,
ip_tuple => {0,0,0,0},
c2s_state_timeout => 5000,
backwards_compatible_session => true,proto => tcp,
ip_version => 4,reuse_port => false,
proxy_protocol => false}},
{escalus_user_db,{module,escalus_ejabberd,[]}},
{preset,"pgsql_cets"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/connect_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d356f8477016.2024-03-06_10.03.39/big_tests.tests.connect_SUITE.logs/run.2024-03-06_10.04.32/connect_suite.connect_with_proxy_header.17923.html"},
{tc_group_properties,[{name,proxy_protocol},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/connect_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@d356f8477016.2024-03-06_10.03.39/big_tests.tests.connect_SUITE.logs/run.2024-03-06_10.04.32/log_private/"},
{escalus_users,[{secure_joe,[{username,<<"secure_joe">>},
{server,<<"localhost">>},
{password,<<"break_me">>},
{starttls,required}]},
{alice,[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d356f8477016.2024-03-06_10.03.39"
=== Started at 2024-03-06 10:04:35
*** User 2024-03-06 10:04:35.066 ***🔗
alicE@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-06 10:04:35.067 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='72a173d7e825c8ef' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-06 10:04:35.067 ***🔗
alicE@localhost in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-06 10:04:35.067 ***🔗
alicE@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2024-03-06 10:04:35.068 ***🔗
alicE@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-06 10:04:35.068 ***🔗
alicE@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-06 10:04:35.068 ***🔗
alicE@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ea164aad42460ebe' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>
*** User 2024-03-06 10:04:35.068 ***🔗
alicE@localhost in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-06 10:04:35.069 ***🔗
alicE@localhost out
<iq type='set' id='1ab7150eddef9a8b313276df551ca22c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2024-03-06 10:04:35.069 ***🔗
alicE@localhost in
<iq id='1ab7150eddef9a8b313276df551ca22c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice@localhost/escalus-default-resource</jid>
</bind>
</iq>
*** User 2024-03-06 10:04:35.069 ***🔗
alice@localhost/escalus-default-resource out
<iq type='set' id='6a4349ae638f6edf0d84cd848d25451e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 10:04:35.069 ***🔗
alice@localhost/escalus-default-resource in
<iq from='localhost' to='alice@localhost/escalus-default-resource' id='6a4349ae638f6edf0d84cd848d25451e' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 10:04:35.070 ***🔗
alice@localhost/escalus-default-resource out
<presence/>
*** User 2024-03-06 10:04:35.070 ***🔗
alice@localhost/escalus-default-resource in
<presence from='alice@localhost/escalus-default-resource' to='alice@localhost/escalus-default-resource'/>
*** User 2024-03-06 10:04:35.071 ***🔗
alice@localhost/escalus-default-resource out
</stream:stream>
*** User 2024-03-06 10:04:35.071 ***🔗
alice@localhost/escalus-default-resource in
</stream:stream>
=== Ended at 2024-03-06 10:04:35
=== successfully completed test case
=== === Returned value: already_stopped