Invalid Authorization: while deploying application on local CF Instance


Deepak Arn <arn.deepak1@...>
 

While deploying application on the local cf instance(CF_Nise_Installer), its giving unauthorized error, unable to take any logs. Could anyone please help to resolve this issue

C:\Users\umroot\Downloads>cf target -s Components
API endpoint: https://api.10.0.2.15.xip.io (API version: 2.35.0)
User: admin
Org: DevBox
Space: Components

C:\Users\umroot\workspaceKeplerJee>cf push Web2210 -p C:\Users\umroot\Downloads\
war_sample\Web2210.war -b https://github.com/cloudfoundry/java-buildpack#v3.1.1
Creating app Web2210 in org DevBox / space Components as admin...
OK

Creating route web2210.10.0.2.15.xip.io...
OK

Binding web2210.10.0.2.15.xip.io to Web2210...
OK

Uploading Web2210...
Uploading app files from: C:\Users\umroot\Downloads\war_sample\Web2210.war
Uploading 3.6K, 10 files
Done uploading
OK

timeout connecting to log server, no log will be shown
Starting app Web2210 in org DevBox / space Components as admin...
Warning: error tailing logs
Unauthorized error: You are not authorized. Error: Invalid authorization

FAILED
StagingError

TIP: use 'cf logs Web2210 --recent' for more information

C:\Users\umroot\workspaceKeplerJee>cf logs Web2210 --recent
Connected, dumping recent logs for app Web2210 in org DevBox / space Components
as admin...

FAILED
Unauthorized error: You are not authorized. Error: Invalid authorization

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.