Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

https request throws 503 while http works

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Marshal
Posts: 22460
121
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Saloon Keeper
Posts: 24332
167
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
any help is appreciated..still could n't crack this
 
Do not meddle in the affairs of dragons - for you are crunchy and good with ketchup. Crunchy tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic