Closed irenejia closed 11 years ago
again, I got barkeep complain that "Sorry, we could not authenticate you with this identifier." where to trace the authenticate problem? my login url is in the following: http://kdis-git-server:8040/signin/complete?openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=id_res&openid.op_endpoint=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fud&openid.response_nonce=2013-09-12T02%3A29%3A21Zc_ZGUC33IsaiBg&openid.return_to=http%3A%2F%2Fkdis-git-server%3A8040%2Fsignin%2Fcomplete&openid.assoc_handle=1.AMlYA9UalcIK6us1z1YIDBrX67qGVDB__aGn_6Sf9514I-FzDUdvWD25y8Z_vg&openid.signed=op_endpoint%2Cclaimed_id%2Cidentity%2Creturn_to%2Cresponse_nonce%2Cassoc_handle%2Cns.ext1%2Cext1.mode%2Cext1.type.ext0%2Cext1.value.ext0&openid.sig=Qmz2jw3Eet0ZW7QJzwg2BLa0Y50%3D&openid.identity=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawkktH8SvWaT4ZUoMZnPaWeHZhcORzZMnzw&openid.claimed_id=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawkktH8SvWaT4ZUoMZnPaWeHZhcORzZMnzw&openid.ns.ext1=http%3A%2F%2Fopenid.net%2Fsrv%2Fax%2F1.0&openid.ext1.mode=fetch_response&openid.ext1.type.ext0=http%3A%2F%2Faxschema.org%2Fcontact%2Femail&openid.ext1.value.ext0=barkeep.carestream%40gmail.com
I've compared the login url with the openID requested parameters shown on http://openid-provider.appspot.com/barkeep.carestream, and found that the format is incompatible. At least at two points: openid.claimed_id and openid.identity are required to be "http://specs.openid.net/auth/2.0/identifier_select", but in my instance, both items were "https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawkktH8SvWaT4ZUoMZnPaWeHZhcORzZMnzw". Is there possibly a problem with version conflict of openid lib or anything related?
Ok, let's separate these problems out.
Do note that the GMAIL_ADDRESS and GMAIL_PASSWORD parameters are used for emails from Barkeep, not for OpenID sign in, so they should be unrelated to your problem.
Daniel,Thank you very much for your response!
For problem 1, yes, I finally did it manually. It was not installed on a fresh image, but on a git server: gitolite+git on Ubuntu 12.04 LTS 64bit. A big problem is that it can not access git://github.com/...., but rather https://github.com/... instead. When I was installing, I skipped the git part, but all other things in the script had been followed.
For problem 2, weird. I could log in gmail with my own account successfully. I once even tried to keep the login status first and then explore to barkeep server port 8040, but, again, I was refused.
When I first completed the installation, the barkeep was in running status, but the web page could not access. From log files in /var/log/barkeep, I found that the application failed to find ruby, the log complained that "/usr/bin/ruby bad interpreter". It seemed that the ruby version installed from rbenv could not be recognized, so I created a symbolic link of /usr/bin/ruby to direct to $HOME/.rbenv/shims/ruby. Later on, I was rejected on web page.
Is there any other log files to monitor the web page response or trace the application problem?
Not knowing the environment in which you're running barkeep, there's not much more we can do. I would strongly suggest installing barkeep in an environment that is known to work: using the install script on a clean Ubuntu 12.04 image from AWS. The further you move from that, the less help we're able to provide.
Best of luck!
I'm interested with barkeep and tried to install it on Ubuntu 12.04 64bit, but always failed. Please correct me if I made any mistakes in the following:
Please comment something when I was in such a crazy dilemma. Thank you very much!