Local Database build failed Expected end-of-line errors

book

Article ID: 166704

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

The local database download failed
The local database failed to download.
Unable to update local database entries.
Local Database build failed

Download log:
  Local database download at: 2013/09/04 02:14:55 +0000
  Downloading from
http://x.x.x.x:8000/webroot/whitelistandblacklist.txt
  Compiling database
    Defining category: SGS_Do_Not_Cache_No_Scan
      Warning: (line 315): URL query string ignored: 'go.test.com/fwlink/?LinkId'
      ERROR: (line 315): Expected end-of-line: '='
      Warning: (line 316): URL query string ignored: 'download.test.com/AVG-AntiVirus-Free-2014/3000-2239_4-10320142.html?tag'
      ERROR: (line 316): Expected end-of-line: '='
    There were 2 errors
    There were 2 warnings
  Database build failed

Resolution

Query of the following strings (use of "=" and "?") are not supported in the local database. In this example, the first error caused by go.test.com/fwlink/?LinkId=68928

In order to solve the problem, remove everything after fwlink string (go.test.com/fwlink) to block everything after the fwlink part of the URL. If you plan to block/allow the full URL go.test.com/fwlink/?LinkId=68928, you need to use the CPL/VPM to block / allow those specific links. Do refer to 000015380 to know the the difference between local categories and local policies