You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sailaja Gadireddy <sa...@gmail.com> on 2015/01/08 08:37:14 UTC

[users@httpd] How to route the request from apache with custom ports ( 86- http port, 4444-SSL port) to tomcat

Hi Team,

We have a set up like Apahce (80,443) redirects the request to Tomcat
(8080) using  mod_jk.

The new requirement is to route the request from the same apache to another
tomcat (8090). Hence I made the different config file for apache with
different ports (86,4444) and different worker for mod_jk which routes the
request to tomcat.

Now the issue is when I hit the url http://<servername>:86 and after
providing the credentials, it is redirecting to https://<servername>:86 and
throwing the below error.

*Error in browser:*

Secure Connection Failed

An error occurred during a connection to pritoolvca1.sw.ericsson.se:86. SSL
received a record that exceeded the maximum permissible length. (Error
code: ssl_error_rx_record_too_long)












*Error in logs:"\x16\x03\x01" 501[Thu Jan 08 08:22:46 2015] [debug]
ssl_engine_io.c(1523): OpenSSL: I/O error, 11 bytes expected to read on
BIO#1bf568 [mem: 1f3930][Thu Jan 08 08:22:46 2015] [debug]
ssl_engine_kernel.c(1806): OpenSSL: Exit: error in SSLv2/v3 read client
hello A[Thu Jan 08 08:22:46 2015] [info] (70014)End of file found: SSL
handshake interrupted by system [Hint: Stop button pressed in
browser?!][Thu Jan 08 08:22:46 2015] [info] Connection to child 3 closed
with abortive shutdown(server pritoolvca1.sw.ericsson.se:443
<http://pritoolvca1.sw.ericsson.se:443>, client 153.88.164.216)[Thu Jan 08
08:23:53 2015] [error] [client 172.17.136.153] Invalid method in request
\x16\x03\x01*
Could you please suggest where it might went wrong and the way forward..

Thanks & Regards,
Sailaja.

Re: [users@httpd] How to route the request from apache with custom ports ( 86- http port, 4444-SSL port) to tomcat

Posted by Eric Covener <co...@gmail.com>.
On Thu, Jan 8, 2015 at 8:24 AM, Hendrik Schmieder
<he...@jedox.com> wrote:
> isn't
>
> <https://www.ietf.org/rfc/rfc2817.txt>
>
> what Sailaja Gadireddy looks for ?

Could be.  I've never seen anyone use it in practice, but I've seen
hundreds of times just using the wrong protocol/port combination.

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


Re: [users@httpd] How to route the request from apache with custom ports ( 86- http port, 4444-SSL port) to tomcat

Posted by Hendrik Schmieder <he...@jedox.com>.
Eric Covener schrieb:
> On Thu, Jan 8, 2015 at 2:37 AM, Sailaja Gadireddy
> <sa...@gmail.com>  wrote:
>> Now the issue is when I hit the url http://<servername>:86 and after
>> providing the credentials, it is redirecting to https://<servername>:86 and
>> throwing the below error.
>
>
> That port is either SSL enabled or it isn't, both requests can never
> work.  You need to find the source of the redirect and make it use
> your actual HTTPS port.
>

Hello,

isn't

<https://www.ietf.org/rfc/rfc2817.txt>

what Sailaja Gadireddy looks for ?

   Hendrik


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


Re: [users@httpd] How to route the request from apache with custom ports ( 86- http port, 4444-SSL port) to tomcat

Posted by Eric Covener <co...@gmail.com>.
On Thu, Jan 8, 2015 at 2:37 AM, Sailaja Gadireddy
<sa...@gmail.com> wrote:
> Now the issue is when I hit the url http://<servername>:86 and after
> providing the credentials, it is redirecting to https://<servername>:86 and
> throwing the below error.


That port is either SSL enabled or it isn't, both requests can never
work.  You need to find the source of the redirect and make it use
your actual HTTPS port.

-- 
Eric Covener
covener@gmail.com

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