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

Can't login onto WebUi #9

Closed
pilootchoum opened this issue Jul 4, 2016 · 4 comments
Closed

Can't login onto WebUi #9

pilootchoum opened this issue Jul 4, 2016 · 4 comments

Comments

@pilootchoum
Copy link

hi there,

I' might be missing something,

Just installed a fresh install of PCFDev, and deployed the CF Webui onto it,
But I can't login, and i'm having a hard time to understant which user I should use to login.

is there a default user?
Should I be using a CF user, that I have to create specially for cf-webui?

Could you please try to help me in the right direction?

Regards,
Michael

@poblin-orange
Copy link

Hello,
cf webui is just a front end, it relays api call to your PCF cloudfoundry API. just have to set up the api url, and use your end user accounts (same as cf login etc ...)

@pilootchoum
Copy link
Author

Thanks Poblin,

In fact when trying to use my CF user account,
I'm facing this issue,

My app respond with a 502 bad gateway response when posting to ***.pcfdev.io/oauth

And my server logs indicates :

2016-07-05T09:37:33.72+0000 [APP/0] ERR 2016/07/05 09:37:33 [error] 33#0: *64 login.local.pcfdev.io could not be resolved (110: Operation timed out), client: 10.0.2.15, server: , request: "POST /oauth HTTP/1.1", host: "console-cf-webui-snappier-nipa.local.pcfdev.io", referrer: "https://console-cf-webui-snappier-nipa.local.pcfdev.io/"

it seems i'm missing something else but can't figure out what,
Thx for the help,

Regards

@poblin-orange
Copy link

If your PCF deployment is in private network, maybe u shoud set the NGINX_RESOLVER variable to the ip holding your deployment dns wildcard (as indicated in README, 8.8.8.8 is google dns)

@pilootchoum
Copy link
Author

Thanx again poblin,

That's exactly what I was missing,

In fact, my PCF deployment is running on a VM on my main machine, needed to update the NGINX_RESOLVER that wasn't reachable otherwise, just struggled to find the right address.

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