cf push fails with "Unauthorized error: You are not authorized. Error: Invalid authorization"


Remi Tassing
 

Hi,

So I've finally managed to deploy CF on AWS but haven't managed pushing the most rudimentary node.js app. BTW, pushing this app to my local CF instance worked.

I tried troubleshooting with "cf logs" and "cf events" and "CF_TRACE=true" but I just can't figure out the root cause. I've even created an org and space and a user with SpaceDeveloper role but without luck. 'cf push' gives me:

cf push
Using manifest file /home/remi/workspace/apps/hello-nodejs/manifest.yml

Creating app hello-nodejs in org test / space test as cf...
OK

Creating route hello-nodejs.ip.address.xip.io...
OK

Binding hello-nodejs.ip.address.xip.io to hello-nodejs...
OK

Uploading hello-nodejs...
Uploading app files from: /home/remi/workspace/apps/hello-nodejs
Uploading 1K, 3 files
Done uploading
OK

timeout connecting to log server, no log will be shown
Starting app hello-nodejs in org test / space test as cf...
Warning: error tailing logs
Unauthorized error: You are not authorized. Error: Invalid authorization

FAILED
hello-nodejs failed to stage within 15.000000 minutes

Any idea where I should look for the problem?

Thanks in advance!

Remi

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