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
Bad Request Exception when calling CreateRequest against Google
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
  8 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
 
Dave W  
View profile  
 More options May 2 2012, 1:58 am
From: Dave W <dave.whar...@gdev.intilecta.com>
Date: Tue, 1 May 2012 22:58:50 -0700 (PDT)
Local: Wed, May 2 2012 1:58 am
Subject: Bad Request Exception when calling CreateRequest against Google
Hello

I am using DNOA to authenticate users against Google. I have noticed
that I get the following exceptions logged in the log file even though
the authentication goes on to succeed. I am using version 4.0.0.12084
of DotNetOpenAuth.

I was wondering if this is expected or not?

This thread seems pretty similar to what I am seeing (i.e. it is slow,
similar errors and in the end it succeeds) but it is two years old now
so I am not sure if it still applies:
http://groups.google.com/group/dotnetopenid/browse_thread/thread/2ae8...

Any help would be appreciated! Thanks!

Cheers,
Dave

The exceptions from the logs (I can provide I full log if required):
ERROR 2012-05-02 17:00:15,674  7536ms Http                           -
WebException from https://www.google.com/accounts/o8/user-xrds?uri=http:%2F%2Fsomegoogl...
<!DOCTYPE html>
<html>
  <head>
  <title>Google Accounts</title>
  <style type="text/css">
  body {font-family: arial,sans-serif;}
  .body {margin: 15px 15px; }
  </style>
  </head>
  <body dir="" ><style type="text/css">
  .aligns {
  text-align: ;
  }
  .margins {
  margin-: 13px;
  }
  .floats-normal {
  float: ;
  }
  .floats-reverse {
  float: ;
  margin-top: 17px;
  }
</style>
  <div class="header margins" style="height: 59px; margin: 33px 15px
9px 15px;">
  <img src="https://www.google.com/intl//images/logos/
accounts_logo.gif" alt="Google Accounts" height="40px;"/>
  </div>
  <div style="clear:both;"></div>
  <div class="body">
  </div>
  <div class="footer" style="color: #666; font-size: smaller; margin:
50px 15px 0 15px; text-align: center;">
  &copy;2009 Google -
  <a href="http://www.google.com">Google Home</a> -
  <a href="https://www.google.com/accounts/TOS?hl=">Terms of Service</
a> -
  <a href="http://www.google.com/intl//privacy.html">Privacy Policy</
a> -
  <a href="http://www.google.com/support/accounts?hl=">Help</a>
  </div>
  </body>
</html>
WARN  2012-05-02 17:00:18,456 10319ms Yadis                          -
HTTP GET error while retrieving described-by XRDS document
https://www.google.com/accounts/o8/user-xrds?uri=http%3A%2F%2Fsomegoo...
DotNetOpenAuth.Messaging.ProtocolException: Error occurred while
sending a direct message or getting the response. --->
System.Net.WebException: The remote server returned an error: (400)
Bad Request.
   at System.Net.HttpWebRequest.GetResponse()
   at
DotNetOpenAuth.Messaging.StandardWebRequestHandler.GetResponse(HttpWebReque st
request, DirectWebRequestOptions options) in c:\BuildAgent\work
\6fe1ab573d75f9ba\src\DotNetOpenAuth.Core\Messaging
\StandardWebRequestHandler.cs:line 127
   --- End of inner exception stack trace ---
   at
DotNetOpenAuth.Messaging.StandardWebRequestHandler.GetResponse(HttpWebReque st
request, DirectWebRequestOptions options) in c:\BuildAgent\work
\6fe1ab573d75f9ba\src\DotNetOpenAuth.Core\Messaging
\StandardWebRequestHandler.cs:line 173
   at
DotNetOpenAuth.Messaging.UntrustedWebRequestHandler.GetResponse(HttpWebRequ est
request, DirectWebRequestOptions options) in c:\BuildAgent\work
\6fe1ab573d75f9ba\src\DotNetOpenAuth.Core\Messaging
\UntrustedWebRequestHandler.cs:line 250
   at
DotNetOpenAuth.OpenId.HostMetaDiscoveryService.GetXrdsResponse(UriIdentifie r
identifier, IDirectWebRequestHandler requestHandler, Uri xrdsLocation)
in c:\BuildAgent\work\6fe1ab573d75f9ba\src
\DotNetOpenAuth.OpenId.RelyingParty\OpenId
\HostMetaDiscoveryService.cs:line 311
   at
DotNetOpenAuth.OpenId.HostMetaDiscoveryService.GetExternalServices(IEnumera ble`1
xrds, UriIdentifier identifier, IDirectWebRequestHandler
requestHandler) in c:\BuildAgent\work\6fe1ab573d75f9ba\src
\DotNetOpenAuth.OpenId.RelyingParty\OpenId
\HostMetaDiscoveryService.cs:line 191


 
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 May 2 2012, 9:54 am
From: Andrew Arnott <andrewarn...@gmail.com>
Date: Wed, 2 May 2012 06:54:06 -0700
Local: Wed, May 2 2012 9:54 am
Subject: Re: [dotnetopenauth] Bad Request Exception when calling CreateRequest against Google

The thread you linked to was never fully resolved, although a private build
I prepared for those folks alleviated the symptoms.  I'm not sure your
symptoms are the same though -- they don't sound similar yet.

If you can please send me the full log I'd appreciate it.  It would be
helpful if you could preserve it exactly (no obfuscated domain names) so
that I can try reproducing it if necessary.  Feel free to send it privately
just to me if that's more comfortable.

--
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

On Tue, May 1, 2012 at 10:58 PM, Dave W <dave.whar...@gdev.intilecta.com>wrote:


 
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.
Dave W  
View profile  
 More options May 6 2012, 5:32 pm
From: Dave W <dave.whar...@gdev.intilecta.com>
Date: Sun, 6 May 2012 14:32:15 -0700 (PDT)
Local: Sun, May 6 2012 5:32 pm
Subject: Re: Bad Request Exception when calling CreateRequest against Google
Hi Andrew

Thanks for your response!

I sent the full log file to you last week. I was just wondering if you
have received it? Thanks very much!

Cheers,
Dave

On May 3, 1:54 am, Andrew Arnott <andrewarn...@gmail.com> wrote:


 
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 May 11 2012, 12:04 am
From: Andrew Arnott <andrewarn...@gmail.com>
Date: Thu, 10 May 2012 21:04:47 -0700
Local: Fri, May 11 2012 12:04 am
Subject: Re: [dotnetopenauth] Re: Bad Request Exception when calling CreateRequest against Google

Yes, I received it.  Sorry for the sluggish response.  I've skimmed through
the logs and it appears this doesn't show the "perf problem" that I was
investigating a year or so ago.  Instead these HTTP 400 error responses
seem like a new issue.

I'm afraid I don't have time to personally investigate why it's failing for
you.  Can you contact Google for support?

--
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

On Sun, May 6, 2012 at 2:32 PM, Dave W <dave.whar...@gdev.intilecta.com>wrote:


 
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.
Dave Wharton  
View profile  
 More options May 16 2012, 6:43 pm
From: Dave Wharton <dave.whar...@gdev.intilecta.com>
Date: Thu, 17 May 2012 10:43:45 +1200
Local: Wed, May 16 2012 6:43 pm
Subject: Re: [dotnetopenauth] Re: Bad Request Exception when calling CreateRequest against Google

Hi Andrew

Thanks for your time looking into this for me.

Yes, I can log this with Google. Do you mind pointing me in the right
direction of where to log this with Google (assuming you might know) and is
it sufficient to say I am getting a 400 (Bad Request) error when accessing
the URL "
https://www.google.com/accounts/o8/user-xrds?uri=http:%2F%2Fsomegoogl..."
via the DNOA library?

Thanks heaps!

Cheers,
Dave

On Fri, May 11, 2012 at 4:04 PM, Andrew Arnott <andrewarn...@gmail.com>wrote:


 
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 May 16 2012, 7:52 pm
From: Andrew Arnott <andrewarn...@gmail.com>
Date: Wed, 16 May 2012 16:52:14 -0700
Local: Wed, May 16 2012 7:52 pm
Subject: Re: [dotnetopenauth] Re: Bad Request Exception when calling CreateRequest against Google

I don't know of the appropriate place to log this with Google.  You'll have
to look through their support system.

I recommend you capture a network trace (using Fiddler perhaps) of the
actual request including all HTTP headers and the error response so Google
can easily reproduce it without using DNOA.

--
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

On Wed, May 16, 2012 at 3:43 PM, Dave Wharton <


 
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.
Dave Wharton  
View profile  
 More options Jan 9, 8:21 pm
From: Dave Wharton <dave.whar...@gdev.intilecta.com>
Date: Thu, 10 Jan 2013 14:21:13 +1300
Local: Wed, Jan 9 2013 8:21 pm
Subject: Re: [dotnetopenauth] Re: Bad Request Exception when calling CreateRequest against Google

Hi Andrew

I know it has been a while since I last asked about this, but I just
noticed trying different versions of DNOA (looking at something totally
different) that I didn't get this error when using version 4.1.2 and 4.1.3,
but I do get it in 4.1.0 and 4.1.4.

Is there something that has changed in 4.1.4 that could have resulted in
seeing this error again? It could be that it is still an issue with Google
of course and 4.1.2 was not calling something it should be etc., but I
thought I would ask out of curiosity.

Thanks again!

Cheers,
Dave

On 17 May 2012 11:52, Andrew Arnott <andrewarn...@gmail.com> wrote:

...

read more »


 
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 Jan 12, 10:14 am
From: Andrew Arnott <andrewarn...@gmail.com>
Date: Sat, 12 Jan 2013 15:14:31 +0000
Local: Sat, Jan 12 2013 10:14 am
Subject: RE: [dotnetopenauth] Re: Bad Request Exception when calling CreateRequest against Google

If you’re still referring to the error from the
https://www.google.com/accounts/o8/user-xrds?uri=http:%2F%2Fsomegoogl...<https://www.google.com/accounts/o8/user-xrds?uri=http://somegoogledom...>
URL,
that really seems simple enough that it would be hard to imagine how DNOA
could be messing that up. If you could use Fiddler to get the raw request
of one that works and one that doesn’t and include it in a follow up email
that may be very helpful in diagnosing this problem.

I can’t think of any reason 4.1.4 would have regressed this behavior off
hand.

 *From:* Dave Wharton <dave.whar...@gdev.intilecta.com>
*Sent:* January 9, 2013 5:21 PM
*To:* DotNetOpenAuth <dotnetopenid@googlegroups.com>
*Subject:* Re: [dotnetopenauth] Re: Bad Request Exception when calling
CreateRequest against Google

Hi Andrew

I know it has been a while since I last asked about this, but I just
noticed trying different versions of DNOA (looking at something totally
different) that I didn't get this error when using version 4.1.2 and 4.1.3,
but I do get it in 4.1.0 and 4.1.4.

Is there something that has changed in 4.1.4 that could have resulted in
seeing this error again? It could be that it is still an issue with Google
of course and 4.1.2 was not calling something it should be etc., but I
thought I would ask out of curiosity.

Thanks again!

Cheers,
Dave

On 17 May 2012 11:52, Andrew Arnott <andrewarn...@gmail.com> wrote:

I don't know of the appropriate place to log this with Google.  You'll have
to look through their support system.

I recommend you capture a network trace (using Fiddler perhaps) of the
actual request including all HTTP headers and the error response so Google
can easily reproduce it without using DNOA.

--
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

On Wed, May 16, 2012 at 3:43 PM, Dave Wharton <

dave.whar...@gdev.intilecta.com> wrote:

Hi Andrew

Thanks for your time looking into this for me.

Yes, I can log this with Google. Do you mind pointing me in the right
direction of where to log this with Google (assuming you might know) and is
it sufficient to say I am getting a 400 (Bad Request) error when accessing
the URL "
https://www.google.com/accounts/o8/user-xrds?uri=http:%2F%2Fsomegoogl...<https://www.google.com/accounts/o8/user-xrds?uri=http://somegoogledom...>"
via the DNOA library?

Thanks heaps!

Cheers,
Dave

On Fri, May 11, 2012 at 4:04 PM, Andrew Arnott <andrewarn...@gmail.com>wrote:

Yes, I received it.  Sorry for the sluggish response.  I've skimmed through
the logs and it appears this doesn't show the "perf problem" that I was
investigating a year or so ago.  Instead these HTTP 400 error responses
seem like a new issue.

I'm afraid I don't have time to personally investigate why it's failing for
you.  Can you contact Google for support?

--
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

On Sun, May 6, 2012 at 2:32 PM, Dave W <dave.whar...@gdev.intilecta.com>wrote:

Hi Andrew

Thanks for your response!

I sent the full log file to you last week. I was just wondering if you
have received it? Thanks very much!

Cheers,
Dave

On May 3, 1:54 am, Andrew Arnott <andrewarn...@gmail.com> wrote:

DotNetOpenAuth.Messaging.StandardWebRequestHandler.GetResponse(HttpWebReque
st
> > request, DirectWebRequestOptions options) in c:\BuildAgent\work
> > \6fe1ab573d75f9ba\src\DotNetOpenAuth.Core\Messaging
> > \StandardWebRequestHandler.cs:line 127
> >   --- End of inner exception stack trace ---
> >   at

DotNetOpenAuth.Messaging.StandardWebRequestHandler.GetResponse(HttpWebReque
st
> > request, DirectWebRequestOptions options) in c:\BuildAgent\work
> > \6fe1ab573d75f9ba\src\DotNetOpenAuth.Core\Messaging
> > \StandardWebRequestHandler.cs:line 173
> >   at

DotNetOpenAuth.Messaging.UntrustedWebRequestHandler.GetResponse(HttpWebRequ
est
> > request, DirectWebRequestOptions options) in c:\BuildAgent\work
> > \6fe1ab573d75f9ba\src\DotNetOpenAuth.Core\Messaging
> > \UntrustedWebRequestHandler.cs:line 250
> >   at

DotNetOpenAuth.OpenId.HostMetaDiscoveryService.GetXrdsResponse(UriIdentifie
r
> > identifier, IDirectWebRequestHandler requestHandler, Uri xrdsLocation)
> > in c:\BuildAgent\work\6fe1ab573d75f9ba\src
> > \DotNetOpenAuth.OpenId.RelyingParty\OpenId
> > \HostMetaDiscoveryService.cs:line 311
> >   at

DotNetOpenAuth.OpenId.HostMetaDiscoveryService.GetExternalServices(IEnumera
ble`1

> > xrds, UriIdentifier identifier, IDirectWebRequestHandler
> > requestHandler) in c:\BuildAgent\work\6fe1ab573d75f9ba\src
> > \DotNetOpenAuth.OpenId.RelyingParty\OpenId
> > \HostMetaDiscoveryService.cs:line 191

> > --
> > You received this message because you are subscribed to the Google
Groups
> > "DotNetOpenAuth" group.
> > To post to this group, send email to dotnetopenid@googlegroups.com.
> > To unsubscribe from this group, send email to
> > dotnetopenid+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/dotnetopenid?hl=en.

--
You received this message because you are subscribed to the Google Groups
"DotNetOpenAuth" group.
To post to this group, send email to dotnetopenid@googlegroups.com.
To unsubscribe from this group, send email to
dotnetopenid+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/dotnetopenid?hl=en.

--
You received this message because you are subscribed to the Google Groups
"DotNetOpenAuth" group.
To post to this group, send email to dotnetopenid@googlegroups.com.
To unsubscribe from this group, send email to
dotnetopenid+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/dotnetopenid?hl=en.

--
You received this message because you are subscribed to the Google Groups
"DotNetOpenAuth" group.
To post to this group, send email to dotnetopenid@googlegroups.com.
To unsubscribe from this group, send email to
dotnetopenid+unsubscribe@googlegroups.com.
For more options, visit this group at ...

read more »


 
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 »