To determine what process caused the SSL handshake failure error, you need to investigate further. You can utilize the information provided in the syslog and cross-reference it with other logs or tools to pinpoint the exact process. Here are some steps to help you identify the offending process:
-
Check Nearby Log Entries:
Check the syslog or other relevant logs around the same timestamp (0715/112003.229579) for additional context. You might find preceding or following entries that can give you more information about the originating process.
sudo grep -A 20 -B 20 "0715/112003.229579" /var/log/syslog
-
Check Process Information:
The process gdm-x-session seems to be reported as the initiator of the log. You may find related child processes by checking what processes were running at that time:
Identify the current PID:
Since [2388614] is the PID of gdm-x-session, list its child processes:
ps --ppid 2388614
You might get a list of child processes that gdm-x-session spawned, which can give hints about specific applications or components that were active.
-
Look for Active Connections:
You can use network monitoring tools like netstat, lsof, ss, or tcpdump to look for active connections to find out which processes are attempting to make SSL connections.
For instance, to find out which process is making network requests:
sudo netstat -ptun
Or using lsof to check for open network connections:
sudo lsof -i -n -P
-
Check Browser or Application Logs:
If you suspect a browser or a specific application (like curl, wget, a GUI application, etc.) is making the request, check their respective logs. Browsers like Firefox or Chrome might have their own logs or debugging tools.
-
Use strace or ltrace:
Warning: This approach is more advanced and involves attaching a debugger to running processes. It can help you see what file or network operations are being performed by the process. Use it with caution.
To trace system calls involving SSL (e.g., if you identify the PID is 12345):
sudo strace -p 12345 -e trace=network
-
Monitor in Real-time:
Use tools like iftop or tcpdump to monitor network traffic in real-time and identify which process is generating the traffic:
sudo iftop
or
sudo tcpdump -i any -A
After gathering more information using the steps above, you should have a clearer indication of which process caused the SSL handshake failure. The exact method you use will depend on the specific environment and tools available on your system. If you need continuous monitoring, consider setting up more detailed logging and analytics for network and SSL errors.