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

Invalid URL prefix in "/oauth/token" #15

Open
srinat999 opened this issue Sep 14, 2016 · 0 comments
Open

Invalid URL prefix in "/oauth/token" #15

srinat999 opened this issue Sep 14, 2016 · 0 comments

Comments

@srinat999
Copy link

Hi,

I managed to get push this UI, but on loggin in I am getting this error:

 ERR 2016/09/14 15:08:52 [error] 37#0: *14 invalid URL prefix in "/oauth/token", client: 10.0.0.130, server: , request: "POST /oauth HTTP/1.1", host: "ui.apps.de.cloudfoundry.it-platforms.net", referrer: "https://ui.apps.de.cloudfoundry.it-platforms.net/"

It seems the app is making the authenticate request to itself rather than to the CF API endpoint. Any idea how to fix this?

Here is my manifest.yml


---
applications:
- name: cf-webui
  memory: 128M
  host: ui
  path: ./build
  buildpack: staticfile_buildpack
  env:
    API_ENDPOINT: http://api.sys.de.cloudfoundry.it-platforms.net
    # Use Google DNS by default
    NGINX_RESOLVER: 10.0.0.114
    #Enforce https is used (using x_forwarded_proto check) .Default: enabled
    FORCE_HTTPS: 0
    http_proxy: "http://10.10.0.1:3128"
    https_proxy: "http://10.10.0.1:3128"
    no_proxy: "api.sys.de.cloudfoundry.it-platforms.net,10.0.0.125,10.0.0.130"

As you can see, I'm also under a proxy

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

1 participant