ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > DcUpdater

Dcupdater problems - v1.23.01?

(1/3) > >>

owenduffy:
Another problem:

DCUpdater does not follow a redirect returned by the web server when fetching the dcupdate.xml file.

In view of the very long time that other bugs have existed, there is no rush to fix this one, I will remove dcupdate support from my apps over the coming days.

Owen

Log:

Attempting to download 'http://www.vk1od.net/nfm/dcupdate.xml' as 'C:\DOCUME~1\owen\LOCALS~2\Temp\32B.tmp'.
Queued download of 'http://www.vk1od.net/nfm/dcupdate.xml' as 'C:\DOCUME~1\owen\LOCALS~2\Temp\32B.tmp'.
Nfm: Completed download of C:\DOCUME~1\owen\LOCALS~2\Temp\32B.tmp (0k).
ERROR: Config File 'C:\DOCUME~1\owen\LOCALS~2\Temp\32B.tmp' could not be loaded by TinyXml lib - Error reading end tag.
Nfm: get version failed

mouser:
owen, can you send me your dcupdate file (or program) and ill see if i can't get redirect options working.  if you send me what you think are the important bugfixes i can try to get them done this week as well. ([email protected])

owenduffy:
owen, can you send me your dcupdate file (or program) and ill see if i can't get redirect options working.  if you send me what you think are the important bugfixes i can try to get them done this week as well. ([email protected])
-mouser (February 15, 2009, 02:59 AM)
--- End quote ---

Mouser,

The dcupdate file is at the URL in the log message in my earlier post... but that URL is redirected to another URL. If you click on the link it will take you to the redirected URL. It seems that DCUpdater issues a request to fetch the contents at the URL in the config files without allowing / processing redirects.

Owen

mouser:
we should probably continue this discussion over email, but one thing that is important for me to know is if you've just manually put up a redirect html page, or whether you have told the webserver to send a 301 return code for an official redirect.

i ask because the downloader should follow the redirect if it gets a proper 301 status code reply from the web server.

owenduffy:
we should probably continue this discussion over email, but one thing that is important for me to know is if you've just manually put up a redirect html page, or whether you have told the webserver to send a 301 return code for an official redirect.

i ask because the downloader should follow the redirect if it gets a proper 301 status code reply from the web server.
-mouser (February 15, 2009, 04:40 AM)
--- End quote ---

As advised in email, the Apache web server is performing a redirection as a result of a redirect directive.

Here is a curl of the URL:

C:\>curl -i vk1od.net/nfm/dcupdate.xml
HTTP/1.1 301 Moved Permanently
Date: Mon, 16 Feb 2009 03:28:48 GMT
Server: Apache
Location: http://www.vk1od.net/software/nfm/dcupdate.xml
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>301 Moved Permanently</TITLE>
</HEAD><BODY>
<H1>Moved Permanently</H1>
The document has moved <A HREF="http://www.vk1od.net/software/nfm/dcupdate.xml">
here</A>.<P>
<HR>
<ADDRESS>Apache/1.3.33 Server at vk1od.net Port 80</ADDRESS>
</BODY></HTML>

But, to stress, I did not write this HTTP/HTML, it is created by the web server in response to a redirect directive.

I would expect most objects that open a URL will follow a redirect silently by default.

I open another xml file in the same folder using a VB control, and it works fine.

Owen

Navigation

[0] Message Index

[#] Next page

Go to full version