bryancall commented on PR #12848:
URL: https://github.com/apache/trafficserver/pull/12848#issuecomment-4042808753

   Fixed in the latest push. Here's what changed:
   
   **Localhost support:**
   - `localhost`, `127.0.0.1`, and `local` are now detected and connect 
directly to the JSONRPC Unix socket — no SSH.
   - Running with no arguments defaults to localhost, so `traffic_grapher.py` 
just works on the local machine.
   
   **Blank screen / no errors:**
   - The regex pattern in the remote JSONRPC script used `\.` inside a regular 
string literal, which Python 3.12+ rejects as an invalid escape sequence. Fixed 
by using a raw string.
   - Added a startup connection test that reports pass/fail per host before 
entering the graph loop.
   - Collection errors are now displayed in red on the dashboard status bar and 
printed to stderr.
   
   **Socket path auto-discovery:**
   - If `--socket` isn't specified, the tool now auto-discovers the JSONRPC 
socket by finding `traffic_ctl` (via PATH or common install prefixes) and 
querying the runtime directory.
   
   **GUI mode:**
   - Window now starts maximized and preserves user resizes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to