cancel
Showing results for 
Search instead for 
Did you mean: 
dstraube
Level 11
Report Inappropriate Content
Message 11 of 20

Re: Download in Progress Notification not happening on MWG 7

Hello kmasmoud,

your problem is different from the ones discussed previously in this thread. The users had the problem that they couldn't see the progress page because of they way the download was handled. You see the progress page, but it's not advancing and you can't download the file.

Without further information I assume you have javascript disabled in your browser. The progress pages in MWG 7.x require javascript to work. Please try to enable it and see if this solves the issue.

Regards,

Dirk

Re: Download in Progress Notification not happening on MWG 7

Hi Dirk,

JS is enabled. tested on Firefox 14 and chrome. Is there anything else to enable? FYI, there is another upstream proxy before hitting McAfee WG v7

Thanks in advance for your suggestions.

Best regards,

Khaled

dstraube
Level 11
Report Inappropriate Content
Message 13 of 20

Re: Download in Progress Notification not happening on MWG 7

Hello Khaled,

are you using ICAP? Data Trickling or Progress Pages are not implemented in the ICAP server part of MWG 7.x. So that won't work and you should disable the rule set for the Progress Indication.

Regards,

Dirk

Highlighted

Re: Download in Progress Notification not happening on MWG 7

Hi,

ICAP server is disabled. Teh two proxies are chained.

Regards,

Khaled

dstraube
Level 11
Report Inappropriate Content
Message 15 of 20

Re: Download in Progress Notification not happening on MWG 7

Hello Khaled,

the screenshot looks as if the java-script part isn't working correctly. The initial progress page (the one that's on your screenshot) will send Ajax requests to refresh the status (indicate that the client is waiting) and will display the progress of the download. Once the download is finished you get a scanning message and then the download link.

The ajax requests is a GET request like this: http://archive.apache.org/mwg-internal/de5fs23hu73ds/progress?id=jmKnSitmsT&a=1&1349790008874

The host (archive.apache.org) is the original part of the URL, the rest is internal information for MWG.

What's important here is that the request reaches the same MWG server that issued the progress page. If there are serveral MWG instances and a load balancer in place, the following requests might not always go to the same MWG instance.

If it's only one MWG server we need to make sure the request passes the first proxy unchanged and will get delivered to MWG. A network trace can confirm that.

There also could be an issue with authentication.

There are several things that can go wrong and you might need to contact support about this issue. A feedback and maybe a network trace might be required to solve this. Here I can only guess without further information.

Regards,

Dirk

Re: Download in Progress Notification not happening on MWG 7

Hi again,

I made a wireshark capture: the browser asks for teh resource (http GET), receives a 307 redierct with what should be the progress page (mwg-internal in the path) . Next the browser asks for the url in the Location header and gets the progress pages (see below)  but does not send any further request. Authentication is disabled and persistance is set on load balancers. I'll liaise with teh support. Thanks again for your help!

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>

<!-- FileName: index.html

     Language: [en]

-->

<!--Head-->

<head>

  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">

  <meta http-equiv="X-UA-Compatible" content="IE=7" />

  <title>McAfee Web Gateway - Notification</title>

  <script src="/mwg-internal/de5fs23hu73ds/files/javascript/sw.js" type="text/javascript" ></script>

  <link rel="stylesheet" href="/mwg-internal/de5fs23hu73ds/files/default/stylesheet.css" />

</head>

<!--/Head-->

<!--Body-->

<!body onload="swOnLoad();">

  <!table class='bodyTable'>

    <!tr>

      <!td class='bodyData' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_body.gif'>

<!--Logo-->

<table class='logoTable'>

  <tr>

    <td class='logoData'>

         <img style="float:left" src='/mwg-internal/de5fs23hu73ds/files/default/img/logo_mwg.png'></a>

       </td>

  </tr>

</table>

<!--/Logo-->

<!--Contents-->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!--"If you opened this file and can see this text, then you've probably tried to download a file using

the 'save target as' option in the context menu when right clicking the object. Since  McAfee Web Gateway

is used for virus scanning your browser is redirected to a page that will show the download

progress, and by chosing the 'save target as' option you were saving this progress page. To avoid

this situation please use a simple click with the left mouse button to download the object. This

will correctly redirect your browser to display the download progress and allow you to save the

desired object."-->

<!-- FileName: progress.html

     Language: [en]

-->

<!--Title-->

<table class='titleTable' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_navbar.jpg'>

  <tr>

    <td class='titleData'>

      Download in progress

    </td>

  </tr>

</table>

<!--/Title-->

<!--Content-->

<table class="contentTable">

  <tr>

    <td class="contentData">

      McAfee Web Gateway is downloading and scanning file: <script type="text/javascript">break_line("http://archive.apache.org/dist/mina/ftpserver/1.0.0/ftpserver-1.0.0.zip");</script>

    </td>

  </tr>

</table>

<!--/Content-->

<!--Info-->

<table class="infoTable">

  <tr>

    <td class="infoData">

    /mwg-internal/de5fs23hu73ds  Please Wait ...

      <script type='text/javascript'>

printProgressBar(20,"/mwg-internal/de5fs23hu73ds/files/default/img/blue.png","/mwg-internal/de5fs23hu73ds/files/default/img/grey.png",15,30);

      </script>

    </td>

  </tr>

</table>

<table class='infoTable'>

  <tr>

    <td class='infoData'>

      <b><span id="progress">Downloaded 0 of ?</span>.</b>

    </td>

  </tr>

  <tr>

  <td class='printInfoData' style="text-align:center">

  <form action="/mwg-internal/de5fs23hu73ds/progress" method="get">

  <input type="hidden" name="id" value="BvY5LKYbVR"><input type="hidden" name="Cancel" value="1"><input type="submit" value="Cancel"></form>

  </td>

  </tr>

</table>

<!--/Info-->

<meta id="progresspage" content="1"><meta id="progresspageid" content="BvY5LKYbVR">

<!--/Contents-->

<!--Foot-->

<table class='footTable'>

  <tr>

    <td class='helpDeskData' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_navbar.jpg'>

      For assistance, report the information above to your Helpdesk.

      If you would like to try again, <a href='http://archive.apache.org/dist/mina/ftpserver/1.0.0/ftpserver-1.0.0.zip'> click here.

    </td>

  </tr>

  <tr>

    <td class='footData'>

      generated <span id="time">2012-10-09 14:58:14</span> by McAfee Web Gateway

      <br />

     

    </td>

  </tr>

</table>

<!--/Foot-->

      </td>

    </tr>

  </table>

</body>

<!--/Body-->

</html>

Cheers,

Khaled

Reliable Contributor asabban
Reliable Contributor
Report Inappropriate Content
Message 17 of 20

Re: Download in Progress Notification not happening on MWG 7

Hello,

I did not read the whle thread, was it already mentioned to try a different browser? By doing so (best is to make a blank install of a different browser) you can exclude the browser as causing the problem. I would recommend to install a blank Firefox (or download a portable Firefox version) and give it a try.

There are not too many options why the reload does not happen:

- The browser does not execute the Ajax stuff that is embedded into the progress page

- The progress page is filtered and modified in some way (maybe the browser drops a javascript error message? You could check the developer console in Firefox)

- The progress page has been manipulated. I have seen someone in the past who copied the progress page into notepad, modified it, and replaced the whole original template with the content from notepad, which completely broke the progress page

- Any of the other templates (index.htm, sw.js or css files) have been modified, causing problems

- A firewall drops the ajax calls/routing issue (unlikely, but I have seen network equipment acting really weird. You could run a packet capture on the PC to see if requests are going out which do not reach MWG)

Best,

Andre

Re: Download in Progress Notification not happening on MWG 7

Hi Andre,

I reimported the original error package from a fresh installation and now the progress page works. I made changes to the index.html and css fiels to cutomize the interface. thanks for the hint!

cheers,

Khaled

Reliable Contributor asabban
Reliable Contributor
Report Inappropriate Content
Message 19 of 20

Re: Download in Progress Notification not happening on MWG 7

Cool, thanks for letting us know. Do you mind setting this thread to "answered" ?

Thank you,

Andre

Re: Download in Progress Notification not happening on MWG 7

Sure, no problem. Thank you and Dirk again.

Best regards,

Khaled

More McAfee Tools to Help You
  • Subscription Service Notification (SNS)
  • How-to: Endpoint Removal Tool
  • Support: Endpoint Security
  • eSupport: Policy Orchestrator