IRC Log for #openid on 2008-01-14
Timestamps are in UTC.
- [00:08:37] * flaccid_ (n=flaccid@123-243-80-114.tpgi.com.au) has joined #openid
- [00:22:21] * srogers_ (n=srogers@cpe-72-179-20-29.austin.res.rr.com) has joined #openid
- [00:24:27] * flaccid (n=flaccid@123-243-80-114.tpgi.com.au) Quit (Read error: 110 (Connection timed out))
- [00:38:45] * srogers (n=srogers@cpe-72-179-20-29.austin.res.rr.com) Quit (Read error: 110 (Connection timed out))
- [00:45:56] * peace-keeper (n=peace-ke@c-24-91-177-185.hsd1.ma.comcast.net) Quit ("Change is good, but dollars are better.")
- [01:02:41] * michelp (n=michelp@69-30-72-119.dq1sf.easystreet.com) has joined #openid
- [01:35:08] * priidu__ (n=aa@58.246.249.49) has joined #openid
- [01:47:05] * priidu_ (n=aa@58.246.242.192) Quit (Read error: 110 (Connection timed out))
- [01:50:00] * stub (n=stub@canonical/launchpad/stub) has joined #openid
- [01:57:43] * ant0ine (n=ai@sd-8635.dedibox.fr) Quit ("leaving")
- [02:10:01] * forsaken (n=eric@c-71-62-234-185.hsd1.va.comcast.net) Quit (Remote closed the connection)
- [02:11:23] * stub (n=stub@canonical/launchpad/stub) Quit (Read error: 104 (Connection reset by peer))
- [02:17:49] * stub (n=stub@canonical/launchpad/stub) has joined #openid
- [02:40:23] * cote (n=cote@adsl-71-145-136-9.dsl.austtx.sbcglobal.net) Quit (Client Quit)
- [02:42:42] * illustir (n=alper@s55912056.adsl.wanadoo.nl) Quit ()
- [02:48:04] * stub (n=stub@canonical/launchpad/stub) Quit (Nick collision from services.)
- [02:48:19] * stu1 (n=stub@ppp-58.8.9.84.revip2.asianet.co.th) has joined #openid
- [02:48:29] * stu1 is now known as stub
- [02:59:54] * bcardarella (n=brian@c-65-96-64-87.hsd1.ma.comcast.net) has joined #openid
- [03:00:29] <bcardarella>
I'm having an issue with an OpenID server I wrote... I'm getting: Verification of http://localhost:3002/openiduser/bcardarella failed: No matching endpoint found after discovering http://localhost:3002/openiduser/bcardarella
- [03:01:04] <bcardarella>
I'm not entirely certain how the enpoints work. I've found on Google that it denotes that my server is an OpenID server... but still not certain how to debug this
- [03:02:54] <keturn>
bcardarella: huh. is your server sending back an openid.claimed_id that's different from the ID that the RP is asking for in the checkid message?
- [03:04:25] <keturn>
(if you can just pastebin a log of the GET queries or POST data, that'd be nice)
- [03:04:25] <bcardarella>
Hmmm.... let me check.
- [03:05:35] * stub (n=stub@canonical/launchpad/stub) Quit (Excess Flood)
- [03:05:51] <bcardarella>
keturn: you want the POST data from the RP to the server?
- [03:06:23] <keturn>
both directions
- [03:06:57] <keturn>
err, well, the direct RP-to-server data -- the association request -- isn't so relevant here
- [03:07:02] <keturn>
but the checkid and id_res messages
- [03:10:05] <bcardarella>
keturn: http://pastie.caboo.se/138509
- [03:11:25] <bcardarella>
Hmmm... I think the issue is the Helper url_for_user
- [03:11:32] <bcardarella>
I didn't modify that for my setup
- [03:12:01] <keturn>
that sounds like a good thing to check, yes
- [03:15:15] <keturn>
although, hmm, those messages look to be consistent, so I'm not sure why the "no matching endpoint" message is being triggered
- [03:15:58] * yomyom (n=yomyom@189.132.204.186) has joined #openid
- [03:19:32] * yomyom (n=yomyom@189.132.204.186) Quit (Remote closed the connection)
- [03:26:16] * stu1 (n=stub@ppp-58.8.9.84.revip2.asianet.co.th) has joined #openid
- [03:26:32] * stu1 is now known as stub
- [03:55:35] * stub (n=stub@canonical/launchpad/stub) Quit (Read error: 110 (Connection timed out))
- [04:01:41] * ianloic_ (n=ian@76.191.177.157) has joined #openid
- [04:08:02] * stub (n=stub@ppp-58.8.9.84.revip2.asianet.co.th) has joined #openid
- [04:09:21] <bcardarella>
keturn: is there any other way to try debugging the endpoint issue?
- [04:10:08] <keturn>
is there anything else in the logs?
- [04:10:32] <bcardarella>
which logs? The server logs?
- [04:12:47] <keturn>
yeah.
- [04:13:03] <keturn>
err, wait, the error is from the RP
- [04:13:08] <keturn>
so those logs
- [04:15:00] <bcardarella>
Let me put it on pastie
- [04:17:19] <bcardarella>
http://pastie.caboo.se/138524
- [04:17:44] <bcardarella>
I'm getting an InvalidAuthenticityToken error but that has to do with Rails 2.0....
- [04:22:02] <keturn>
I'm looking for output from OpenID::Util.log, because I expect it to log "Endpoint mismatch" prior to failing with a "no matching endpoint found" error. I'm looking at verify_discovered_services in idres.rb.
- [04:22:57] <bcardarella>
Where would that log be written to? Because I don't see it in log/
- [04:23:58] <keturn>
It looks like the default behavior for Util.logger is to write to STDERR.
- [04:25:02] <bcardarella>
Can I change the default to write to a file? I'm looking at the API and there really isn't much documentation for it.
- [04:27:25] <ianloic_>
hey, it's super easy to hack up a custom OpenID provider based on the PHP example code
- [04:28:22] <ianloic_>
I'm pleased and impressed
- [04:31:17] <keturn>
bcardarella: you can assign your own Logger object to Util.logger
- [05:12:46] * cote (n=cote@adsl-71-145-136-9.dsl.austtx.sbcglobal.net) has joined #openid
- [05:34:44] * stub (n=stub@canonical/launchpad/stub) Quit (Read error: 110 (Connection timed out))
- [06:11:22] <ianloic_>
http://ianloic.com/2008/01/13/a-simpler-mobile-openid-workflow/
- [06:11:28] * stub (n=stub@ppp-58.8.9.84.revip2.asianet.co.th) has joined #openid
- [06:13:22] * ianloic_ (n=ian@76.191.177.157) Quit (Read error: 104 (Connection reset by peer))
- [06:13:50] * ianloic_ (n=ian@76.191.177.157) has joined #openid
- [06:24:17] * srogers_ (n=srogers@cpe-72-179-20-29.austin.res.rr.com) Quit ()
- [06:35:17] * ianloic_ (n=ian@76.191.177.157) has left #openid
- [06:54:58] * bcardarella (n=brian@c-65-96-64-87.hsd1.ma.comcast.net) has left #openid
- [07:19:15] * Prometheus^ (n=Promethe@kone1.tmvvision.finnetcom.net) has joined #openid
- [07:23:29] * Gin-geR (n=hacker@pD9538399.dip0.t-ipconnect.de) has joined #openid
- [07:23:31] * polyonymous_ (n=hacker@pD9539D94.dip0.t-ipconnect.de) Quit (Read error: 101 (Network is unreachable))
- [08:31:55] * flaccid_ (n=flaccid@123-243-80-114.tpgi.com.au) Quit (Read error: 113 (No route to host))
- [08:37:29] * illustir (n=alper@s55912056.adsl.wanadoo.nl) has joined #openid
- [08:50:58] * tjohns (n=tjohns@cpe-76-170-58-80.socal.res.rr.com) Quit (Remote closed the connection)
- [10:03:02] * hillsy (i=shaunh@npfit2.dh.bytemark.co.uk) has joined #openid
- [10:20:48] * quirim_ (i=potato@dsl-240-39-171.telkomadsl.co.za) has joined #openid
- [10:33:25] * quirim (i=potato@dsl-242-24-30.telkomadsl.co.za) Quit (Read error: 110 (Connection timed out))
- [10:54:32] * polyonymous-note (n=hacker@pD9538399.dip0.t-ipconnect.de) has joined #openid
- [11:03:07] * stub (n=stub@canonical/launchpad/stub) Quit (Read error: 110 (Connection timed out))
- [11:09:53] * quirim_ is now known as quirim
- [11:41:57] * cor (n=cor@in.ter.net) has joined #openid
- [11:44:33] * tjohns (n=tjohns@cpe-76-170-58-80.socal.res.rr.com) has joined #openid
- [11:44:42] * tjohns (n=tjohns@cpe-76-170-58-80.socal.res.rr.com) Quit (Client Quit)
- [11:45:36] * polyonymous-note (n=hacker@pD9538399.dip0.t-ipconnect.de) Quit (Read error: 113 (No route to host))
- [11:45:55] * tjohns (n=tjohns@cpe-76-170-58-80.socal.res.rr.com) has joined #openid
- [11:56:21] * p33r_ (n=espen@43.80-203-79.nextgentel.com) Quit ()
- [12:04:14] * tjohns (n=tjohns@cpe-76-170-58-80.socal.res.rr.com) Quit ()
- [12:14:41] * stub (n=stub@ppp-58.8.9.84.revip2.asianet.co.th) has joined #openid
- [12:17:30] * polyonymous-note (n=hacker@pD9538399.dip0.t-ipconnect.de) has joined #openid
- [12:26:11] * illustir (n=alper@s55912056.adsl.wanadoo.nl) Quit (Read error: 104 (Connection reset by peer))
- [12:26:22] * illustir (n=alper@s55912056.adsl.wanadoo.nl) has joined #openid
- [12:30:56] * illustir (n=alper@s55912056.adsl.wanadoo.nl) Quit (Client Quit)
- [12:37:07] * tjohns (n=tjohns@cpe-76-170-58-80.socal.res.rr.com) has joined #openid
- [12:40:28] * peace-keeper (n=peace-ke@c-24-91-177-185.hsd1.ma.comcast.net) has joined #openid
- [12:48:37] * p33r_ (n=espen@powertech-gw.neo-tokyo.no) has joined #openid
- [12:53:13] * MrTopf (i=hidden-u@oecher.info) has joined #openid
- [13:05:31] * SignpostMarv (n=Signpost@82-71-31-169.dsl.in-addr.zen.co.uk) has joined #openid
- [13:08:58] * illustir (n=alper@mail.tamtam.nl) has joined #openid
- [13:23:53] * stub (n=stub@canonical/launchpad/stub) Quit ("Leaving.")
- [13:39:34] * Peng_ is now known as Peng
- [13:48:22] * polyonymous-note (n=hacker@pD9538399.dip0.t-ipconnect.de) Quit (Read error: 113 (No route to host))
- [14:19:44] * p33r_ (n=espen@powertech-gw.neo-tokyo.no) Quit (brown.freenode.net irc.freenode.net)
- [14:19:44] * priidu__ (n=aa@58.246.249.49) Quit (brown.freenode.net irc.freenode.net)
- [14:19:44] * michelp (n=michelp@69-30-72-119.dq1sf.easystreet.com) Quit (brown.freenode.net irc.freenode.net)
- [14:19:44] * ianloic (i=yakk@glub.dreamhostps.com) Quit (brown.freenode.net irc.freenode.net)
- [14:19:44] * amir (n=Miranda@gentoo/developer/amir) Quit (brown.freenode.net irc.freenode.net)
- [14:19:44] * XRIBot (n=XRIBot@66.36.241.248) Quit (brown.freenode.net irc.freenode.net)
- [14:20:38] * p33r_ (n=espen@powertech-gw.neo-tokyo.no) has joined #openid
- [14:20:38] * priidu__ (n=aa@58.246.249.49) has joined #openid
- [14:20:38] * michelp (n=michelp@69-30-72-119.dq1sf.easystreet.com) has joined #openid
- [14:20:38] * ianloic (i=yakk@glub.dreamhostps.com) has joined #openid
- [14:20:38] * amir (n=Miranda@gentoo/developer/amir) has joined #openid
- [14:20:38] * XRIBot (n=XRIBot@66.36.241.248) has joined #openid
- [14:59:23] * srogers (n=srogers@gatekeeper.factech.com) has joined #openid
- [15:14:43] * SignpostMarv (n=Signpost@82-71-31-169.dsl.in-addr.zen.co.uk) Quit ("Leaving")
- [15:19:47] * benj3one (n=ben@adsl-75-41-185-190.dsl.spfdmo.sbcglobal.net) has joined #openid
- [15:21:37] * Prometheus^ (n=Promethe@kone1.tmvvision.finnetcom.net) Quit ()
- [15:28:23] * p33r_ (n=espen@powertech-gw.neo-tokyo.no) Quit ()
- [15:33:43] * illustir (n=alper@mail.tamtam.nl) Quit ()
- [15:43:03] * tjohns (n=tjohns@cpe-76-170-58-80.socal.res.rr.com) Quit ()
- [16:02:18] * illustir (n=alper@s55912056.adsl.wanadoo.nl) has joined #openid
- [16:16:51] * cote (n=cote@adsl-71-145-136-9.dsl.austtx.sbcglobal.net) Quit (Client Quit)
- [17:00:48] * Roebot (n=Roebot@wsip-68-15-8-102.sd.sd.cox.net) has joined #openid
- [17:17:20] * priidu__ (n=aa@58.246.249.49) Quit (Remote closed the connection)
- [17:19:22] * bcardarella (n=brian@c-65-96-64-87.hsd1.ma.comcast.net) has joined #openid
- [17:21:52] <bcardarella>
keturn: I resolved the issue from last night with the missing endpoint. The issue is with Rails 2.0's AuthenticityToken. When the RP talks to the server there is a authenticity token issue... and OpenID craps out. The solution I've found is to put this line into the controller:
- [17:21:52] <bcardarella>
skip_before_filter :verify_authenticity_token
- [17:24:01] <bcardarella>
However this may become an issue with authentication of users... I've just gotten the communication between RP and server working. Probably something like:
- [17:24:02] <bcardarella>
protect_form_forgery :except => [:method_1, :method_2]
- [17:24:02] <bcardarella>
and just remove token authentication from whatever methods the RP speaks to.
- [17:24:11] <bcardarella>
protect_from_forgery
- [17:54:34] * illustir (n=alper@s55912056.adsl.wanadoo.nl) Quit ()
- [18:01:25] <bcardarella>
I've sent the fix to the Dev mailing list....
- [18:40:59] * hillsy (i=shaunh@npfit2.dh.bytemark.co.uk) Quit (Remote closed the connection)
- [18:54:48] * PibbRelay (n=supybot@nat/janrain/x-f124f60d20e56d0c) has joined #openid
- [18:58:04] * MrTopf (i=hidden-u@oecher.info) Quit ()
- [19:04:48] * evanpro (n=evanpro@pdpc/supporter/silver/evanpro) has joined #openid
- [19:04:48] <jibot>
evanpro is Evan Prodromou, info at http://wikitravel.org/en/User:Evan
- [19:05:55] <evanpro>
I should probably update that
- [19:28:37] * _keturn (n=acapnoti@pdpc/supporter/sustaining/keturn) has joined #openid
- [19:32:34] * cote (n=cote@adsl-71-145-136-9.dsl.austtx.sbcglobal.net) has joined #openid
- [19:40:27] * MrTopf (i=hidden-u@oecher.info) has joined #openid
- [20:00:43] * MrTopf (i=hidden-u@oecher.info) Quit (Success)
- [20:02:41] * polyonymous-note (n=hacker@pD9538399.dip0.t-ipconnect.de) has joined #openid
- [21:04:53] * p33r_ (n=espen@85.196.121.142) has joined #openid
- [21:11:23] * tjohns (n=tjohns@cpe-76-170-58-80.socal.res.rr.com) has joined #openid
- [21:36:33] * peace-keeper (n=peace-ke@c-24-91-177-185.hsd1.ma.comcast.net) Quit (Connection timed out)
- [21:42:53] * tjohns (n=tjohns@cpe-76-170-58-80.socal.res.rr.com) Quit ()
- [21:48:07] * p33r_ (n=espen@85.196.121.142) Quit ()
- [21:49:24] * illustir (n=alper@s55912056.adsl.wanadoo.nl) has joined #openid
- [22:15:43] * michelp (n=michelp@69-30-72-119.dq1sf.easystreet.com) Quit (Read error: 104 (Connection reset by peer))
- [22:33:50] * michelp (n=michelp@69-30-72-119.dq1sf.easystreet.com) has joined #openid
- [22:41:30] * bcardarella (n=brian@c-65-96-64-87.hsd1.ma.comcast.net) Quit (Read error: 104 (Connection reset by peer))
- [22:43:45] * pvandewyngaerde (n=pvandewy@26.81-136-217.adsl-dyn.isp.belgacom.be) has joined #openid
- [22:50:14] * evanpro (n=evanpro@pdpc/supporter/silver/evanpro) Quit (Read error: 110 (Connection timed out))
- [23:10:10] * famicon (i=redz@c51447ddc.cable.wanadoo.nl) has joined #openid
- [23:10:26] <famicon>
hello
- [23:14:09] * pvandewyngaerde (n=pvandewy@26.81-136-217.adsl-dyn.isp.belgacom.be) Quit (Read error: 110 (Connection timed out))
- [23:19:01] * lopnor_ (n=lopnor@nat.soffritto.org) Quit (Read error: 104 (Connection reset by peer))
- [23:19:09] * lopnor_ (n=lopnor@nat.soffritto.org) has joined #openid
- [23:33:00] * illustir (n=alper@s55912056.adsl.wanadoo.nl) Quit ()
- [23:41:44] * SvenDowideit_ (n=SvenDowi@twiki/developer/SvenDowideit) has joined #openid
- [23:59:40] * SvenDowideit (n=SvenDowi@twiki/developer/SvenDowideit) Quit (Read error: 101 (Network is unreachable))
These logs were automatically created by OpenIDlogbot on
chat.freenode.net
using a modified version of the Java IRC LogBot.