Lab 4: Troubleshooting

Task 1: Logging Levels

  1. You can turn up the logging levels specific to OAuth at Access -> Overview -> Event Logs -> Settings. Often times Informational is enough to identify issues. It is recommended to start there before going to debug. In particular pay attention session.oauth.client.last.errMsg as it contains the errors the other side reported back to you.

    image228

    image229

Task 2: Traffic Captures

  1. You can actually examine what Big-IP has sent out when acting as a client/resource server. First, capture the traffic on the tmm channel:

    tcpdump -i tmm:h -s0 -w /tmp/oauth.dmp

    image230

  2. Then attempt your login using OAuth and ctrl-c the capture to end it. Now you need to ssldump the output:

    ssldump -dr /tmp/oauth.dmp | more

    image231

    Note

    Your SSL Ciphers must support ssldump utility. Refer to the following link for further details https://support.f5.com/csp/article/K10209

Information: Logging at the Other Side

Sometimes the issue is not at your end and some providers have their own logging and reporting you can leverage. As an example, Google has a dashboard that reports errors.

Information: The Browser

Although a lot of the critical stuff is passed back and forth directly without your browser being involved, you can at least validate the browser portions of the transaction are good (e.g. are you passing all the values you should, example below for Google).