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


Heitor Meira <htrmeira@...>
 

We had a similar issue, we passed the buildpack that the application should
use and it worked.

I have no idea why this helped.

On Mon, Oct 5, 2015 at 7:01 PM, CF Runtime <cfruntime(a)gmail.com> wrote:

Are you using an aws elb or a ha_proxy instance for your load balancer?

If you curl api.SYSTEM_DOMAIN/v2/info, what is the logging_endpoint from
the response?

Joseph
CF Release Integration Team



On Mon, Oct 5, 2015 at 3:36 AM, remi clotaire tassing tagne <
tassingremi(a)gmail.com> wrote:

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
--
Heitor Meira
Undergraduate in Computer Science - www.ccc.ufcg.edu.br
Member of Distributed Systems Laboratory - www.lsd.ufcg.edu.br

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