0

I'm just trying to get started with CloudFoundry and am attempting to upload the sample Hello World sinatra app. It fails with a JSON 413 error as follows:

Would you like to deploy from the current directory? [Yn]: y
Pushing application 'hello'...
Creating Application: OK
Uploading Application:
Checking for available resources: OK
Processing resources: OK
Packing application: OK
Uploading (1009M): OK
Error (JSON 413):
413 Reques...

I think this is something to do with the package being too large, the above output seems to suggest it's 1009M!?

Any thoughts on what might be going wrong here?

Cheers,

4

1 回答 1

1

您的应用所在的文件夹中必须有数据,因为它报告的有效负载为 1009MB。尝试创建一个新文件夹,将 sinatra 文件移到那里,然后再次推送到 Cloud Foundry。

于 2012-06-06T22:12:57.337 回答