Troubleshooting session related errors
Symptoms
- ARERR 9201 is displayed.
- Seems to be random as the user can work for a while but then gets the error.
Scope
All users can experience the problem.
Resolution
Perform the following steps to troubleshoot the issues related to Mid Tier sessions:
Step | Task | Description |
---|---|---|
1 | Try to bypass the load balancer. | Bypass the load balancer and validate if the same problem occurs. For example, let us consider that the load balancer "examplelb" front ends two Mid Tiers, midtier1 and midtier2. These Mid Tiers are running Tomcat on HTTP port 8080. When you access Mid Tier through the load balancer, the example URL is as follows: http://examplelb/arsys/shared/login.jsp When you directly access the Mid Tier, without load balancer, the example URL is as follows: http://midtier1:8080/arsys/shared/login.jsp For more information, see the knowledge article ARERR 9201 Session timeout errors in a loadbalanced environment. |
2 | Determine the frequency of the error. | Analyze the following:
|
3 | Enable logs and reproduce the problem. |
The network capture records the error. Examine the requests and perform the following checks:
In Mid Tier 19.08, logging surrounding the session has been enhanced to make it easier to troubleshoot. |
4. | Disable logging. | To disable logging, follow the steps described in Enabling-logs-for-Mid-Tier-troubleshooting. Remember to disable the logs from each Mid Tier and AR System server for which logging was enabled. |
6 | Collect the logs. | Copy the logs to another location, where you can review them, so that they do not get overwritten. The logs may be large depending on volume of activity during the logging period. Collecting Mid Tier and tracelogger logs Create a zip file of all the logs in the log location specified on the Log Settings page of Mid Tier Configuration Tool. C:\Program files\BMC Software\ARsystem\midtier\logs For Linux, the default location is: /opt/bmc/ARsystem/midtier/logs Collecting Network capture
|
7 | Create a BMC Support case. | Collect and send logs with detailed information when creating a case with BMC Support:
|
8 | Analyze the logs. | You can review the logs and identify error messages or behaviors. Use the table below to troubleshoot based on the symptoms and error messages. |
After you determine a specific symptom or error message, use the following table to identify the solution:
Symptom | Where | Action | Reference |
---|---|---|---|
ARERR 9201 occurs when you perform an action after a delay. | Mid Tier 9.x or later | Check the session timeout interval on the General Settings page of Mid Tier Configuration Tool If the problem is specific to one user, check the user's AR System User Preference record. | See the knowledge article ARERR 9201 error occurs when you execute an action after a delay |
ARERR 9201 is related to proxy server redirection | Mid Tier 9.x or later | Configure load balancer to use a cookie based session affinity rather than IP. | See the knowledge article ARERR 9201 related to proxy server redirection |
ARERR 9201 occurs when Mid Tier page does not load. Network capture shows 9201 error. | Only specific users | This might occur because of the high value in the Session Timeout in Minutes field on the AR System User Preference record for the specific user. Perform the following steps to resolve the issue:
| See the knowledge article Midtier page never loads at login - network capture shows 9201 errors |