ukris / typhoonae

Automatically exported from code.google.com/p/typhoonae
0 stars 0 forks source link

VirtualBox image file upload limit should be 10Mb (or 32Mb) #89

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a simple App Engine project containing one static file of over 1Mb
2. Upload this project to TyphoonAE VirtualBox VM

What is the expected output? What do you see instead?

Upload should complete successfully.
Receive error message from nginx that file is too large

Please provide any additional information below.

AppEngine allows file sizes of up to 10Mb
http://googleappengine.blogspot.com/2009/02/skys-almost-limit-high-cpu-is-no-mor
e.html

UPDATE: SDK 1.5.5 Now allows 32Mb files

Original issue reported on code.google.com by Jonat...@evolu8.com on 3 Nov 2011 at 11:46

GoogleCodeExporter commented 9 years ago
Thanks for reporting this. This very likely happens due to a misconfiguration 
in the /home/typhoonae/typhoonae/etc/appcfgnginx.conf file.

In order to fix it:

1) Use ssh to login to the guest OS:

$ ssh typhoonae@<ip_of_your_guest_os>

or, if you've properly modified /etc/hosts

$ ssh typhoonae@typhoonae.local

2) cd typhoonae/etc

3) Apply the following patch:

@@ -19,6 +19,7 @@
   }

   server {
+      client_max_body_size 100m;
       listen      8080;
       server_name typhoonae.local typhoonae;
       access_log  /home/typhoonae/typhoonae/var/log/appcfg-httpd-access.log;

4) Restart the app cfg service:

typhoonae@typhoonae:~$ sudo supervisorctl restart appcfg_service

This allows you to upload application files up to 100m.

Please let me know if this resolves the issue.

Cheers,
Tobias

Original comment by tobias.r...@gmail.com on 3 Nov 2011 at 6:28

GoogleCodeExporter commented 9 years ago
I'm so sorry. There was a little mistake in my last comment. You should rather 
restart appcfg_nginx than the appcfg_service.

Original comment by tobias.r...@gmail.com on 3 Nov 2011 at 7:02

GoogleCodeExporter commented 9 years ago
@Jonathan: And there was a missing RPC in our appcfg service. Sorry again.

See 
http://code.google.com/p/typhoonae/source/detail?r=08393ee4fc3daceda5cffa0152e0b
b0da7515cfe for further details.

Original comment by tobias.r...@gmail.com on 3 Nov 2011 at 8:08

GoogleCodeExporter commented 9 years ago
Fixed on the trunk.

Original comment by tobias.r...@gmail.com on 25 Nov 2011 at 6:29