URL fetch request size in googleaapengine

35 views
Skip to first unread message

learning coding

unread,
Mar 12, 2012, 11:09:38 AM3/12/12
to Google Web Toolkit
I am doing a web application project using GWT in Eclipse.

I have a file on the client side which is to send on the
project.server and from server to external Repository.

File --> Client-->Server-->Repository Iam Using default SDk -
(appengine-java-sdk-1.6.3.1- 1.6.3)

GWT-2.4.0 according to documentation http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes
, the limit

for URL fetch request is 5Mb.

** But I cannot fetch the request more then 3.8Mb **

If i try to fetch more then 3.8 Mb then it gives me an Error.

Cannot access http://URL: The request to API call urlfetch.Fetch()
was too large. Can somebody explain me the reason for this.

Even i have to download the file from repository and save it on client
side.

So is there any limitaion of size to getContent of the file present in
the Repository to the server Side.?

Thanks

Joseph Lust

unread,
Mar 13, 2012, 12:30:42 PM3/13/12
to google-we...@googlegroups.com
Learning,

Seems that you're hitting a max file size of 4MB. (4e6 bytes / (4*1024*1024))*4 = 3.81, which is what you're getting, since somewhere along the line a MB is using 1e6 bytes, not 1048576 bytes.

Are you accessing an ASP application? The default file export limit is 4MB there. Perhaps that is the sort of limit your are hitting,

Sincerely,
Joe

learning coding

unread,
Mar 14, 2012, 4:50:39 AM3/14/12
to google-we...@googlegroups.com
Hi Joe,
There is nothing related to ASP in my code.
I doing in Java.
 
And 3.8Mb  is Max limit to To POST from server to repositary 
 
If your file size 3.81Mb is gives you the same error.
 
  Cannot access http://URL: The request to API call urlfetch.Fetch()
was too large.   Can somebody explain me the reason for this.
 
  

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/GYQItAtKswMJ.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Reply all
Reply to author
Forward
0 new messages