Bug 14992 - apple-doc-wizard throws "System.Net.WebException: The remote server returned an error: (404) Not Found."
Summary: apple-doc-wizard throws "System.Net.WebException: The remote server returned ...
Status: RESOLVED UPSTREAM
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: 6.9.8.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Jose Miguel Torres
URL:
Depends on:
Blocks:
 
Reported: 2013-09-25 15:43 UTC by Jose Miguel Torres
Modified: 2013-11-22 05:02 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED UPSTREAM

Description Jose Miguel Torres 2013-09-25 15:43:48 UTC
When the XCode 5 it's installed and the apple-doc-wizard is launched it tries to download the doc set 7.0 version from the following feed: https://developer.apple.com/rss/com.apple.adc.documentation.AppleiPhone7.0.atom 

However Apple didn't update it yet. 

Example log gathered from the mtbserver.log:

[2013-09-22 21:01:40.9] Apple SDK developer root: /Applications/Xcode.app/Contents/Developer
[2013-09-22 21:01:40.9] Server IP Address : 10.8.8.137
[2013-09-22 21:01:41.3] Handling with command: [Info: CommmandUrl=Info] (9)
[2013-09-22 21:01:41.3] Attempting to acquire command execution lock, timeout set to 00:10:00
[2013-09-22 21:01:41.4] Starting /Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" --listdev
[2013-09-22 21:01:42.4] Starting /Developer/MonoTouch/usr/bin/mtouch --version
[2013-09-22 21:01:42.9] stdout: mtouch 7.0.0.11 (aa35ba3)
[2013-09-22 21:01:43.0]
[2013-09-22 21:01:43.0] Starting /Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" --entitlements
[2013-09-22 21:01:43.8] stdout: bf9da8fd2b67c2bfd65daa1b784b7d02f4e41e51 MonoTouch Business 2014-03-20T05:17:41
[2013-09-22 21:01:43.8]
[2013-09-22 21:01:43.9] Command [Info: CommmandUrl=Info] finished (9)
[2013-09-22 21:01:43.9] Handling with command: [Info: CommmandUrl=Info] (9)
[2013-09-22 21:01:43.9] Attempting to acquire command execution lock, timeout set to 00:10:00
[2013-09-22 21:01:43.9] Starting /Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" --listdev
[2013-09-22 21:01:44.3] Handling with command: [StatusSdk: CommmandUrl=StatusSdk] (10)
[2013-09-22 21:01:44.3] Attempting to acquire command execution lock, timeout set to 00:10:00
[2013-09-22 21:01:44.9] Starting /Developer/MonoTouch/usr/bin/mtouch --version
[2013-09-22 21:01:45.4] stdout: mtouch 7.0.0.11 (aa35ba3)
[2013-09-22 21:01:45.5]
[2013-09-22 21:01:45.5] Starting /Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" --entitlements
[2013-09-22 21:01:46.3] stdout: bf9da8fd2b67c2bfd65daa1b784b7d02f4e41e51 MonoTouch Business 2014-03-20T05:17:41
[2013-09-22 21:01:46.3]
[2013-09-22 21:01:46.3] Command [Info: CommmandUrl=Info] finished (9)
[2013-09-22 21:02:16.7] monotouch.xml
[2013-09-22 21:02:16.7] OpenTK.xml
[2013-09-22 21:02:16.8] MonoTouch.Dialog-1.xml
[2013-09-22 21:02:17.2] MonoTouch.NUnitLite.xml
[2013-09-22 21:02:17.2] NamespaceSummaries.xml
[2013-09-22 21:02:20.3] Using https://developer.apple.com/rss/com.apple.adc.documentation.AppleiPhone6.1.atom
[2013-09-22 21:02:20.5] Warning: Fail to find installed version documentation path.
[2013-09-22 21:02:20.6] Apple Docs need to be updated.
[2013-09-22 21:02:20.6] Command [StatusSdk: CommmandUrl=StatusSdk] finished (10)
[2013-09-22 21:02:25.6] Handling with command: [UpdateDoc: CommmandUrl=UpdateDoc] (9)
[2013-09-22 21:02:25.6] Attempting to acquire command execution lock, timeout set to 00:10:00
[2013-09-22 21:02:25.6] Launched process
[2013-09-22 21:02:25.6] Command [UpdateDoc: CommmandUrl=UpdateDoc] finished (9)
[2013-09-22 21:02:28.0] Downloading Apple docs from System.Net.WebException: The remote server returned an error: (404) Not Found.
[2013-09-22 21:02:28.0] at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0
[2013-09-22 21:02:28.0] at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0
[2013-09-22 21:02:28.0] System.NullReferenceException: Object reference not set to an instance of an object
[2013-09-22 21:02:28.0] at <InteractiveExpressionClass>.Host (System.Object& $retval) [0x00000] in <filename unknown>:0
[2013-09-22 21:02:28.0] at Mono.CSharp.Evaluator.Evaluate (System.String input, System.Object& result, System.Boolean& result_set) [0x00000] in <filename unknown>:0
[2013-09-22 21:02:28.0] at Mono.CSharpShell.Evaluate (System.String input) [0x00000] in <filename unknown>:0 to /tmp/com.apple.adc.documentation.AppleiOS7.0.iOSLibrary.xar
Comment 2 Jose Miguel Torres 2013-11-22 05:02:43 UTC
This bug has been fixed with the newer version of apple-doc-wizard which is deployed on xamarin.ios 7.0.4. Hence closing it.