Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to discover OP endpoint URL : passport-ibm #39

Open
indranipinks opened this issue Nov 22, 2017 · 1 comment
Open

Failed to discover OP endpoint URL : passport-ibm #39

indranipinks opened this issue Nov 22, 2017 · 1 comment

Comments

@indranipinks
Copy link

We have a Node.js application hosted on Bluemix. It uses IBM Tivoli Federated Identity Manager as the authentication service and uses OpenID. We use passport-ibm Node module at the backend for this. The authentication used to work properly till last week. But suddenly it stopped working and is throwing error even before showing the login screen.

Here is the stack trace:
2017-11-20T16:07:42.50+0530 [APP/PROC/WEB/0]ERR InternalOpenIDError: Failed to discover OP endpoint URL 2017-11-20T16:07:42.50+0530 [APP/PROC/WEB/0]ERR at ClientRequest. (/home/vcap/app/node_modules/passport-ibm/node_modules/passport-openid/node_modules/openid/openid.js:266:12) 2017-11-20T16:07:42.50+0530 [APP/PROC/WEB/0]ERR at TLSSocket.socketErrorListener (_http_client.js:269:9) 2017-11-20T16:07:42.50+0530 [APP/PROC/WEB/0]ERR at TLSSocket.emit (events.js:169:7) 2017-11-20T16:07:42.50+0530 [APP/PROC/WEB/0]ERR at /home/vcap/app/node_modules/passport-ibm/node_modules/passport-openid/lib/passport-openid/strategy.js:249:52 2017-11-20T16:07:42.50+0530 [APP/PROC/WEB/0]ERR at /home/vcap/app/node_modules/passport-ibm/node_modules/passport-openid/node_modules/openid/openid.js:664:13 2017-11-20T16:07:42.50+0530 [APP/PROC/WEB/0]ERR at /home/vcap/app/node_modules/passport-ibm/node_modules/passport-openid/node_modules/openid/openid.js:620:11 2017-11-20T16:07:42.50+0530 [APP/PROC/WEB/0]ERR at emitOne (events.js:77:13) 2017-11-20T16:07:42.50+0530 [APP/PROC/WEB/0]ERR at /home/vcap/app/node_modules/passport-ibm/node_modules/passport-openid/node_modules/openid/openid.js:874:14 2017-11-20T16:07:42.50+0530 [APP/PROC/WEB/0]ERR at emitOne (events.js:77:13) 2017-11-20T16:07:42.50+0530 [APP/PROC/WEB/0]ERR at ClientRequest.emit (events.js:169:7)

I googled the issue and found one solution is to use - 'stateless:true' attribute but that also didn't help.

Our entire production is down because clients cannot go past the authentication and hence cannot access the application.
Can you please suggest something?

@HananeAlSamrout
Copy link

have you had any luck solving this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants