Saturday, August 25, 2007

How to delay the SRP reconnection




This post is the resolution for SRP key Connection, brought to my attention by one of my visitor, so Howie gets the credits.

http://smtp25.blogspot.com/2007/07/bad-port-3101-at-srpnablackberrynet.html

Procedure

The BlackBerry Enterprise Server may disconnect the Server Routing Protocol (SRP) connection to the BlackBerry Infrastructure. This disconnection may be due to the following network conditions:

  • Packet loss
  • Latency
  • Other symptoms of poor network conditions

Immediately following the SRP disconnection, the BlackBerry Enterprise Server attempts to reconnect to the BlackBerry Infrastructure. However, if poor network conditions persist during this time, the SRP connection may be repeatedly disconnected and reconnected by the BlackBerry Enterprise Server.

The BlackBerry Infrastructure is configured to disable SRP identification (IDs) that establish and exceed five connections within one minute.

Note: To actively monitor the BlackBerry Enterprise Server's SRP connection, see KB05279.

Warning:

The following procedure involves modifying the computer registry. This can cause substantial damage to the Microsoft Windows® operating system. Document and back up the registry entries prior to implementing any changes. Logic code has been added to the following versions of the BlackBerry Enterprise Server, whereby the SRP connection, following a disconnection, will be delayed to prevent the SRP IDs from being disabled:

  • BlackBerry® Enterprise Server for Lotus Domino software version 4.1 Service Pack 4

  • BlackBerry® Enterprise Server for Microsoft Exchange software version 4.1 Service Pack 2

  • BlackBerry® Enterprise Server for Novell GroupWise software version 4.1 Service Pack 2

Note:

The delay will only function correctly while the BlackBerry Enterprise Server services are running. Restarting the BlackBerry Enterprise Server may prevent the delay from functioning as expected.

Important: Restarting certain BlackBerry Enterprise Server services will delay email message delivery to BlackBerry devices. For more information, see KB04789

For earlier versions of the BlackBerry Enterprise Server, the following registry value can be used to add a delay between the time the BlackBerry Enterprise Server detects the SRP connection has been disconnected and when it attempts to reconnect to the BlackBerry Infrastructure.

The following Registry value can be used to add a delay between the time the BlackBerry Enterprise Server detects the SRP connection has been disconnected and when it attempts to reconnect to the BlackBerry Infrastructure.

  • On the computer hosting the BlackBerry Enterprise Server, select Start > Run, type regedit, and click OK. This process opens the Registry Editor.   
  • Go to one of the following locations, depending on the BlackBerry Enterprise Server software version:

    For BlackBerry Enterprise Server software version 2.2, go to

    HKEY_LOCAL_MACHINE\Software\Research In Motion\BlackBerry\Server\

    For BlackBerry Enterprise Server software version 3.6, go to

    HKEY_LOCAL_MACHINE\Software\Research In Motion\BlackBerry\Servers\<BlackBerry Enterprise Server_name>

    For BlackBerry Enterprise Server software versions 4.0 and 4.1, go to

    HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Dispatcher\

  • Determine if the InitialReconnectTimeout registry entry is present.
    • If the InitialReconnectTimeout entry exists, change the Data field to the number of seconds you would like the SRP reconnection to be delayed.
    • If the InitialReconnectTimeout registry entry does not exist, create a registry entry with the following values:

 
 

Name

Type

Data

InitialReconnectTimeout

DWORD

This value specifies the number of seconds the SRP reconnection is to be delayed. For example, a value of 15 delays reconnection for 15 seconds. For the Base, specify Decimal.

 
 

Note: To try and prevent the BlackBerry Enterprise Server from disabling its own SRP ID due to network conditions that cause the SRP to disconnect, this value should be set to a minimum of 15 seconds. This ensures that the BlackBerry Enterprise Server will not make five SRP connections within one minute, thereby preventing the SRP from being disabled.

RIM

Best,

Oz Ozugurlu

No comments: