I've changed my IP address. I have tried switching from TwitterVB to Twiterizer. I've triple checked the credentials. And I'm getting the same 401 error ONLY on my host (m6.net). Does anyone have a suggestion?
On Apr 25, 7:42 am, The World Connection <nathan.poeppel...@gmail.com> wrote: > It's weird. It worked on my old host and it works fine on my > developer PC. I did change the IP of the website and that did not > help. I'm having my current host (M6.net) investigate, but currently I > am stumped. > > The following is the error description > > Thanks! > > The remote server returned an error: (401) Unauthorized. > > Description: An unhandled exception occurred during the execution of > the current web request. Please review the stack trace for more > information about the error and where it originated in the code. > > Exception Details: System.Net.WebException: The remote server returned > an error: (401) Unauthorized. > > Source Error: > > An unhandled exception was generated during the execution of the > current web request. Information regarding the origin and location of > the exception can be identified using the exception stack trace below. > > Stack Trace: > > [WebException: The remote server returned an error: (401) > Unauthorized.] > System.Net.HttpWebRequest.GetResponse() +5375213 > TwitterVB2.TwitterOAuth.WebRequest(Method RequestMethod, String > Url, String PostData) +351 > > [TwitterAPIException: Exception of type 'TwitterAPIException' was > thrown.] > TwitterVB2.TwitterOAuth.WebRequest(Method RequestMethod, String > Url, String PostData) +832 > TwitterVB2.TwitterOAuth.OAuthWebRequest(Method RequestMethod, > String url, String PostData) +563 > TwitterVB2.TwitterOAuth.GetAuthenticationLink() +33 > TwitterVB2.TwitterAPI.GetAuthenticationLink(String ConsumerKey, > String ConsumerKeySecret, String CallbackUrl) +56 > Research_Twitter.Button1_Click(Object sender, EventArgs e) +297 > System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111 > System.Web.UI.WebControls.Button.RaisePostBackEvent(String > eventArgument) +110 > > System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaiseP > ostBackEvent(String > eventArgument) +10 > System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler > sourceControl, String eventArgument) +13 > System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) > +36 > System.Web.UI.Page.ProcessRequestMain(Boolean > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) > +1565 > > On Apr 19, 12:09 pm, Matt Harris <mhar...@twitter.com> wrote: > > > > > > > > > HiNathan, > > > So we can help diagnose the problem could you inspect the response body > > that comes back from your request to the API. > > > It contains an explanation of why the401is being returned and let's us know > > how to proceed. > > > Best > > @themattharris > > > On Apr 19, 2011, at 11:17, The World Connection > > <nathan.poeppel...@gmail.com> wrote: > > > > I'm using TwitterVB and for some reason in the last week I've been > > > receiving the following error. > > > > The remote server returned an error: (401) Unauthorized. > > > > I'm using the following code structure. > > >http://twittervb.codeplex.com/wikipage?title=OAuth%20Web%20Tutorial > > > > Nothing changed. I've tried to reset my customer key/secret, that > > > didn't work. I've tried to recreate the app, that didn't work. > > > > Do I have to wait for a propagation time period? > > > Does Twitter restrict IP addresses? My website is sitting on a host. > > > > Any ideas? > > > > Thanks! > > > >Nathan > > > > -- > > > Twitter developer documentation and resources:http://dev.twitter.com/doc > > > API updates via Twitter:http://twitter.com/twitterapi > > > Issues/Enhancements > > > Tracker:http://code.google.com/p/twitter-api/issues/list > > > Change your membership to this > > > group:http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk