You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Luis Ramos <lu...@cntit.com.INVALID> on 2023/03/22 19:20:50 UTC

service() failed with http error 502

Hi List. 
In and around last windows updates for our WIN2019 box, our tomcat connector start to fail with the below error message. 
Setup is IIS 10->ISAPI connector => Tomcat 9 -> https://tomcat.apache.org/connectors-doc/webserver_howto/iis.html 
Has someone seen this behaivor? 
To be able to open the system I am bypassing the connector and listening in port 443 in server.xml directly. 



[Wed Mar 22 15:08:46.746 2023] [10780:14112] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (1408): (tomcat01) wrong message size 18441 8192 from ::1:8009 
[Wed Mar 22 15:08:46.751 2023] [10780:14112] [error] ajp_get_reply::jk_ajp_common.c (2285): (tomcat01) Tomcat is down or network problems. Part of the response has already been sent to the client 
[Wed Mar 22 15:08:46.753 2023] [10780:14112] [info] ajp_service::jk_ajp_common.c (2774): (tomcat01) sending request to tomcat failed (recoverable), because of protocol error (attempt=1) 
[Wed Mar 22 15:08:46.860 2023] [10780:14112] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (1408): (tomcat01) wrong message size 18441 8192 from ::1:8009 
[Wed Mar 22 15:08:46.865 2023] [10780:14112] [error] ajp_get_reply::jk_ajp_common.c (2285): (tomcat01) Tomcat is down or network problems. Part of the response has already been sent to the client 
[Wed Mar 22 15:08:46.868 2023] [10780:14112] [info] ajp_service::jk_ajp_common.c (2774): (tomcat01) sending request to tomcat failed (recoverable), because of protocol error (attempt=2) 
[Wed Mar 22 15:08:46.871 2023] [10780:14112] [error] ajp_service::jk_ajp_common.c (2795): (tomcat01) connecting to tomcat failed (rc=-11, errors=1, client_errors=0). 
[Wed Mar 22 15:08:46.873 2023] [10780:14112] [error] HttpExtensionProc::jk_isapi_plugin.c (2123): service() failed with http error 502 

This e-mail message, including any attachment(s), is confidential and may also be legally privileged. It is intended solely for the addresse(s) and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this email is strictly prohibited and may be unlawful. If you have received this e-mail in error you are requested to delete it from your system and to notify us by replying to this message immediately. CNT Infotech is not liable for the improper transmission of this message nor for any damage sustained as a result of this message.

Re: service() failed with http error 502

Posted by "John Dale (DB2DOM)" <jc...@gmail.com>.
yes .. gotta get that port correct.  It's been awhile since I've
needed to run  command line HTTP request.  :)

On 3/22/23, Kevin Huntly <km...@gmail.com> wrote:
> Just wondering, are you able to telnet from your webserver into the Tomcat
> server over the appropriate port? e.g. 8443 or whatnot - whatever is
> configured in Tomcat's server.xml
> ________________________________________________
>
> Kevin Huntly
> Email: kmhuntly@gmail.com
> Cell: 716/424-3311
> ________________________________________________
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 1.0
> GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E---
> W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+)
> PGP++(+++) t+ 5-- X-- R+ tv+ b++  DI++ D++
> G++ e(+) h--- r+++ y+++*
> ------END GEEK CODE BLOCK------
>
>
> On Wed, Mar 22, 2023 at 3:22 PM Luis Ramos <lu...@cntit.com.invalid>
> wrote:
>
>> Hi List.
>> In and around last windows updates for our WIN2019 box, our tomcat
>> connector start to fail with the below error message.
>> Setup is IIS 10->ISAPI connector => Tomcat 9 ->
>> https://tomcat.apache.org/connectors-doc/webserver_howto/iis.html
>> Has someone seen this behaivor?
>> To be able to open the system I am bypassing the connector and listening
>> in port 443 in server.xml directly.
>>
>>
>>
>> [Wed Mar 22 15:08:46.746 2023] [10780:14112] [error]
>> ajp_connection_tcp_get_message::jk_ajp_common.c (1408): (tomcat01) wrong
>> message size 18441 8192 from ::1:8009
>> [Wed Mar 22 15:08:46.751 2023] [10780:14112] [error]
>> ajp_get_reply::jk_ajp_common.c (2285): (tomcat01) Tomcat is down or
>> network
>> problems. Part of the response has already been sent to the client
>> [Wed Mar 22 15:08:46.753 2023] [10780:14112] [info]
>> ajp_service::jk_ajp_common.c (2774): (tomcat01) sending request to tomcat
>> failed (recoverable), because of protocol error (attempt=1)
>> [Wed Mar 22 15:08:46.860 2023] [10780:14112] [error]
>> ajp_connection_tcp_get_message::jk_ajp_common.c (1408): (tomcat01) wrong
>> message size 18441 8192 from ::1:8009
>> [Wed Mar 22 15:08:46.865 2023] [10780:14112] [error]
>> ajp_get_reply::jk_ajp_common.c (2285): (tomcat01) Tomcat is down or
>> network
>> problems. Part of the response has already been sent to the client
>> [Wed Mar 22 15:08:46.868 2023] [10780:14112] [info]
>> ajp_service::jk_ajp_common.c (2774): (tomcat01) sending request to tomcat
>> failed (recoverable), because of protocol error (attempt=2)
>> [Wed Mar 22 15:08:46.871 2023] [10780:14112] [error]
>> ajp_service::jk_ajp_common.c (2795): (tomcat01) connecting to tomcat
>> failed
>> (rc=-11, errors=1, client_errors=0).
>> [Wed Mar 22 15:08:46.873 2023] [10780:14112] [error]
>> HttpExtensionProc::jk_isapi_plugin.c (2123): service() failed with http
>> error 502
>>
>> This e-mail message, including any attachment(s), is confidential and may
>> also be legally privileged. It is intended solely for the addresse(s) and
>> others authorized to receive it. If you are not the intended recipient
>> you
>> are hereby notified that any disclosure, copying, distribution or taking
>> any action in reliance on the contents of this email is strictly
>> prohibited
>> and may be unlawful. If you have received this e-mail in error you are
>> requested to delete it from your system and to notify us by replying to
>> this message immediately. CNT Infotech is not liable for the improper
>> transmission of this message nor for any damage sustained as a result of
>> this message.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: service() failed with http error 502

Posted by Luis Ramos <lu...@cntit.com.INVALID>.
Hi

telnet localhost 8009 connects ok

Luis J Ramos 
CNT Infotech Corp. (www.cntinfotech.com) 
646.452.9349

----- Original Message -----
From: "Kevin Huntly" <km...@gmail.com>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Wednesday, March 22, 2023 4:20:58 PM
Subject: Re: service() failed with http error 502

Just wondering, are you able to telnet from your webserver into the Tomcat
server over the appropriate port? e.g. 8443 or whatnot - whatever is
configured in Tomcat's server.xml
________________________________________________

Kevin Huntly
Email: kmhuntly@gmail.com
Cell: 716/424-3311
________________________________________________

-----BEGIN GEEK CODE BLOCK-----
Version: 1.0
GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E---
W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+)
PGP++(+++) t+ 5-- X-- R+ tv+ b++  DI++ D++
G++ e(+) h--- r+++ y+++*
------END GEEK CODE BLOCK------


On Wed, Mar 22, 2023 at 3:22 PM Luis Ramos <lu...@cntit.com.invalid>
wrote:

> Hi List.
> In and around last windows updates for our WIN2019 box, our tomcat
> connector start to fail with the below error message.
> Setup is IIS 10->ISAPI connector => Tomcat 9 ->
> https://tomcat.apache.org/connectors-doc/webserver_howto/iis.html
> Has someone seen this behaivor?
> To be able to open the system I am bypassing the connector and listening
> in port 443 in server.xml directly.
>
>
>
> [Wed Mar 22 15:08:46.746 2023] [10780:14112] [error]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1408): (tomcat01) wrong
> message size 18441 8192 from ::1:8009
> [Wed Mar 22 15:08:46.751 2023] [10780:14112] [error]
> ajp_get_reply::jk_ajp_common.c (2285): (tomcat01) Tomcat is down or network
> problems. Part of the response has already been sent to the client
> [Wed Mar 22 15:08:46.753 2023] [10780:14112] [info]
> ajp_service::jk_ajp_common.c (2774): (tomcat01) sending request to tomcat
> failed (recoverable), because of protocol error (attempt=1)
> [Wed Mar 22 15:08:46.860 2023] [10780:14112] [error]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1408): (tomcat01) wrong
> message size 18441 8192 from ::1:8009
> [Wed Mar 22 15:08:46.865 2023] [10780:14112] [error]
> ajp_get_reply::jk_ajp_common.c (2285): (tomcat01) Tomcat is down or network
> problems. Part of the response has already been sent to the client
> [Wed Mar 22 15:08:46.868 2023] [10780:14112] [info]
> ajp_service::jk_ajp_common.c (2774): (tomcat01) sending request to tomcat
> failed (recoverable), because of protocol error (attempt=2)
> [Wed Mar 22 15:08:46.871 2023] [10780:14112] [error]
> ajp_service::jk_ajp_common.c (2795): (tomcat01) connecting to tomcat failed
> (rc=-11, errors=1, client_errors=0).
> [Wed Mar 22 15:08:46.873 2023] [10780:14112] [error]
> HttpExtensionProc::jk_isapi_plugin.c (2123): service() failed with http
> error 502
>
> This e-mail message, including any attachment(s), is confidential and may
> also be legally privileged. It is intended solely for the addresse(s) and
> others authorized to receive it. If you are not the intended recipient you
> are hereby notified that any disclosure, copying, distribution or taking
> any action in reliance on the contents of this email is strictly prohibited
> and may be unlawful. If you have received this e-mail in error you are
> requested to delete it from your system and to notify us by replying to
> this message immediately. CNT Infotech is not liable for the improper
> transmission of this message nor for any damage sustained as a result of
> this message.
This e-mail message, including any attachment(s), is confidential and may also be legally privileged. It is intended solely for the addresse(s) and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this email is strictly prohibited and may be unlawful. If you have received this e-mail in error you are requested to delete it from your system and to notify us by replying to this message immediately. CNT Infotech is not liable for the improper transmission of this message nor for any damage sustained as a result of this message.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: service() failed with http error 502

Posted by Kevin Huntly <km...@gmail.com>.
Just wondering, are you able to telnet from your webserver into the Tomcat
server over the appropriate port? e.g. 8443 or whatnot - whatever is
configured in Tomcat's server.xml
________________________________________________

Kevin Huntly
Email: kmhuntly@gmail.com
Cell: 716/424-3311
________________________________________________

-----BEGIN GEEK CODE BLOCK-----
Version: 1.0
GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E---
W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+)
PGP++(+++) t+ 5-- X-- R+ tv+ b++  DI++ D++
G++ e(+) h--- r+++ y+++*
------END GEEK CODE BLOCK------


On Wed, Mar 22, 2023 at 3:22 PM Luis Ramos <lu...@cntit.com.invalid>
wrote:

> Hi List.
> In and around last windows updates for our WIN2019 box, our tomcat
> connector start to fail with the below error message.
> Setup is IIS 10->ISAPI connector => Tomcat 9 ->
> https://tomcat.apache.org/connectors-doc/webserver_howto/iis.html
> Has someone seen this behaivor?
> To be able to open the system I am bypassing the connector and listening
> in port 443 in server.xml directly.
>
>
>
> [Wed Mar 22 15:08:46.746 2023] [10780:14112] [error]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1408): (tomcat01) wrong
> message size 18441 8192 from ::1:8009
> [Wed Mar 22 15:08:46.751 2023] [10780:14112] [error]
> ajp_get_reply::jk_ajp_common.c (2285): (tomcat01) Tomcat is down or network
> problems. Part of the response has already been sent to the client
> [Wed Mar 22 15:08:46.753 2023] [10780:14112] [info]
> ajp_service::jk_ajp_common.c (2774): (tomcat01) sending request to tomcat
> failed (recoverable), because of protocol error (attempt=1)
> [Wed Mar 22 15:08:46.860 2023] [10780:14112] [error]
> ajp_connection_tcp_get_message::jk_ajp_common.c (1408): (tomcat01) wrong
> message size 18441 8192 from ::1:8009
> [Wed Mar 22 15:08:46.865 2023] [10780:14112] [error]
> ajp_get_reply::jk_ajp_common.c (2285): (tomcat01) Tomcat is down or network
> problems. Part of the response has already been sent to the client
> [Wed Mar 22 15:08:46.868 2023] [10780:14112] [info]
> ajp_service::jk_ajp_common.c (2774): (tomcat01) sending request to tomcat
> failed (recoverable), because of protocol error (attempt=2)
> [Wed Mar 22 15:08:46.871 2023] [10780:14112] [error]
> ajp_service::jk_ajp_common.c (2795): (tomcat01) connecting to tomcat failed
> (rc=-11, errors=1, client_errors=0).
> [Wed Mar 22 15:08:46.873 2023] [10780:14112] [error]
> HttpExtensionProc::jk_isapi_plugin.c (2123): service() failed with http
> error 502
>
> This e-mail message, including any attachment(s), is confidential and may
> also be legally privileged. It is intended solely for the addresse(s) and
> others authorized to receive it. If you are not the intended recipient you
> are hereby notified that any disclosure, copying, distribution or taking
> any action in reliance on the contents of this email is strictly prohibited
> and may be unlawful. If you have received this e-mail in error you are
> requested to delete it from your system and to notify us by replying to
> this message immediately. CNT Infotech is not liable for the improper
> transmission of this message nor for any damage sustained as a result of
> this message.

Re: service() failed with http error 502

Posted by Luis Ramos <lu...@cntit.com.INVALID>.
thanks Mark for that

Luis J Ramos 
CNT Infotech Corp. (www.cntinfotech.com) 
646.452.9349

----- Original Message -----
From: "Mark Thomas" <ma...@apache.org>
To: "users" <us...@tomcat.apache.org>
Sent: Thursday, March 23, 2023 2:32:12 PM
Subject: Re: service() failed with http error 502

You have a mismatch between this attribute on the workers:

max_packet_size

It isn't set so the default of 8192 is used.

And this attribute on the AJP connector:

packetSize="65536"

Those attributes need to match on all workers and the AJP connector.

Mark



On 23/03/2023 18:19, Luis Ramos wrote:
> Hi,
> worker.list=tomcat01,tomcat02
> worker.tomcat01.type=ajp13
> worker.tomcat01.host=::1
> worker.tomcat01.port=8009
> worker.tomcat01.secret=namnetiq1
> worker.tomcat01.ping_timeout=1000
> worker.tomcat01.connect_timeout=10000
> worker.tomcat01.prepost_timeout=10000
> worker.tomcat01.socket_timeout=10
> worker.tomcat01.connection_pool_timeout=60
> worker.tomcat01.connection_pool_size=90
> worker.tomcat01.retries=2
> worker.tomcat01.reply_timeout=300000
> 
> worker.tomcat02.type=ajp13
> worker.tomcat02.host=::1
> worker.tomcat02.port=8009
> worker.tomcat02.secret=namnetiq1
> worker.tomcat02.ping_timeout=1000
> worker.tomcat02.connect_timeout=10000
> worker.tomcat02.prepost_timeout=10000
> worker.tomcat02.socket_timeout=10
> worker.tomcat02.connection_pool_timeout=60
> worker.tomcat02.connection_pool_size=90
> worker.tomcat02.retries=2
> worker.tomcat02.reply_timeout=300000
> 
> Luis J Ramos
> CNT Infotech Corp. (www.cntinfotech.com)
> 646.452.9349
> 
> ----- Original Message -----
> From: "Mark Thomas" <ma...@apache.org>
> To: "users" <us...@tomcat.apache.org>
> Sent: Thursday, March 23, 2023 12:51:59 PM
> Subject: Re: service() failed with http error 502
> 
> And the workers.properties file?
> 
> Mark
> 
> 
> On 23/03/2023 16:13, Luis Ramos wrote:
>> Hi
>>    Apache Tomcat/9.0.65
>> from server.xml
>>
>>     <Connector protocol="AJP/1.3"
>>                  address="::1"
>>                  port="8009"
>>                  maxThreads="3000"
>>                  minSpareThreads="50"
>>                  connectionTimeout="121000"
>> 	       packetSize="65536"
>> 	       secretRequired="true" secret="namnetiq1"/>
>>       
>>
>> Luis J Ramos
>> CNT Infotech Corp. (www.cntinfotech.com)
>> 646.452.9349
>>
>> ----- Original Message -----
>> From: "Mark Thomas" <ma...@apache.org>
>> To: "users" <us...@tomcat.apache.org>
>> Sent: Thursday, March 23, 2023 4:09:41 AM
>> Subject: Re: service() failed with http error 502
>>
>> On 22/03/2023 19:20, Luis Ramos wrote:
>>> Hi List.
>>> In and around last windows updates for our WIN2019 box, our tomcat connector start to fail with the below error message.
>>> Setup is IIS 10->ISAPI connector => Tomcat 9 -> https://tomcat.apache.org/connectors-doc/webserver_howto/iis.html
>>> Has someone seen this behaivor?
>>> To be able to open the system I am bypassing the connector and listening in port 443 in server.xml directly.
>>
>> What Tomcat version are you using?
>>
>> Has there been any change in Tomcat version in the same time frame? If
>> so, please provide exact version information.
>>
>> Please provide the AJP connector configuration from Tomcat's server.xml
>>
>>> [Wed Mar 22 15:08:46.746 2023] [10780:14112] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (1408): (tomcat01) wrong message size 18441 8192 from ::1:8009
>>
>> This suggests that Tomcat is configured with a different maximum AJP
>> message size than IIS.
>>
>> Please provide your workers.properties file.
>>
>> Mark
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>> This e-mail message, including any attachment(s), is confidential and may also be legally privileged. It is intended solely for the addresse(s) and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this email is strictly prohibited and may be unlawful. If you have received this e-mail in error you are requested to delete it from your system and to notify us by replying to this message immediately. CNT Infotech is not liable for the improper transmission of this message nor for any damage sustained as a result of this message.
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> This e-mail message, including any attachment(s), is confidential and may also be legally privileged. It is intended solely for the addresse(s) and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this email is strictly prohibited and may be unlawful. If you have received this e-mail in error you are requested to delete it from your system and to notify us by replying to this message immediately. CNT Infotech is not liable for the improper transmission of this message nor for any damage sustained as a result of this message.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
This e-mail message, including any attachment(s), is confidential and may also be legally privileged. It is intended solely for the addresse(s) and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this email is strictly prohibited and may be unlawful. If you have received this e-mail in error you are requested to delete it from your system and to notify us by replying to this message immediately. CNT Infotech is not liable for the improper transmission of this message nor for any damage sustained as a result of this message.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: service() failed with http error 502

Posted by Mark Thomas <ma...@apache.org>.
You have a mismatch between this attribute on the workers:

max_packet_size

It isn't set so the default of 8192 is used.

And this attribute on the AJP connector:

packetSize="65536"

Those attributes need to match on all workers and the AJP connector.

Mark



On 23/03/2023 18:19, Luis Ramos wrote:
> Hi,
> worker.list=tomcat01,tomcat02
> worker.tomcat01.type=ajp13
> worker.tomcat01.host=::1
> worker.tomcat01.port=8009
> worker.tomcat01.secret=namnetiq1
> worker.tomcat01.ping_timeout=1000
> worker.tomcat01.connect_timeout=10000
> worker.tomcat01.prepost_timeout=10000
> worker.tomcat01.socket_timeout=10
> worker.tomcat01.connection_pool_timeout=60
> worker.tomcat01.connection_pool_size=90
> worker.tomcat01.retries=2
> worker.tomcat01.reply_timeout=300000
> 
> worker.tomcat02.type=ajp13
> worker.tomcat02.host=::1
> worker.tomcat02.port=8009
> worker.tomcat02.secret=namnetiq1
> worker.tomcat02.ping_timeout=1000
> worker.tomcat02.connect_timeout=10000
> worker.tomcat02.prepost_timeout=10000
> worker.tomcat02.socket_timeout=10
> worker.tomcat02.connection_pool_timeout=60
> worker.tomcat02.connection_pool_size=90
> worker.tomcat02.retries=2
> worker.tomcat02.reply_timeout=300000
> 
> Luis J Ramos
> CNT Infotech Corp. (www.cntinfotech.com)
> 646.452.9349
> 
> ----- Original Message -----
> From: "Mark Thomas" <ma...@apache.org>
> To: "users" <us...@tomcat.apache.org>
> Sent: Thursday, March 23, 2023 12:51:59 PM
> Subject: Re: service() failed with http error 502
> 
> And the workers.properties file?
> 
> Mark
> 
> 
> On 23/03/2023 16:13, Luis Ramos wrote:
>> Hi
>>    Apache Tomcat/9.0.65
>> from server.xml
>>
>>     <Connector protocol="AJP/1.3"
>>                  address="::1"
>>                  port="8009"
>>                  maxThreads="3000"
>>                  minSpareThreads="50"
>>                  connectionTimeout="121000"
>> 	       packetSize="65536"
>> 	       secretRequired="true" secret="namnetiq1"/>
>>       
>>
>> Luis J Ramos
>> CNT Infotech Corp. (www.cntinfotech.com)
>> 646.452.9349
>>
>> ----- Original Message -----
>> From: "Mark Thomas" <ma...@apache.org>
>> To: "users" <us...@tomcat.apache.org>
>> Sent: Thursday, March 23, 2023 4:09:41 AM
>> Subject: Re: service() failed with http error 502
>>
>> On 22/03/2023 19:20, Luis Ramos wrote:
>>> Hi List.
>>> In and around last windows updates for our WIN2019 box, our tomcat connector start to fail with the below error message.
>>> Setup is IIS 10->ISAPI connector => Tomcat 9 -> https://tomcat.apache.org/connectors-doc/webserver_howto/iis.html
>>> Has someone seen this behaivor?
>>> To be able to open the system I am bypassing the connector and listening in port 443 in server.xml directly.
>>
>> What Tomcat version are you using?
>>
>> Has there been any change in Tomcat version in the same time frame? If
>> so, please provide exact version information.
>>
>> Please provide the AJP connector configuration from Tomcat's server.xml
>>
>>> [Wed Mar 22 15:08:46.746 2023] [10780:14112] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (1408): (tomcat01) wrong message size 18441 8192 from ::1:8009
>>
>> This suggests that Tomcat is configured with a different maximum AJP
>> message size than IIS.
>>
>> Please provide your workers.properties file.
>>
>> Mark
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>> This e-mail message, including any attachment(s), is confidential and may also be legally privileged. It is intended solely for the addresse(s) and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this email is strictly prohibited and may be unlawful. If you have received this e-mail in error you are requested to delete it from your system and to notify us by replying to this message immediately. CNT Infotech is not liable for the improper transmission of this message nor for any damage sustained as a result of this message.
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> This e-mail message, including any attachment(s), is confidential and may also be legally privileged. It is intended solely for the addresse(s) and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this email is strictly prohibited and may be unlawful. If you have received this e-mail in error you are requested to delete it from your system and to notify us by replying to this message immediately. CNT Infotech is not liable for the improper transmission of this message nor for any damage sustained as a result of this message.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: service() failed with http error 502

Posted by Luis Ramos <lu...@cntit.com.INVALID>.
Hi,
worker.list=tomcat01,tomcat02
worker.tomcat01.type=ajp13
worker.tomcat01.host=::1
worker.tomcat01.port=8009
worker.tomcat01.secret=namnetiq1
worker.tomcat01.ping_timeout=1000
worker.tomcat01.connect_timeout=10000
worker.tomcat01.prepost_timeout=10000
worker.tomcat01.socket_timeout=10
worker.tomcat01.connection_pool_timeout=60
worker.tomcat01.connection_pool_size=90
worker.tomcat01.retries=2
worker.tomcat01.reply_timeout=300000

worker.tomcat02.type=ajp13
worker.tomcat02.host=::1
worker.tomcat02.port=8009
worker.tomcat02.secret=namnetiq1
worker.tomcat02.ping_timeout=1000
worker.tomcat02.connect_timeout=10000
worker.tomcat02.prepost_timeout=10000
worker.tomcat02.socket_timeout=10
worker.tomcat02.connection_pool_timeout=60
worker.tomcat02.connection_pool_size=90
worker.tomcat02.retries=2
worker.tomcat02.reply_timeout=300000 

Luis J Ramos 
CNT Infotech Corp. (www.cntinfotech.com) 
646.452.9349

----- Original Message -----
From: "Mark Thomas" <ma...@apache.org>
To: "users" <us...@tomcat.apache.org>
Sent: Thursday, March 23, 2023 12:51:59 PM
Subject: Re: service() failed with http error 502

And the workers.properties file?

Mark


On 23/03/2023 16:13, Luis Ramos wrote:
> Hi
>   Apache Tomcat/9.0.65
> from server.xml
> 
>    <Connector protocol="AJP/1.3"
>                 address="::1"
>                 port="8009"
>                 maxThreads="3000"
>                 minSpareThreads="50"
>                 connectionTimeout="121000"
> 	       packetSize="65536"
> 	       secretRequired="true" secret="namnetiq1"/>
>      
> 
> Luis J Ramos
> CNT Infotech Corp. (www.cntinfotech.com)
> 646.452.9349
> 
> ----- Original Message -----
> From: "Mark Thomas" <ma...@apache.org>
> To: "users" <us...@tomcat.apache.org>
> Sent: Thursday, March 23, 2023 4:09:41 AM
> Subject: Re: service() failed with http error 502
> 
> On 22/03/2023 19:20, Luis Ramos wrote:
>> Hi List.
>> In and around last windows updates for our WIN2019 box, our tomcat connector start to fail with the below error message.
>> Setup is IIS 10->ISAPI connector => Tomcat 9 -> https://tomcat.apache.org/connectors-doc/webserver_howto/iis.html
>> Has someone seen this behaivor?
>> To be able to open the system I am bypassing the connector and listening in port 443 in server.xml directly.
> 
> What Tomcat version are you using?
> 
> Has there been any change in Tomcat version in the same time frame? If
> so, please provide exact version information.
> 
> Please provide the AJP connector configuration from Tomcat's server.xml
> 
>> [Wed Mar 22 15:08:46.746 2023] [10780:14112] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (1408): (tomcat01) wrong message size 18441 8192 from ::1:8009
> 
> This suggests that Tomcat is configured with a different maximum AJP
> message size than IIS.
> 
> Please provide your workers.properties file.
> 
> Mark
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> This e-mail message, including any attachment(s), is confidential and may also be legally privileged. It is intended solely for the addresse(s) and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this email is strictly prohibited and may be unlawful. If you have received this e-mail in error you are requested to delete it from your system and to notify us by replying to this message immediately. CNT Infotech is not liable for the improper transmission of this message nor for any damage sustained as a result of this message.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
This e-mail message, including any attachment(s), is confidential and may also be legally privileged. It is intended solely for the addresse(s) and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this email is strictly prohibited and may be unlawful. If you have received this e-mail in error you are requested to delete it from your system and to notify us by replying to this message immediately. CNT Infotech is not liable for the improper transmission of this message nor for any damage sustained as a result of this message.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: service() failed with http error 502

Posted by Mark Thomas <ma...@apache.org>.
And the workers.properties file?

Mark


On 23/03/2023 16:13, Luis Ramos wrote:
> Hi
>   Apache Tomcat/9.0.65
> from server.xml
> 
>    <Connector protocol="AJP/1.3"
>                 address="::1"
>                 port="8009"
>                 maxThreads="3000"
>                 minSpareThreads="50"
>                 connectionTimeout="121000"
> 	       packetSize="65536"
> 	       secretRequired="true" secret="namnetiq1"/>
>      
> 
> Luis J Ramos
> CNT Infotech Corp. (www.cntinfotech.com)
> 646.452.9349
> 
> ----- Original Message -----
> From: "Mark Thomas" <ma...@apache.org>
> To: "users" <us...@tomcat.apache.org>
> Sent: Thursday, March 23, 2023 4:09:41 AM
> Subject: Re: service() failed with http error 502
> 
> On 22/03/2023 19:20, Luis Ramos wrote:
>> Hi List.
>> In and around last windows updates for our WIN2019 box, our tomcat connector start to fail with the below error message.
>> Setup is IIS 10->ISAPI connector => Tomcat 9 -> https://tomcat.apache.org/connectors-doc/webserver_howto/iis.html
>> Has someone seen this behaivor?
>> To be able to open the system I am bypassing the connector and listening in port 443 in server.xml directly.
> 
> What Tomcat version are you using?
> 
> Has there been any change in Tomcat version in the same time frame? If
> so, please provide exact version information.
> 
> Please provide the AJP connector configuration from Tomcat's server.xml
> 
>> [Wed Mar 22 15:08:46.746 2023] [10780:14112] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (1408): (tomcat01) wrong message size 18441 8192 from ::1:8009
> 
> This suggests that Tomcat is configured with a different maximum AJP
> message size than IIS.
> 
> Please provide your workers.properties file.
> 
> Mark
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> This e-mail message, including any attachment(s), is confidential and may also be legally privileged. It is intended solely for the addresse(s) and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this email is strictly prohibited and may be unlawful. If you have received this e-mail in error you are requested to delete it from your system and to notify us by replying to this message immediately. CNT Infotech is not liable for the improper transmission of this message nor for any damage sustained as a result of this message.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: service() failed with http error 502

Posted by Luis Ramos <lu...@cntit.com.INVALID>.
Hi
 Apache Tomcat/9.0.65
from server.xml

  <Connector protocol="AJP/1.3"
               address="::1"
               port="8009"
               maxThreads="3000" 
               minSpareThreads="50"
               connectionTimeout="121000"
	       packetSize="65536"
	       secretRequired="true" secret="namnetiq1"/>
    

Luis J Ramos 
CNT Infotech Corp. (www.cntinfotech.com) 
646.452.9349

----- Original Message -----
From: "Mark Thomas" <ma...@apache.org>
To: "users" <us...@tomcat.apache.org>
Sent: Thursday, March 23, 2023 4:09:41 AM
Subject: Re: service() failed with http error 502

On 22/03/2023 19:20, Luis Ramos wrote:
> Hi List.
> In and around last windows updates for our WIN2019 box, our tomcat connector start to fail with the below error message.
> Setup is IIS 10->ISAPI connector => Tomcat 9 -> https://tomcat.apache.org/connectors-doc/webserver_howto/iis.html
> Has someone seen this behaivor?
> To be able to open the system I am bypassing the connector and listening in port 443 in server.xml directly.

What Tomcat version are you using?

Has there been any change in Tomcat version in the same time frame? If 
so, please provide exact version information.

Please provide the AJP connector configuration from Tomcat's server.xml

> [Wed Mar 22 15:08:46.746 2023] [10780:14112] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (1408): (tomcat01) wrong message size 18441 8192 from ::1:8009

This suggests that Tomcat is configured with a different maximum AJP 
message size than IIS.

Please provide your workers.properties file.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
This e-mail message, including any attachment(s), is confidential and may also be legally privileged. It is intended solely for the addresse(s) and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this email is strictly prohibited and may be unlawful. If you have received this e-mail in error you are requested to delete it from your system and to notify us by replying to this message immediately. CNT Infotech is not liable for the improper transmission of this message nor for any damage sustained as a result of this message.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: service() failed with http error 502

Posted by Mark Thomas <ma...@apache.org>.
On 22/03/2023 19:20, Luis Ramos wrote:
> Hi List.
> In and around last windows updates for our WIN2019 box, our tomcat connector start to fail with the below error message.
> Setup is IIS 10->ISAPI connector => Tomcat 9 -> https://tomcat.apache.org/connectors-doc/webserver_howto/iis.html
> Has someone seen this behaivor?
> To be able to open the system I am bypassing the connector and listening in port 443 in server.xml directly.

What Tomcat version are you using?

Has there been any change in Tomcat version in the same time frame? If 
so, please provide exact version information.

Please provide the AJP connector configuration from Tomcat's server.xml

> [Wed Mar 22 15:08:46.746 2023] [10780:14112] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (1408): (tomcat01) wrong message size 18441 8192 from ::1:8009

This suggests that Tomcat is configured with a different maximum AJP 
message size than IIS.

Please provide your workers.properties file.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org