divyajyothi1 / dotnetopenid

Automatically exported from code.google.com/p/dotnetopenid
0 stars 0 forks source link

Getting error when clicked on "Sign In with Yahoo ID" #233

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Is this issue relating to writing a Relying Party, a Provider, or both?
- Relying Party or may be both.
What steps will reproduce the problem?
(please include the actual Claimed Identifier or OpenID Url used to repro
the problem if possible)
1. Download the DotNetOpenAuth-3.0.0.9087.zip. Extract the contents and 
open Samples.sln file. 
2. Under 'OpenIdRelyingPartyWebForms' project, right click on 'login.aspx' 
page and select 'View in browser' menu.
3. Once login page is shown, click on 'Sign In with a Yahoo! Id' button.

What is the expected output?
The page should be redirected to the "Yahoo.com" as written in code.

What do you see instead?
I see the error attached with this issue.

What version of the product are you using?  Official build?
DotNetOpenAuth-3.0.0.9087

Can this problem be reproduced using the included samples?
Yes.

Please provide any additional information below.  Relevant log snippets are
superb!

Original issue reported on code.google.com by Vrusha...@gmail.com on 31 Mar 2009 at 10:55

Attachments:

GoogleCodeExporter commented 8 years ago
Thank you for this report.  This may be due to too HTTP timeouts that DNOA is 
not lax 
enough for.
Does it work if you try it twice in a row?

Original comment by andrewar...@gmail.com on 31 Mar 2009 at 1:40

GoogleCodeExporter commented 8 years ago
No, even if I try twice, thrice in a row, it doesn't work.
In the code, it gives error at line shown with the arrow.

protected void yahooLoginButton_Click(object sender, ImageClickEventArgs e) 
{
  OpenIdRelyingParty openid = new OpenIdRelyingParty();
  var req = openid.CreateRequest("yahoo.com"); ==========>>> Error
  this.prepareRequest(req);
  req.RedirectToProvider();
  // We don't listen for the response from the provider explicitly
  // because the OpenIdLogin control is already doing that for us.
}

Please let me know I am using the right version of code. 

Original comment by Vrusha...@gmail.com on 3 Apr 2009 at 5:14

GoogleCodeExporter commented 8 years ago
You're using the right version of the code, alright.  Most likely this is a 
proxy or 
firewall problem where your site cannot reach outside your network, based on 
other 
reports like yours.  Can you try entering an OpenID into the box and seeing if 
that 
works instead of clicking on the Yahoo button?  Also, do you know if a proxy is 
required in your browser to visit external web sites or if you have a firewall 
on 
your computer?

Original comment by andrewar...@gmail.com on 3 Apr 2009 at 3:29

GoogleCodeExporter commented 8 years ago
Closing due to lack of additional information.

Original comment by andrewar...@gmail.com on 18 Apr 2009 at 2:36