Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Strange behaviour with Twitter
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tomasz JASKULA  
View profile  
 More options Jul 12 2012, 12:16 pm
From: Tomasz JASKULA <thomasv1...@hotmail.fr>
Date: Thu, 12 Jul 2012 18:16:23 +0200
Local: Thurs, Jul 12 2012 12:16 pm
Subject: Strange behaviour with Twitter

Hi guys,

I'm facing some strange problem with twitter authentication that I've
implemented into my web site with DotNetOpenAuth v4.1.0.0. From time to
time I get *System.ArgumentException*

*'gzip' is not a supported encoding name.*
*Parameter name: name*

With the following stacktrace (my code calls excluded) :

at System.Globalization.EncodingTable.internalGetCodePageFromName(String
name)
   at System.Globalization.EncodingTable.GetCodePageFromName(String name)
   at DotNetOpenAuth.Messaging.NetworkDirectWebResponse.GetResponseReader()
   at
DotNetOpenAuth.OAuth.ChannelElements.OAuthChannel.ReadFromResponseCore(Inco mingWebResponse
response)
   at DotNetOpenAuth.Messaging.Channel.RequestCore(IDirectedProtocolMessage
request)
   at DotNetOpenAuth.Messaging.Channel.Request(IDirectedProtocolMessage
requestMessage)
   at
DotNetOpenAuth.Messaging.Channel.Request[TResponse](IDirectedProtocolMessag e
requestMessage)
   at DotNetOpenAuth.OAuth.ConsumerBase.ProcessUserAuthorization(String
requestToken, String verifier)
   at
DotNetOpenAuth.OAuth.WebConsumer.ProcessUserAuthorization(HttpRequestBase
request)
   at DotNetOpenAuth.OAuth.WebConsumer.ProcessUserAuthorization()

This happens quite often but not all the time. I can get the exception,
then try to log in again and succed with the login. The line that throws
the exception is :

var response = TwitterSignIn.ProcessUserAuthorization();

Do you have any idea what's happening ? Maybe you could guide me where I
could find more information on how to resolve it ?

Thanks,

Thomas


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TJA  
View profile  
 More options Jul 13 2012, 6:13 am
From: TJA <thomasv1...@hotmail.fr>
Date: Fri, 13 Jul 2012 03:13:39 -0700 (PDT)
Local: Fri, Jul 13 2012 6:13 am
Subject: Re: Strange behaviour with Twitter

Hi again,

After some investigation, I noticed that the web server is behind and
entreprise proxy that seems to fiddle with my request and responses a
little. After chaning the server network connection and bypassing the
entreprise proxy, it seems to work as expected.

However I have a feeling that the error should not be raised anyway. I
compared the raw request/responses in fiddler and the only difference seems
to be the presence of the Proxy-Connection: keep-alive and Via tags.

What do you think about it ?

Thanks,

Thomas

Le jeudi 12 juillet 2012 18:16:23 UTC+2, TJA a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Arnott  
View profile  
 More options Jul 14 2012, 11:35 pm
From: Andrew Arnott <andrewarn...@gmail.com>
Date: Sat, 14 Jul 2012 20:35:09 -0700
Local: Sat, Jul 14 2012 11:35 pm
Subject: Re: [dotnetopenauth] Re: Strange behaviour with Twitter

I've seen a few reports (all recently) on this gzip problem.  Although I
haven't seen it myself.  I'd like to understand it better to see if a DNOA
fix is appropriate, but I either need complete Fiddler logs of the problem,
or a way to reproduce it myself, I think.
--
Andrew Arnott
"I [may] not agree with what you have to say, but I'll defend to the death
your right to say it." - S. G. Tallentyre


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Crane  
View profile  
 More options Oct 11 2012, 10:44 am
From: Tom Crane <tom.cr...@digirati.co.uk>
Date: Thu, 11 Oct 2012 07:44:02 -0700 (PDT)
Local: Thurs, Oct 11 2012 10:44 am
Subject: Re: [dotnetopenauth] Re: Strange behaviour with Twitter

I was getting this error too back in June, July, Aug, perhaps 20% of the
time, and was all set to start gathering some fiddler traffic. But for the
last month or so I haven't seen it all.

My (completely unscientific) hunch was that some branches of a
load-balanced stack at Twitter weren't handling Gzip compression properly,
and it's now fixed.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »