|
|
|
|
Customers Important Contributors GenoPro version: 2.5.4.0
Last Login: Thursday, April 11, 2013
Posts: 484,
Visits: 4,438
|
On first attemt to send the GNO file I received the following messageConnecting to GenoPro web site... Uploading file 'test.gno' to account 'poolzone'... Unable get HTTP response info (error 12019:0)
Being uncertain if the transmission was receved, I ried again and received this message Connecting to GenoPro web site... Uploading file 'test.gno' to account 'GenoProSupport'... Unable get HTTP response info (error 12019:0) The file already exist. (HyperData Error 105: OkFileExist) Please note these error messages are actually from two different SENDS, one to Genprosupport and one to myself.
Poolzone a mere cog in a revolution
Edited: Thursday, June 28, 2007 by
GenoProSupport
|
|
|
|
|
Administrators Moderators Translator GenoPro version: 2.5.4.1
Last Login: Yesterday @ 5:58 PM
Posts: 5,106,
Visits: 18,431
|
The error 12019 is named ERROR_INTERNET_INCORRECT_HANDLE_STATE which means a corruption during the transmission. See post Photo don't upload properly for details.GenoPro Beta 18e displays the "error" OkFileExist if you are uploading the same filename twice because we have upgraded the server and Beta 18e is not aware of this feature. If you have Beta 18f or later, you should not see this message. By the way, I received your file test.gno and able to reproduce the bug. I am working on it.
Edited: Saturday, December 09, 2006 by
GenoProSupport
|
|
|
|
|
Customers Important Contributors GenoPro version: 2.5.4.0
Last Login: Thursday, April 11, 2013
Posts: 484,
Visits: 4,438
|
I continue to get the following errors when trying to upload to Genopr server from Genopro Publishing report to http://familytrees.genopro.com/poolzone@optusnet.com.au/history/
Connecting to server familytrees.genopro.com... Unable get HTTP response info (error 12019:0) The option 'Resume / Update Report' is enabled - any existing output file will be skipped! Cloning document test... Opening configuration file Config.xml for skin '\Customized English Narrative Report20c\* (English Narrative Report)'... Validating picture cache...This error can occur several times and usually fails to upload the file that follows. Microsoft says the error is as follows: BUG: Error 12019 When Calling InternetWriteFile View products that this article applies to. Article ID : 177190 Last Review : August 28, 1999 Revision : 1.0 This article was previously published under Q177190 SYMPTOMS When HttpSendRequestEx is used, error 12019 ERROR_INTERNET_INCORRECT_HANDLE_STATE may be returned by InternetWriteFile. Back to the top RESOLUTION This can be avoided by specifying INTERNET_FLAG_NO_CACHE_WRITE in the call to HttpOpenRequest. Here's an example: HINTERNET hRequest = HttpOpenRequest(hConnect, "POST", "servername", NULL, NULL, NULL, INTERNET_FLAG_NO_CACHE_WRITE, 0); |
at http://support.microsoft.com/kb/177190 The bug occurs irrespective of line state. Is ther some way of overcomig this bug? It has been about now for a long time.
Poolzone a mere cog in a revolution
Edited: Thursday, December 07, 2006 by
GenoProSupport
|
|
|
|
|
Administrators Moderators Translator GenoPro version: 2.5.4.1
Last Login: Yesterday @ 5:58 PM
Posts: 5,106,
Visits: 18,431
|
Thanks for your suggestion. GenoPro Beta uses two set of flags, one for a "GET" and another for a "POST" operation. enum OPEN_REQUEST_HTTP_ENUM { eOpenRequestHttpPost = INTERNET_FLAG_KEEP_CONNECTION, eOpenRequestHttpGet = INTERNET_FLAG_KEEP_CONNECTION | INTERNET_FLAG_NO_COOKIES | INTERNET_FLAG_RELOAD | INTERNET_FLAG_RESYNCHRONIZE | INTERNET_FLAG_NO_CACHE_WRITE | INTERNET_FLAG_PRAGMA_NOCACHE, }; |
I have changed to the following: | eOpenRequestHttpPost = INTERNET_FLAG_KEEP_CONNECTION | INTERNET_FLAG_NO_CACHE_WRITE | INTERNET_FLAG_PRAGMA_NOCACHE |
I will need to test this change to see if everything works fine.
Edited: Thursday, December 07, 2006 by
GenoProSupport
|
|
|
|
|
Administrators Moderators Translator GenoPro version: 2.5.4.1
Last Login: Yesterday @ 5:58 PM
Posts: 5,106,
Visits: 18,431
|
GenoPro Beta 20e has the fix. Let me know if you still have those "session lost" errors.
Edited: Friday, December 08, 2006 by
GenoProSupport
|
|
|
|
|
Customers Important Contributors GenoPro version: 2.5.4.0
Last Login: Thursday, April 11, 2013
Posts: 484,
Visits: 4,438
|
We were travelling well until about the 70 minute mark[6883.81] Processing template 'place.htm'... Unable get HTTP response info (error 12019:0) [7100.20] Processing template 'source.htm'... [7123.11] Processing template 'picture.htm'... [7529.40] Processing template 'contacts.htm'... [7529.81] Processing template 'places.htm'... [7534.39] Processing template 'pictures.htm'... [7540.36] Processing template 'popup.htm'... [7540.76] Processing template 'sources.htm'... Generated and written 16475 pages in 7541.516 seconds average performance of 2.18 pages per second [7541.57] Writing extra file 'FamilyTree.xml'... [7574.01] Unable to write file 'FamilyTree.xml'. Error: Unable get HTTP response info (error 12019:0) Unable get HTTP response info (error 12019:0) 1 errors encountered while generating report! [7614.70] Writing files from skin... [7668.29] Writing pictures to report (1004)... [7847.34] Report Ready! Click on the "Close" button to continue.
Using v2beta20e English Narrative Report, on ADSL2+ modem , no wireless or router, from laptop running XP Pro with all updates. This error has ALWAYS occurred when writing the XML file, and also on the Place.htm file. NB I had not deleted the directory, merely overwritten it.
Poolzone a mere cog in a revolution
Edited: Saturday, December 09, 2006 by
GenoProSupport
|
|
|
|
|
Administrators Moderators Translator GenoPro version: 2.5.4.1
Last Login: Yesterday @ 5:58 PM
Posts: 5,106,
Visits: 18,431
|
First, thank you for your feedback. I looked at the code and had the following insights:1. You published for 70 minutes without problems. According to the logs, you uploaded 16,596 files. I have to conclude that the publisher protocol does work and the error is not a general problem but something specific to a particular situation. You specified "This error has ALWAYS occurred when writing the XML file". 2. On the server, the maximum HTTP request size is 100 MB. This should not be a problem because the size of your FamilyTree.xml is about 8 MB. I generated reports with XML files over 50 MB and it worked well. I think there is another server threshold for compressed data, however I don't think this will be an issue. My brother Jean-Claude will look at it today. Maybe this is why the server returns an error only when uploading. 3. The error Unable get HTTP response info (error 12019:0) is generated from the following code: BOOL fSuccess = HttpSendRequest(hRequest, "Accept-Encoding: gzip", -1, IN (void *)pvData, cbData); if (!fSuccess) { // Code handling errors have been removed for clarity } DWORD dwStatus = 0; DWORD cbBufferLength = sizeof(dwStatus); fSuccess = HttpQueryInfo(hRequest, HTTP_QUERY_STATUS_CODE | HTTP_QUERY_FLAG_NUMBER, OUT &dwStatus, INOUT &cbBufferLength, NA);if (!fSuccess) { // Something went wrong, so set the generic error DWORD err = ::GetLastError(); // Get the last error from HttpQueryInfo() // Do our best to format a meaningful error message from this unusual situation pError->FormatError("Unable get HTTP response info (error %d:%d)", err, dwStatus); return err; } // Code processing the data when the HTTP response is HTTP_STATUS_OK (200) return ERROR_SUCCESS; |
In any regards, there should always be an HTTP response if the HTTP request was sent successfully. The function HttpQueryInfo may returns FALSE only if there has been no HTTP request sent, otherwise it should return TRUE and put the HTTP status code (200, 404, 500) in dwStatus. In plain English, this means GenoPro sends an HTTP request with success, but fails to receive to receive an HTTP response. This bug has nothing to do with GenoPro's report generator, but with either the ISP or the server GenoPro.com handling the HTTP requests. If sending an HTTP request is successful, then there must be some HTTP response (200, 404, 500). The code above is working because GenoPro uploaded the first 16,475 files of your report without a problem. Somehow GenoPro failed to get the HTTP response when uploading file FamilyTree.xml. The error code 12019 is named ERROR_INTERNET_INCORRECT_HANDLE_STATE which means a corruption during the transmission. Somehow the HTTP response got lost while transmitting FamilyTree.xml, perhaps because the file was too large or some timeout occurred. What is interesting however is the session remained valid, and GenoPro uploaded the remaining of the report, including one thousand pictures.
Edited: Thursday, June 28, 2007 by
GenoProSupport
|