Activation failure

Activation failure

Issues

I uploaded my activation key, still SafeSquid UI is showing Failed to set Subscription details 
After uploading the activation key, I am getting the template on browser proxy server refusing connections
Unable to see subscription details on support page from SafeSquid User Interface

Root Causes

SafeSquid server is unable to contact SafeSquid Subscription server 
The file (activation key) was not uploaded correctly. 
The file name you uploaded is other than actiavtion_key
After uploading the activation key, page is showing proxy server refusing connections
SafeSquid service restart was not done properly

Troubleshooting

Case 1: Check for activation_key file on the SafeSquid server.

Run the below command and check for the file 
  1. ls -lrt /usr/local/safesquid/security/
  2. root@dev:~# ls -lrt /usr/local/safesquid/security/
  3. total 60
  4. drwxrwxr-- 2 ssquid root  4096 Jul 10 11:55 dns
  5. -rw-rw-r-- 1 ssquid root   724 Jul 28 11:23 krb5.conf
  6. -rw-rw-r-- 1 ssquid root  2111 Aug  3 18:52 activation_key
  7. drwxrwxr-- 2 ssquid root 12288 Aug  4 16:04 policies
  8. drwxrwxr-- 5 ssquid root  4096 Aug  4 16:09 ssl
  9. -rw-rw-r-- 1 ssquid root 15744 Aug  5 09:51 activation_key.updates.backup
  10. -rw-rw-r-- 1 ssquid root 15744 Aug  5 09:51 activation_key.updates
If the file was not found, then upload your activation key again and click on restart 
Note: Restart SafeSquid service from SafeSquid Interface will work, only if the monit service configured properly on SafeSquid server.
Otherwise, you can directly restart the SafeSquid service from LINUX box by using below commands
  1. /etc/init.d/safesquid stop
  2. /etc/init.d/safesquid start

Case 2 : Check the connection to the Subscription server, by using following commands

  1. root@dev:~# ping swgupdates2.safesquid.net
  2. PING swgupdates2.safesquid.net (104.236.27.61) 56(84) bytes of data.
  3. 64 bytes from 104.236.27.61: icmp_seq=1 ttl=52 time=309 ms
  4. 64 bytes from 104.236.27.61: icmp_seq=2 ttl=52 time=228 ms
  5. --- swgupdates2.safesquid.net ping statistics ---
  6. 2 packets transmitted, 2 received, 0% packet loss, time 1000ms
  7. rtt min/avg/max/mdev = 228.387/269.078/309.770/40.694 ms
  8. nslookup swgupdates2.safesquid.net
  9. Server:         127.0.0.1
  10. Address:        127.0.0.1#53
  11. Non-authoritative answer:
  12. Name:   swgupdates2.safesquid.net
  13. Address: 104.236.27.61
After uploading the activation key, page is showing proxy server refusing connections
SafeSquid restart was not done, start the SafeSquid from the server console by using below command 
  1. /etc/init.d/safesquid start


    • Related Articles

    • Register and Generate your Activation Key

      Why Register Before downloading the SafeSquid installer(s), you MUST register to create your account on SafeSquid's self-service portal at - https://key.safesquid.com/. Registration is free and requires just a few minutes. Your registered account ...
    • Setup Cloud Restore

      Overview A disaster can strike at any time, it may due to network or system failure. Any outage may lead to losing your configuration and SSL certificates. Process to rework and resume your last configuration is very much time-consuming unless you ...
    • Activate a SafeSquid Instance

      Overview You must Activate a SafeSquid Instance before using it to access the web. Prerequisites To access the SafeSquid GUI, you need to configure your browser to use a proxy. You must register on SafeSquid website to get activation key. if you ...
    • Install SafeSquid Secure Web Gateway using SafeSquid Appliance Builder

      Problem To set up your Secure Web Gateway appliance, you need to first install the Linux operating system on your provisioned hardware. Next, harden the system by implementing best security practices and partition the disks appropriately. Afterward, ...
    • Manage Keyword Signatures using Self Service portal

      We're going to assume that you've an active SafeSquid account with atleast one Activation Key. If this is not completed yet, you can register at https://key.safesquid.com/ Login to the Self-Service Portal by visiting https://key.safesquid.com/on your ...