"HTTP error 413 request entity too large" appears when the BlackBerry Browser is used to browse to a web page

Article ID: KB17318

Type: Support Content

Last Modified: 01-25-2012

 

Product(s) Affected:

  • BlackBerry Enterprise Server for Novell GroupWise
  • BlackBerry Enterprise Server for Microsoft Exchange
  • BlackBerry Enterprise Server for IBM Lotus Domino
CollapseEnvironment
  • BlackBerry® Enterprise Server 4.1 to 5.0 SP2
  • BlackBerry® Professional Software 4.1
  • BlackBerry® smartphones
CollapseOverview

When attempting to browse to a web page using the BlackBerry® Browser, the BlackBerry smartphone user receives the following error message:

HTTP error 413 request entity too large

This indicates that the web page is too large to be accessed.

CollapseCause

The maximum data amount permitted per connection setting in the BlackBerry® Mobile Data System BlackBerry MDS Connection Service is set to a lower allowable kilobyte level than required by the web page requested by the BlackBerry smartphone user.

CollapseResolution

Change the value of the maximum data amount permitted per connection setting, by completing the following steps:

BlackBerry Professional Software 4.1

  1. In the BlackBerry Manager, click the Connection Service tab.
  2. Click Edit Connection Service Properties.
  3. In the left pane, click General.
  4. Double-click Maximum KB/Connection.
  5. Type a number, in kilobytes.
  6. Click Apply.

BlackBerry Enterprise Server 4.1

  1. Open BlackBerry Manager.
  2. On the left pane, click MDS-CS service.
  3. On the right pane, click Edit Properties.
  4. In the General section, click Flow Control.
  5. Change the Maximum KB/Connection field from the default setting of 256Kb to 1024kb.
  6. Restart the BlackBerry MDS Connection Service to enable the settings to take effect.

BlackBerry Enterprise Server 5.0

  1. Open the BlackBerry Administration web site.
  2. On the left pane, under BlackBerry Solution topology, expand the BlackBerry Domain menu.
  3. Under the Component View, expand the MDS Connection Service, and then click the name of the MDS-CS service.
  4. On the right pane, click General.
  5. In the General section, select Edit Instances at the bottom of the page.
  6. Change the Maximum data amount permitted per connection (KB) field from the default of 1024kb to a value greater than the size of the page that is being requested.
  7. At the bottom of the page, click Save all.
  8. Restart the BlackBerry MDS Connection Service to enable the settings to take effect.
CollapseWorkaround

For BlackBerry Enterprise Server 4.1

BlackBerry Enterprise Server 4.1 has a maximum flow control of 1024 Kb and cannot be increased any further unlike BlackBerry Enterprise Server 5.0 which has a maximum on 10240 Kb. There are some media rich websites which require more bandwidth whereas 1024 may not be sufficient and the HTTP 413 error will still be seen on the handheld.

As a workaround, the following steps can be used to increase maximum file size of specific MIME types.

Note: The maximum KB/Connection setting for the media content type overrides the flow control setting:

Configure a maximum file size for media types

Administrators can configure the BlackBerry® MDS Connection Service to prevent access to specific media file types that exceed a maximum size.

1. In the BlackBerry Manager, in the left pane, click BlackBerry Domain.
2. On the Global tab, click Edit Properties.
3. Click Media Content Management.
4. Double-click Media Content Types.
5. Click New.
6. In the Media Content Type field, type the media type and the subtype, using standard definitions for MIME media types. Use the format <type>/<subtype>.
7. In the Maximum KB/Connection field, type the maximum file size.
8. In the Disallow content drop-down list, click False.
9. Click OK.

Examples of common MIME types:

text/html
image/jpeg
image/png
audio/mpeg

CollapseAdditional Information

Note: The size specified in this field can impact BlackBerry smartphone users when it is set to greater than the memory available on the BlackBerry smartphone. The default value of 1024kb is the suggested size for browsing.

In BlackBerry MDS Connection Service flow control settings, the maximum data amount permitted per connection (KB) for BlackBerry Enterprise Server 4.1 SP6 is 1024 KB or 1 MB.

In BlackBerry MDS Connection Service flow control settings, the maximum data amount permitted per connection (KB) for BlackBerry Enterprise Server 5.0 is 10240 KB or 10 MB.

For device that are provisioned and activated for the BlackBerry Internet Service only, please see KB29303.

Disclaimer

By downloading, accessing or otherwise using the Knowledge Base documents you agree:

   (a) that the terms of use for the documents found at www.blackberry.com/legal/knowledgebase apply to your use or reference to these documents; and

   (b) not to copy, distribute, disclose or reproduce, in full or in part any of the documents without the express written consent of RIM.


Visit the BlackBerry Technical Solution Center at www.blackberry.com/btsc.