cancel
Showing results for 
Search instead for 
Did you mean: 
cscoup8
Level 9

Log whenever the progress page was displayed

Jump to solution

Is there a way to log in the access log whenever the Progress Page was displayed (not when it was enabled which I can get through the ProgressPage.Enabled property, but rather log  which URL did the progress page actually display on screen).

Reason: This would help speed up troubleshooting by quickly identifying which requests resulted in a progress page being sent to the user, which sometimes messes up the downloads for certain clients and web applications.

0 Kudos
1 Solution

Accepted Solutions
McAfee Employee

Re: Log whenever the progress page was displayed

Jump to solution

Hi all,

In 7.3 they also added a property called "ProgressPage.Sent" I havent tested it, but this should be set to true if a progress page was sent.

Best,

Jon

0 Kudos
5 Replies
edxavier
Level 9

Re: Log whenever the progress page was displayed

Jump to solution

Hello,

Basicly, anything that is not text/html will cause the progress page to load.

You could create a log to write the URL whenever the MediaType.FromHeader is not text/html.

Xavier

0 Kudos
asabban
Level 17

Re: Log whenever the progress page was displayed

Jump to solution

Hello,

I see two options.

1) In Configuration -> Proxies -> Advanced Settings you find a setting called "Call log handler for progress pages...". This will tell MWG to log all "internal" requests, such as embedded objects in error templates, but also the progress page requests. In the log you will see something like:

"GET http://napoleon.acc.umu.se/mwg-internal/de5fs23hu73ds/progress?id=zUCAR0VfNA&a=1&1363335522640"

Note: The progress page is refreshed every 5 seconds, so as long as the download runs you will have a log entry every couple of seconds. This may fill up the log files with internal requests.

2) Use a "web bug". Modify the template that is used to display the progress page (named "Progess") and add something like

<img src="$Proxy.EndUserURL$/progresspage/?url=$URL$">

This will cause the browser to attempt trying to embedd an image when displaying the progress page. You will see something like this in the logs:

"GET http://napoleon.acc.umu.se/mwg-internal/de5fs23hu73ds/progresspage/?url=http://napoleon.acc.umu.se/d... HTTP/1.1"

You will see a 404 because the image does not exist. Use a transparent 1x1 image that you place somewhere instead if possible.

Best,

Andre

0 Kudos
McAfee Employee

Re: Log whenever the progress page was displayed

Jump to solution

Hi all,

In 7.3 they also added a property called "ProgressPage.Sent" I havent tested it, but this should be set to true if a progress page was sent.

Best,

Jon

0 Kudos
asabban
Level 17

Re: Log whenever the progress page was displayed

Jump to solution

Cool, I didn't notice the new property. You should try that instead following my hints.

Best,

Andre

0 Kudos
msiemens
Level 9

Re: Log whenever the progress page was displayed

Jump to solution

I'm trying to use the "progresspage.sent" property but have only gotten it to work in the log handler - and then it only works when the file has been downloaded, the user clicks on "...Here", and the file is actually downloaded to the client.

One of the issues that I've encountered is web apps that download files in the background. The user never sees the download progress page and doesn't know why his/her application seems to hang. In reality, MWG has sent the notification page to the client and is waiting for the user to click "...Here" but the user never sees it. In addition, the download may or may not be authenticated because the web app may not send authentication information to the MWG.

Is there a way to detect when the download progress page is actually sent to the user?

Thanks for your help,

Mike

0 Kudos