aspose file tools*
The moose likes Tomcat and the fly likes https request throws 503 while http works Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "https request throws 503 while http works" Watch "https request throws 503 while http works" New topic
Author

https request throws 503 while http works

harib raghu
Greenhorn

Joined: Sep 18, 2011
Posts: 5
We got a new VPS account and i installed SSL on it. SSL was installed on the same IP as the server..
We have an apache fronting the tomcat. PROBLEM is if i try ... http://www.mydomain.com it works
but if i try https://www.mydomain.com i get ....
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Additionally, a 503 Service Temporarily Unavailable error was encountered while trying to use an ErrorDocument to handle the request.

however please note that the HTTPS shows as green (i.e)ssl works and also checked in http://www.digicert.com/help/ ...

Can some one let me know what the problem might be???
Note: thou my hosting company gave me another static IP for SSL i did not use it , becoz in that case i totally get SSL_error..etc.. so i used
my same server ip...
Thanks
H
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19557
    
  16

Welcome to the Ranch!

I'll move this thread to our Tomcat forum, as I'll think you'll have more success over there.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15665
    
  15

This may be a challenge. When you do an https request, the default port used in 443, instead of port 80, like standard HTTP uses. I think your problem is that you don't have a port 443 connection handler set up in Apache.

There are currently 2 different ways for Apache to pipeline requests to Tomcat: the older mod_jk way and the newer mod_proxy way. So if you could give us maybe the virtualhost definition from your Apache configuration it would help a lot. Please use the "Code" button to wrap formatting tags around your configuration data, though, so our message formatter won't make a mess of it!


Customer surveys are for companies who didn't pay proper attention to begin with.
harib raghu
Greenhorn

Joined: Sep 18, 2011
Posts: 5
I use the mod JK....jk_conf and then workers properties file for the tomcat apache communication.
I see my virtual host and apache forward and the tomcat receiver(i mean port configs) all seem ok.
However here are the config files...
I am placing the main parts only here...........


TOMCAT SERVER.XML main parts...
harib raghu
Greenhorn

Joined: Sep 18, 2011
Posts: 5
any help is appreciated..still could n't crack this
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: https request throws 503 while http works
 
Similar Threads
Apache server error
503 Service Temporarily Unavailable
code or server problem ?
HttpUnit- Error on HTTP request: 503 Service
How Could I Get This Kind of Problem?