[Bug 26725] New: Java: online installer fails to download files
http://bugs.winehq.org/show_bug.cgi?id=26725 Summary: Java: online installer fails to download files Product: Wine Version: 1.3.17 Platform: x86 URL: http://www.java.com/en/download/manual.jsp OS/Version: Linux Status: NEW Keywords: download, Installer Severity: minor Priority: P2 Component: wininet AssignedTo: wine-bugs(a)winehq.org ReportedBy: austinenglish(a)gmail.com Created an attachment (id=34046) --> (http://bugs.winehq.org/attachment.cgi?id=34046) +wininet Get the windows xp online installer for java and run it, then choose 'install'. The installer will give an error 403 and fail to download its files: austin(a)laptop:~$ wine jxpiinstall.exe wine: created the configuration directory '/home/austin/.wine' fixme:storage:create_storagefile Storage share mode not implemented. fixme:iphlpapi:NotifyAddrChange (Handle 0x1e6e90c, overlapped 0x1e6e8f0): stub wine: configuration in '/home/austin/.wine' has been updated. fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do! fixme:urlmon:DownloadBSC_OnProgress Unsupported status 3 fixme:urlmon:DownloadBSC_OnProgress Unsupported status 3 fixme:wininet:InternetLockRequestFile STUB fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do! ... fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do! native wininet works around it. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26725 --- Comment #1 from Austin English <austinenglish(a)gmail.com> 2012-03-29 14:17:40 CDT --- Still in wine-1.5.0-204-ga179b50 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26725 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #34046|0 |1 is obsolete| | --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2012-03-29 14:18:24 CDT --- Created attachment 39600 --> http://bugs.winehq.org/attachment.cgi?id=39600 +wininet trace Updated trace. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26725 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |brilanon(a)gmail.com --- Comment #3 from Austin English <austinenglish(a)gmail.com> 2012-05-09 04:42:43 CDT --- *** Bug 29269 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26725 --- Comment #4 from Austin English <austinenglish(a)gmail.com> 2012-05-09 04:43:10 CDT --- Still in wine-1.5.3-217-g1f3d99a. Native wininet works around it. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26725 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |30630 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26725 Qian Hong <fracting(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26725 ocean04(a)suomi24.fi changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ocean04(a)suomi24.fi --- Comment #5 from ocean04(a)suomi24.fi --- Still in wine-1.7.21-61-gf9f3b21 jre-7u60-windows-i586-iftw.exe -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=26725 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net Summary|Java: online installer |Oracle Java online |fails to download files |bootstrapper fails to | |download full installer, | |reporting 'error 403 - | |forbidden' --- Comment #6 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, confirming. Download: http://download.oracle.com/otn-pub/java/jdk/7u71-b14/jre-7u71-windows-i586-i... The bootstrapper makes a bunch of HEAD requests to figure out the state of the package (where it exists). On the way to the final destination (tm), the server changes. --- snip --- 0041:Call wininet.InternetConnectA(00000001,005d36cc "javadl.oracle.com",00000050,00000000,00000000,00000003,00000000,00000000) ret=00414888 ... 0041:Ret wininet.InternetConnectA() retval=00000002 ret=00414888 ... 0041:Call wininet.HttpOpenRequestA(00000002,004372a0 "HEAD",005d37cc "/webapps/download/GetFile/1.7.0_71-b14/windows-i586/jre1.7.0_71-c.msi",004372a8 "HTTP/1.1",004351c0 "",00000000,04400000,00000000) ret=0041491b ... 0041:trace:wininet:HTTP_HttpSendRequestW Going to url L"javadl.oracle.com" L"/webapps/download/GetFile/1.7.0_71-b14/windows-i586/jre1.7.0_71-c.msi" ... 0041:trace:wininet:HTTP_HttpSendRequestW Going to url L"javadl.oracle.com" L"/webapps/download/AutoDL?BundleId=97811" ... 0041:trace:wininet:HTTP_HttpSendRequestW Going to url L"sdlc-esd.sun.com" L"/ESD6/JSCDL/jdk/7u71-b14/jre/jre1.7.0_71-c.msi?AuthParam=1421447042_f2335ab341435899bdd8edc8b5a286ad&GroupName=JSC&FilePath=/ESD6/JSCDL/jdk/7u71-b14/jre/jre1.7.0_71-c.msi&File=jre1.7.0_71-c.msi&BHost=javadl.sun.com" ... 0041:Call wininet.HttpOpenRequestA(00000002,0043804c "GET",005d37cc "/webapps/download/GetFile/1.7.0_71-b14/windows-i586/jre1.7.0_71-c.msi",004372a8 "HTTP/1.1",004351c0 "",00000000,04400000,00000000) ret=00414aa5 0041:trace:wininet:HttpOpenRequestA (0x2, "GET", "/webapps/download/GetFile/1.7.0_71-b14/windows-i586/jre1.7.0_71-c.msi", "HTTP/1.1", "", (nil), 04400000, 00000000) ... 0041:trace:wininet:HTTP_ProcessHeader --> L"Host": L"sdlc-esd.sun.com" - 0x22000000 0041:trace:wininet:HTTP_InsertCustomHeader --> L"Host": L"sdlc-esd.sun.com" ... 0041:trace:wininet:HTTP_HttpSendRequestW Going to url L"sdlc-esd.sun.com" L"/webapps/download/GetFile/1.7.0_71-b14/windows-i586/jre1.7.0_71-c.msi" ... 0041:trace:wininet:HTTP_HttpSendRequestW Request header -> L"GET /webapps/download/GetFile/1.7.0_71-b14/windows-i586/jre1.7.0_71-c.msi HTTP/1.1\r\nHost: sdlc-esd.sun.com\r\nUser-Agent: JAVACLIENT\r\nConnection: Keep-Alive\r\n\r\n" ... 0041:Call user32.MessageBoxA(00010020,008de208 "There was an error downloading Java to your machine.\nThere may be proxy, firewall, or other network issues causing an HTTP Error 403.\nPlease refer to http://java.com/error403",008de608 "Error - Java Installer",00000040) ret=0041455f --- snip --- Wireshark TCP stream capture to show it better. HEAD requests: --- snip --- HEAD /webapps/download/GetFile/1.7.0_71-b14/windows-i586/jre1.7.0_71-c.msi HTTP/1.1 Host: javadl.oracle.com Content-Length: 0 User-Agent: JAVACLIENT Cache-Control: no-cache Connection: Keep-Alive HTTP/1.1 302 Moved Temporarily Server: Sun Java System Web Server 6.1 Date: Fri, 16 Jan 2015 22:43:08 GMT Content-length: 0 Content-type: text/html Location: http://javadl.oracle.com/webapps/download/AutoDL?BundleId=97811 Connection: close ===== HEAD /webapps/download/AutoDL?BundleId=97811 HTTP/1.1 User-Agent: JAVACLIENT Cache-Control: no-cache Host: javadl.oracle.com Connection: Keep-Alive HTTP/1.1 302 Moved Temporarily Server: Sun Java System Web Server 6.1 Date: Fri, 16 Jan 2015 22:43:08 GMT Content-length: 0 Content-type: text/html Location: http://sdlc-esd.sun.com/ESD6/JSCDL/jdk/7u71-b14/jre/jre1.7.0_71-c.msi?AuthPa... Connection: close ===== HEAD /ESD6/JSCDL/jdk/7u71-b14/jre/jre1.7.0_71-c.msi?AuthParam=1421448310_39d1d865451721e62a0c7726324877db&GroupName=JSC&FilePath=/ESD6/JSCDL/jdk/7u71-b14/jre/jre1.7.0_71-c.msi&File=jre1.7.0_71-c.msi&BHost=javadl.sun.com HTTP/1.1 User-Agent: JAVACLIENT Cache-Control: no-cache Host: sdlc-esd.sun.com Connection: Keep-Alive HTTP/1.1 200 OK Server: Apache ETag: "f2a0e48bd44797d4e158bff873bef249:1412012718" Last-Modified: Sat, 27 Sep 2014 03:03:14 GMT Accept-Ranges: bytes Content-Length: 25066739 Content-Type: text/plain Expires: Fri, 16 Jan 2015 22:43:10 GMT Cache-Control: max-age=0, no-cache Pragma: no-cache Date: Fri, 16 Jan 2015 22:43:10 GMT Connection: keep-alive --- snip --- Ok, found the final location. Now, starting the whole enchilada with 'GET' request(s) again: --- snip --- GET /webapps/download/GetFile/1.7.0_71-b14/windows-i586/jre1.7.0_71-c.msi HTTP/1.1 Host: sdlc-esd.sun.com User-Agent: JAVACLIENT Connection: Keep-Alive HTTP/1.1 403 Forbidden Server: AkamaiGHost Mime-Version: 1.0 Content-Type: text/html Content-Length: 176 Expires: Fri, 16 Jan 2015 22:43:10 GMT Cache-Control: max-age=0, no-cache Pragma: no-cache Date: Fri, 16 Jan 2015 22:43:10 GMT Connection: keep-alive <HTML><HEAD><TITLE>Error</TITLE></HEAD><BODY> An error occurred while processing your request.<p> Reference #50.32ee9c3e.1421448190.16162c54 </BODY></HTML> --- snip --- The 'GET' request re-uses the last server encountered when the 'HEAD' requests successfully resolved to final location. This is incorrect. It has to start with the server again that was used to initiate the connection -> 'javadl.oracle.com'. $ sha1sum jre-7u71-windows-i586-iftw.exe bce44de8b65b173c5f133dd366da956dcd6b3372 jre-7u71-windows-i586-iftw.exe $ du -sh jre-7u71-windows-i586-iftw.exe 916K jre-7u71-windows-i586-iftw.exe $ wine --version wine-1.7.34-74-gcf92569 Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=26725 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx(a)gmail.com, | |super_man(a)post.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=26725 Wylda <wylda(a)volny.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda(a)volny.cz --- Comment #7 from Wylda <wylda(a)volny.cz> --- Still in wine-1.9.12 & jre-7u71-windows-i586-iftw.exe. In current JRE (jre-8u91-windows-i586-iftw.exe) you hit bug 40821. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org