Is it possible something is wrong with the header values [Thu Jun 18 09:37:28.229 2020] [6060:2544] [debug] ajp_unmarshal_response::jk_ajp_common.c (799): (worker-local) Header[0] [Expires] = [19-Mar-1971 08:23:00 GMT] [Thu Jun 18 09:37:28.229 2020] [6060:2544] [debug] ajp_unmarshal_response::jk_ajp_common.c (799): (worker-local) Header[1] [Cache-Control] = [no-store, no-cache, private, must-revalidate] [Thu Jun 18 09:37:28.230 2020] [6060:2544] [debug] ajp_unmarshal_response::jk_ajp_common.c (799): (worker-local) Header[2] [Pragma] = [no-cache] [Thu Jun 18 09:37:28.231 2020] [6060:2544] [debug] ajp_unmarshal_response::jk_ajp_common.c (799): (worker-local) Header[3] [Location] = [https://host/idp/login?fsid=2baf82dbd9e74657988568e2ae98ceef&continue=https%3A%2F%2Fhost%2Fworkcenter%2Ftmtrack.dll%3Fshell%3Dswc] [Thu Jun 18 09:37:28.232 2020] [6060:2544] [debug] ajp_unmarshal_response::jk_ajp_common.c (799): (worker-local) Header[4] [Content-Length] = [0]
This is pretty standard, I can't see anything wrong... -----Original Message----- From: George Stanchev Sent: Tuesday, June 23, 2020 10:33 AM To: users@tomcat.apache.org Subject: RE: Tomcat Connector issue Thanks all for the responses. It is on AWS VM machine that I don't have access to. I've googed the crap of x57 but besides some Bugzilla report from Adobe that seemed unrelated nothing good comes out of Google. x57 as Mark said is bad parameter and it is a generic error meaning either the p->lpEcb->ConnID is invalid or something is wrong with the headers or their sizes. Also chunking is off so keep-alive is JK_FALSE. I can try to enable the chunking to see if I can fork the execution into the HSE_REQ_SEND_RESPONSE_HEADER_EX call on jk_isapi_plugin.c#1066 and if it would make a difference. The headers from TC on the 302 response are pretty vanilla and I cannot imagine headers+sizes are wrong which leaves p->lpEcb->ConnID. I have omitted the actual binary dump of the AJP message because it is from a customer and didn't want to disclose their hostname but I can obfuscate it and post it if we think it is related to the issue. For now forking into the _EX call is the only idea I have to explore... Asked to procur another VM image in case something is wrong with IIS but it is a problem for them... Any ideas on how to even approach this are much appreciated... George -----Original Message----- From: Mark Thomas <ma...@apache.org> Sent: Tuesday, June 23, 2020 9:42 AM To: users@tomcat.apache.org Subject: Re: Tomcat Connector issue On 23/06/2020 16:35, Christopher Schultz wrote: > > > On 6/23/20 11:32, Mark Thomas wrote: >> On 23/06/2020 16:20, Christopher Schultz wrote: >>> George, >>> >>> On 6/22/20 17:13, George Stanchev wrote: >>>> We are getting HSE_REQ_SEND_RESPONSE_HEADER failed with >>>> error=87 (0x00000057) on a 302 redirect proxied by TC connector >>>> 1.2.46. >>> Windows error 0x00000057 is ... "Cannot connect to printer"??? > >> Not sure where you found that. 0x57 is "Invalid Parameter" > > Yeah, it sounded weird. Searching Google for "windows 0x00000057" (at > least here in the US) gives a million pages about errors connecting to > printers, like this one which is the top-hit for me with expanded > explanation: > > https://appuals.com/fix-printer-error-0x00000057/ > > " > Error 0x00000057 is a printer related error on Windows which does not > allow the user to add the printer. This error is usually due to > corrupt drivers previously installed and the permission issues. ... > The 1st one would delete the driver and the second method would be to > copy the driver from a working computer. > " > > I don't have a "perror" program for Windows handy right now, so I just > tried Google :/ For the archives: https://docs.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499- Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org