Getting an Error "Proxy server refusing connections"

Getting an Error "Proxy server refusing connections"

Issues

  1. I am trying to access the web through a proxy server and suddenly getting the error "Proxy server refusing connections".
  1. When I go to Restart the SafeSquid service from the SafeSquid interface, it displays the error "Proxy server refusing connections".

Root Causes

  1. SafeSquid Process is not running.
  1. SafeSquid is not listening on the specific IP (or) port, where you configured in the client browsers.
  1. Monit service is not running on SafeSquid Server. (When you restart SafeSquid from the Interface, the monit service will start the SafeSquid service. If the Monit is not running, then safesquid is not going to start, till you start the Monit service manually).

Troubleshooting

 1. Check the status of the monit service whether it is up or down.
  1. Command: pidof monit
 If the output of the command is empty then run the  below command to start the service:
  1. Command :/etc/init.d/monit start
2. Check the status of SafeSquid Service whether it is up or down.
  1. Command: pidof safesquid
If the monit service is started already, then you will get the SafeSquid process I
3. Check the listening IP and port of SafeSquid by using the below command:
  1. Command: netstat -tlnp | grep -iE "safesquid"
tcp6       0      0 :::8080                 :::*                    LISTEN      2741/safesquid
tcp6       0      0 :::8081                 :::*                    LISTEN      2741/safesquid
tcp6       0      0 :::8443                 :::*                    LISTEN      2741/safesquid
4. Check the IP configured and Port in your browser and compare it with the above output.
In the above command, SafeSquid is listened to on all Interfaces on the server with Port 8080,8081, and 8443.


    • Related Articles

    • Standard Operating Procedure (SOP) for Troubleshooting Issues in your SafeSquid proxy server

      Purpose To provide a consistent and effective approach to troubleshooting network connectivity and web server issues using key commands. Scope This SOP applies to troubleshooting sessions involving DNS resolution, port connectivity, web server ...
    • SafeSquid Transparent Proxy

      Overview The Internet is an essential part of most company’s business infrastructure. However, it can be a risky place, but there are ways to minimize risks so your business can thrive. Analysts encourage organizations to deploy a secure web gateway ...
    • Disk space and RAM is full on SafeSquid Server

      Overview Manage disk space on the SafeSquid server. When any of the partitions that are used by SafeSquid are full, it results in undefined behaviour. This may lead to something like, SafeSquid failing in processing the connections. Prerequisites ...
    • Do Android proxy settings apply to all apps on the device

      No, they do not apply globally and without root, there is no way to force a proxy to be used by all applications. The reason behind that is depends upon the application creator to respect the proxy settings and use them or do the wrong thing and ...
    • Product Activation Failure

      Issues I uploaded my activation key, but still, SafeSquid UI is showing Failed to set Subscription details. After uploading the activation key, I am getting the template on the browser proxy server refusing connections. Unable to see subscription ...