0

OpenId (with openid4java) fails

Hi, there,

My site is using openid4java to connect to yahoo. It works until recently. Below is the exception

org.openid4java.discovery.yadis.YadisException: 0x704: I/O transport error:
at org.openid4java.discovery.yadis.YadisResolver.retrieveXrdsLocation(YadisResolver
.java:432)
at org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:229)
at org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:221)
at org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:179)
at org.openid4java.discovery.Discovery.discover(Discovery.java:134)
at org.openid4java.consumer.ConsumerManager.verifyDiscovered2(ConsumerManager.java:
1695)
at org.openid4java.consumer.ConsumerManager.verifyDiscovered(ConsumerManager.java:1
523)
at org.openid4java.consumer.ConsumerManager.verify(ConsumerManager.java:1162)


If I change the discover id from http://yahoo.com to http://me.yahoo.com, I got similar exception:

org.openid4java.discovery.yadis.YadisException: 0x704: I/O transport error:
at org.openid4java.discovery.yadis.YadisResolver.retrieveXrdsLocation(YadisResolver
.java:432)
at org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:229)
at org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:221)
at org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:179)
at org.openid4java.discovery.Discovery.discover(Discovery.java:134)
at org.openid4java.discovery.Discovery.discover(Discovery.java:114)
at org.openid4java.consumer.ConsumerManager.discover(ConsumerManager.java:527)


any clue what changes?

thx
bryant

by
2 Replies
  • some more details on the exception:

    when I am using http://yahoo.com as id, the exception happens in verify phase where it performs verification on the Authentication Response (assertion) received from the OpenID Provider, and the root cause of the exception is

    sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    0
  • Hi Bryant,

    If you try discovery from https://me.yahoo.com, do you still see this issue?

    I don't quite understand the error message either.

    Thanks,
    Yu Wang
    Yahoo! Membership Team
    0

Recent Posts

in OpenID General Discussion