SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
WebGetFile Error

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
WebGetFile Error
Author Message
Rick Boarman



Joined: 14 Jan 2005
Posts: 5

Post WebGetFile Error Reply with quote

Hello,

I am having an issue with WebGetFile. The web page is being executed but the job is reporting an error as shown below.

1/14/2005 12:04:30 2 104 0
Recalculate invoices - App03 Job Recalculate
invoices - App03 execution error. Exit code: -1.
An error occurred while executing automation
script: Line 5: GET Request for
http://salescenter.dovebid.com/leads/
refreshinvoices.aspx on server
http://salescenter.dovebid.com failed. Error

I can run the URL in a browser just fine. The target server is receiving and processing the request. The local file that is supposed to be created is not being created at all.

How can I go about getting some more detailed debugging information?

Thank you,

Rick

Fri Jan 14, 2005 4:12 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7970

Post Re: WebGetFile Error Reply with quote

Unfortunately the complete error cannot be seen and it is hard to say what is causing that without seeing the actual error message.

By the way, have you tried using WebGetPageHTML insteda of WebGetFile? Did it work?

: Hello,

: I am having an issue with WebGetFile. The web page is being executed but the
: job is reporting an error as shown below.

: 1/14/2005 12:04:30 2 104 0
: Recalculate invoices - App03 Job Recalculate
: invoices - App03 execution error. Exit code: -1.
: An error occurred while executing automation
: script: Line 5: GET Request for
: http://salescenter.dovebid.com/leads /
: refreshinvoices.aspx on server
: http://salescenter.dovebid.com failed. Error

: I can run the URL in a browser just fine. The target server is receiving and
: processing the request. The local file that is supposed to be created is
: not being created at all.

: How can I go about getting some more detailed debugging information?

: Thank you,

: Rick

Fri Jan 14, 2005 5:03 pm View user's profile Send private message
Rick Boarman



Joined: 14 Jan 2005
Posts: 5

Post Re: WebGetFile Error Reply with quote

: Unfortunately the complete error cannot be seen and it is hard to say what is
: causing that without seeing the actual error message.

: By the way, have you tried using WebGetPageHTML insteda of WebGetFile? Did it
: work?

I tried using WebGetPageHTML to the same end. An error occurs and no file is generated.

What would cause the file to fail to be created?

Here is my exact script:

WebGetPageHTML( "http://salescenter.dovebid.com/leads/refreshinvoices.aspx";, &

"c:\\refreshinvoices.htm" )

This did work for about a month. I’m not sure what happened to cause it to start failing.

Rick

Fri Jan 14, 2005 6:14 pm View user's profile Send private message
Rick Boarman



Joined: 14 Jan 2005
Posts: 5

Post Re: WebGetFile Error Reply with quote

: Unfortunately the complete error cannot be seen and it is hard to say what is
: causing that without seeing the actual error message.

: By the way, have you tried using WebGetPageHTML insteda of WebGetFile? Did it
: work?

Also, it seems to be taking 5 minutes to execute and cause an error. Is there a 5 minute timeout in your code?

Rick

Fri Jan 14, 2005 6:15 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7970

Post Re: WebGetFile Error Reply with quote

I tried that link in IE and I got the following error
"Action canceled. Internet Explorer was unable to link to the Web page you requested. The page might be temporarily unavailable."

So I guess your script takes too long to run and makes your server very busy. As a matter of fact, so busy it doesn't respond to HTTP "keep alive" requests.
The best method to fix this error is to fix your server side ASPX script and web server settings.

You can also adjust the "keep alive" timeout value, but this is not a real solution.
24x7 internally uses Windows Internet functions. See http://support.microsoft.com/kb/813827 MS article on how to change the timeout. Don't forget to restart your computer after you change the timeout setting.

: I tried using WebGetPageHTML to the same end. An error occurs and no file is
: generated.

: What would cause the file to fail to be created?

: Here is my exact script: WebGetPageHTML( "
: http://salescenter.dovebid.com/leads/refreshinvoices.aspx"; ;, &

: "c:\\refreshinvoices.htm" )

: This did work for about a month. I’m not sure what happened to cause it to
: start failing.

: Rick

Fri Jan 14, 2005 7:11 pm View user's profile Send private message
Rick Boarman



Joined: 14 Jan 2005
Posts: 5

Post Re: WebGetFile Error Reply with quote

: I tried that link in IE and I got the following error
: "Action canceled. Internet Explorer was unable to link to the Web page
: you requested. The page might be temporarily unavailable."

The server is behind a firewall. The link will only work if you are on our network.

The 24x7 service is obviously on the network and has access to the server. The URL works fine if I paste it into IE and run it.

Rick

Tue Jan 18, 2005 1:46 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7970

Post Re: WebGetFile Error Reply with quote

What about "keep alive" timeout settings. Have you tried that?

: The server is behind a firewall. The link will only work if you are on our
: network.

: The 24x7 service is obviously on the network and has access to the server.
: The URL works fine if I paste it into IE and run it.

: Rick

Tue Jan 18, 2005 2:00 pm View user's profile Send private message
Rick Boarman



Joined: 14 Jan 2005
Posts: 5

Post Re: WebGetFile Error Reply with quote

I ended up deleting the job and creating it again from scratch. It’s working fine now.

I think the root issue here is that an error was occurring that was being masked or dropped by the program. It would be great if in the next version we could get a more robust way of discovering errors and different ways of handling them.

Thank you for your help.

Rick

Tue Jan 18, 2005 7:18 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7970

Post Re: WebGetFile Error Reply with quote

Rick,

An error is NOT masked or dropped. It is just in today's systems many components interact with each other in order to perform even simple functions and the root cause is not always visible/available to the end component that makes the initial call.

Believe me, deleting and recreating a job is not going to fix anything in this case. Job definition is just a bunch of text data. Recreating a job is virtually the same as deleting a piece of text from a text file then inserting the same text back.

Indeed, the reason why it seemed to help is different; you probably restarted the scheduler, restarted the system or did something else while recreating the job and that OTHER action directly or indirectly fixed the problem, or maybe fixed it just for a while.

: I ended up deleting the job and creating it again from scratch. It’s working
: fine now.

: I think the root issue here is that an error was occurring that was being
: masked or dropped by the program. It would be great if in the next version
: we could get a more robust way of discovering errors and different ways of
: handling them.

: Thank you for your help.

: Rick

Tue Jan 18, 2005 8:00 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.