Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

https request throws 503 while http works

 
harib raghu
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20526
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!

I'll move this thread to our Tomcat forum, as I'll think you'll have more success over there.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
harib raghu
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any help is appreciated..still could n't crack this
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic