I don't have any idea why, but I have all of a sudden been given the follow error for all of my blogs (on the same site):
An invalid IP address was specified.
I have been posting without incident for some time now. About 2 weeks ago, I moved my site from one web host to another, which involved a new IP address. However, like I said, I have been posting fine since then - averaging one post per day.
I managed to find the log file for WLW. Here is the stack trace from my error:
WindowsLiveWriter,4248,Fail,00010,25-Aug-2009 20:46:02.718,"System.FormatException: An invalid IP address was specified. at WindowsLive.Writer.BlogClient.BlogClientBase.CreateAuthenticatedCredential() at WindowsLive.Writer.BlogClient.BlogClientBase.Login() at WindowsLive.Writer.BlogClient.Clients.XmlRpcBlogClient.CreateCredentialsFilter(String requestUri) at WindowsLive.Writer.BlogClient.Clients.XmlRpcBlogClient.SendAuthenticatedHttpRequest(String requestUri, Int32 timeoutMs, HttpRequestFilter filter) at WindowsLive.Writer.BlogClient.Detection.BlogSettingsDetector.ExecuteHttpRequest(String requestUri, Int32 timeoutMs, HttpRequestFilter filter) at WindowsLive.Writer.BlogClient.Detection.LazyHomepageDownloader.get_RawBytes()"," at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.get_StackTrace() at WindowsLive.Writer.CoreServices.Diagnostics.LogFileTraceListener.Fail(String message) at System.Diagnostics.TraceInternal.Fail(String message) at System.Diagnostics.Trace.Fail(String message) at WindowsLive.Writer.BlogClient.Detection.LazyHomepageDownloader.get_RawBytes() at WindowsLive.Writer.BlogClient.Detection.LazyHomepageDownloader.get_HtmlDocument() at WindowsLive.Writer.BlogClient.Detection.WriterEditingManifest.ScanHomepageContentsForManifestLink(Uri homepageUri, LazyHomepageDownloader homepageDownloader) at WindowsLive.Writer.BlogClient.Detection.WriterEditingManifest.FromHomepage(LazyHomepageDownloader homepageDownloader, Uri homepageUri, IBlogClient blogClient, IBlogCredentialsAccessor credentials) at WindowsLive.Writer.BlogClient.Detection.BlogSettingsDetector.SafeDownloadEditingManifest() at WindowsLive.Writer.BlogClient.Detection.BlogSettingsDetector.DetectSettings(IProgressHost progressHost) at WindowsLive.Writer.PostEditor.ServiceUpdateChecker.Main() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()" WindowsLiveWriter,4248,None,00011,25-Aug-2009 20:46:03.312,"Error while refreshing local cab resource cache. System.FormatException: An invalid IP address was specified. at System.Net.IPAddress.InternalParse(String ipString, Boolean tryParse) at System.Net.NetworkInformation.IpAddrString.ToIPAddressCollection() at System.Net.NetworkInformation.SystemIPGlobalProperties.GetFixedInfo() at System.Net.NetworkInformation.SystemIPGlobalProperties.get_FixedInfo() at System.Net.NetworkInformation.SystemIPGlobalProperties.get_HostName() at System.Net.NclUtilities.GuessWhetherHostIsLoopback(String host) at System.Net.ServicePoint.get_ConnectionLimit() at System.Net.ConnectionGroup..ctor(ServicePoint servicePoint, String connName) at System.Net.ServicePoint.FindConnectionGroup(String connName, Boolean dontCreate) at System.Net.ServicePoint.SubmitRequest(HttpWebRequest request, String connName) at System.Net.HttpWebRequest.SubmitRequest(ServicePoint servicePoint) at System.Net.HttpWebRequest.GetResponse() at WindowsLive.Writer.CoreServices.HttpRequestHelper.SendRequest(String requestUri, HttpRequestFilter filter) at WindowsLive.Writer.CoreServices.HttpRequestHelper.SafeSendRequest(String requestUri, HttpRequestFilter filter) at WindowsLive.Writer.CoreServices.ResourceDownloading.LocalCabResourceCache.SafeDownloadUrl(String url, Int32 timeoutMs, Uri& responseUri) at WindowsLive.Writer.CoreServices.ResourceDownloading.LocalCabResourceCache.DownloadCab(Int32 timeoutMs) at WindowsLive.Writer.CoreServices.ResourceDownloading.LocalCabResourceCache.Refresh(Int32 timeoutMs, Boolean onlyIfNecessary)","" WindowsLiveWriter,4248,None,00012,25-Aug-2009 20:46:04.015,"Error while refreshing local cab resource cache. System.FormatException: An invalid IP address was specified. at System.Net.IPAddress.InternalParse(String ipString, Boolean tryParse) at System.Net.NetworkInformation.IpAddrString.ToIPAddressCollection() at System.Net.NetworkInformation.SystemIPGlobalProperties.GetFixedInfo() at System.Net.NetworkInformation.SystemIPGlobalProperties.get_FixedInfo() at System.Net.NetworkInformation.SystemIPGlobalProperties.get_HostName() at System.Net.NclUtilities.GuessWhetherHostIsLoopback(String host) at System.Net.ServicePoint.get_ConnectionLimit() at System.Net.ConnectionGroup..ctor(ServicePoint servicePoint, String connName) at System.Net.ServicePoint.FindConnectionGroup(String connName, Boolean dontCreate) at System.Net.ServicePoint.SubmitRequest(HttpWebRequest request, String connName) at System.Net.HttpWebRequest.SubmitRequest(ServicePoint servicePoint) at System.Net.HttpWebRequest.GetResponse() at WindowsLive.Writer.CoreServices.HttpRequestHelper.SendRequest(String requestUri, HttpRequestFilter filter) at WindowsLive.Writer.CoreServices.HttpRequestHelper.SafeSendRequest(String requestUri, HttpRequestFilter filter) at WindowsLive.Writer.CoreServices.ResourceDownloading.LocalCabResourceCache.SafeDownloadUrl(String url, Int32 timeoutMs, Uri& responseUri) at WindowsLive.Writer.CoreServices.ResourceDownloading.LocalCabResourceCache.DownloadCab(Int32 timeoutMs) at WindowsLive.Writer.CoreServices.ResourceDownloading.LocalCabResourceCache.Refresh(Int32 timeoutMs, Boolean onlyIfNecessary)",""
It would appear that any interaction with my site is met with the same error.
Awesome! This is finally fixed. As my previous post eluded to, there was an IP number that was not coming back correctly. This turned out to be a corrupted DNS entry. I solved it by removing all DNS servers (IPv4 and IPv6), and then flushing the DNS. Here are example DOS commands for removing the DNS entries:
For IPv4: netsh interface ip delete dns "Connection Name" [IP_Number] netsh interface ip delete dns "Connection Name" all
For IPv6: netsh interface ipv6 delete dns "Connection Name" [IPv6_Number] netsh interface ipv6 delete dns "Connection Name" all
Unfortunately, there are three DNS entries that will always be in the DNS list for IPv6: fec0:0:0:ffff::1 fec0:0:0:ffff::2 fec0:0:0:ffff::3
These are internal DNS pointers, and are not actually found in your network or outside of your network.
Just execute the appropriate commands from above, and flush your DNS. (However, I had to wait for my DNS to completely reload itself.) Here is a command for flushing your DNS:
ipconfig /flushdns
Marked as answer byhismightinessThursday, August 27, 2009 1:19 PM
Try adding your blog to Live Writer again. Note, you don't have to remove the current instance of your blog from Live Writer, just add it as a "second" blog. Maybe something has got screwed up in the settings and re-adding it might get it to refresh itself.SL - Windows Live Platform MVP
If my post has answered your question, please mark it as an answer.
I tried that, and get the same error message. I also just tried connecting to a blog that I have never before used WLW for, and it gave me the same friggin error. I am beyond frustrated at this point.
I tried that, and get the same error message. I also just tried connecting to a blog that I have never before used WLW for, and it gave me the same friggin error. I am beyond frustrated at this point.
With some help from someone, I have been able to determine that this is not an issue specifically with WLW, but with the underlying .Net framework. One of my IP addresses are causing the .Net framework to bomb. It's value when the code bombs is: "??o\f???"
Awesome! This is finally fixed. As my previous post eluded to, there was an IP number that was not coming back correctly. This turned out to be a corrupted DNS entry. I solved it by removing all DNS servers (IPv4 and IPv6), and then flushing the DNS. Here are example DOS commands for removing the DNS entries:
For IPv4: netsh interface ip delete dns "Connection Name" [IP_Number] netsh interface ip delete dns "Connection Name" all
For IPv6: netsh interface ipv6 delete dns "Connection Name" [IPv6_Number] netsh interface ipv6 delete dns "Connection Name" all
Unfortunately, there are three DNS entries that will always be in the DNS list for IPv6: fec0:0:0:ffff::1 fec0:0:0:ffff::2 fec0:0:0:ffff::3
These are internal DNS pointers, and are not actually found in your network or outside of your network.
Just execute the appropriate commands from above, and flush your DNS. (However, I had to wait for my DNS to completely reload itself.) Here is a command for flushing your DNS:
ipconfig /flushdns
Marked as answer byhismightinessThursday, August 27, 2009 1:19 PM