Results 1 to 9 of 9
  1. #1
    Join Date
    Feb 2002
    Posts
    41

    https/ssl connection was refused

    Alright, I've been through every log file I can find and I can't seem to find any errors listed to tell me why this is happening. About every 4-5 hours I get a "connection was refused" when trying to connect to a secure site on the server. The only secure site that works fine is WHM and any non-secure connection is allowed. A simple Apache restart corrects the problem but it's back again a few hours later. Can someone offer some ideas on where I can look to get this nipped?

    TIA

  2. #2
    Join Date
    Feb 2002
    Posts
    41
    I still can't seem to find anything on this. Can anyone offer any suggestions? I'm sure I've got to be overlooking something.

  3. #3
    try this:

    /usr/local/cpanel/startstunnel

  4. #4
    Join Date
    Nov 2004
    Location
    India
    Posts
    1,104
    It could possible be your openSSL installation, try upgrade your cpanel to 'Stable' release and reinstall the openssl..also try upgrading apache to the latest release..
    AssistanZ - Beyond Boundaries...
    Cloudstack Consultancy / 24x7 Web Hosting Support / 24x7 Server Management / Infrastructure Management Services
    Web & Mobile Apps Development / Web Designing Services / Php, Grails, Java Development

  5. #5
    Join Date
    Feb 2002
    Posts
    41
    During my troubleshooting I updated to 10.1.0 R78 and also ran easyapache. The problem still occured after that. The problem I'm having now is I can't troubleshoot it unless it goes down and it isn't going down consistently. Not to mention I can't really keep a service down to work on it when people are using it and I know how to bring it right back up.

  6. #6
    Join Date
    Feb 2003
    Location
    CT
    Posts
    484
    Is there anything in /var/log/messages being logged at the time that https goes down?

  7. #7
    Join Date
    Feb 2002
    Posts
    41
    Nothing that I can see. I'll test it again next time it happens but I haven't seen anything written to the file yet.

  8. #8
    Maybe this will help you and me? I have the same problem and I have this to go on.

    When I ran httpd configtest I got:

    [Tue May 3 09:08:31 2005] [warn] VirtualHost xx.xx.xxx.xxx:80 overlaps with VirtualHost xx.xx.xxx.xxx:80, the first has precedence, perhaps you need a NameVirtualHost directive

    That line repeats 7 times all with the exact same IP address which is the server's shared IP.

    I am at a standstill. One domain with a separate unique IP won't run SSL, and the above errors are generated on the shared non-unique IP.

    I'd be grateful for any insight.

  9. #9
    Join Date
    Feb 2002
    Posts
    41
    Originally posted by harryhood
    Is there anything in /var/log/messages being logged at the time that https goes down?
    Ok, just went down and there is nothing listed in messages when I try to connect (no errors that is). stunnel shows it is running when I look at the output for top.

    Now that I'm doing more investigating I see that my memory usage is hovering around 76%. Swap looks good but that figure is very high for this server. But even after restarting Apache the figure doesn't drop much and https works. I guess I could understand if all ssl was going down, but with the self-signed certs still working I just don't know what the deal is.

    Quote Originally Posted by colden
    Maybe this will help you and me? I have the same problem and I have this to go on.

    When I ran httpd configtest I got:

    [Tue May 3 09:08:31 2005] [warn] VirtualHost xx.xx.xxx.xxx:80 overlaps with VirtualHost xx.xx.xxx.xxx:80, the first has precedence, perhaps you need a NameVirtualHost directive

    That line repeats 7 times all with the exact same IP address which is the server's shared IP.

    I am at a standstill. One domain with a separate unique IP won't run SSL, and the above errors are generated on the shared non-unique IP.

    I'd be grateful for any insight.
    Sorry, I don't have the same problem when I run configtest. GL though.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •