What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

🐾 Idefix Terminal — an ultimate terminal in your ASUS-Merlin GUI

I use Nginx to reverse proxy and see this in Developer Tools. I'm guessing that is why I only get the RECONNECT button.
app.js:216 WebSocket connection to 'wss://router.xxx.co.uk:8787/ws?c=Ai0wQXXmnSBlMItr&t=1747694968&s=b1e3425…' failed:

I have enabled Web Sockets for the reverse proxy. Nginx proxies to https://192.168.1.1:8080 so I have no idea what 8787 is.

Also, due to the above (I think) you end up with the below:

1747695724149.png
 
Now that you enabled the logs I can see what keeps happening and why the reconnect button keeps appearing the error that keeps happening is this:

IDEFIX[737381]: WS read error (192.168.50.208:62187): failed to get reader: failed to read frame header: EOF
May 19 23:02:22 IDEFIX[737381]: shell pid=755667 closed (192.168.50.208:62187)
 
Started seeing error from my syslog collector (Grafana loki) after upgrading to IDEFIX 1.2.2 when using the GUI or leaving.
They seem to be related to the large timestamp jump I am seeing in the messages log.


2025-05-19T19:31:39.000000-04:00 rt-ax92u rc_service[-]: httpds 4891:notify_rc idefix_generate_token
2025-05-19T19:31:39.000000-04:00 rt-ax92u custom_script[-]: Running /jffs/scripts/service-event (args: idefix_generate_token)
2025-05-19T19:31:39.000000-04:00 rt-ax92u IDEFIX[-]: Generating token for Idefix Terminal...
2025-05-19T19:31:39.420362-04:00 rt-ax92u kernel[-]: [JFFS2 DBG] (31121) jffs2_sum_write_data: Not enough space for summary, padsize = -324
2025-05-19T19:31:39.000000-04:00 rt-ax92u IDEFIX[-]: Client token: jqRKsVcnqqgz22wb
2025-05-19T19:31:39.000000-04:00 rt-ax92u IDEFIX[-]: Secret: 2f82a283f7ae918ee5f811a12fb4320ecdeb40fdda396de8c3a8a119609d953a
2025-05-19T19:31:39.000000-04:00 rt-ax92u IDEFIX[-]: Signature: ac75369795740f85320747b197e2193587ffca0e8951baf85574bc82d28e1b44
2025-05-19T19:31:39.000000-04:00 rt-ax92u IDEFIX[-]: Now: 1747697499
[ Next entries should be roughly the same time.]
2025-05-19T23:31:40.000000-04:00 rt-ax92u IDEFIX[8123]: authorised client 10.215.101.87:54243 (c=jqRKsVcnqqgz22wb)
2025-05-19T23:31:40.000000-04:00 rt-ax92u IDEFIX[8123]: WS connected (10.215.101.87:54243)
2025-05-19T23:31:40.000000-04:00 rt-ax92u IDEFIX[8123]: Starting shell: /bin/sh
2025-05-19T23:31:40.000000-04:00 rt-ax92u IDEFIX[8123]: shell pid=31171 for 10.215.101.87:54243

Message from Grafana loki:
<30>1 2025-05-19T19:45:51.837436-04:00 raspberry01 alloy 945 - - ts=2025-05-19T23:45:51.836028009Z level=error msg="final error sending batch" component_path=/ component_id=loki.write.local component=client host=raspberry01:3100 status=400 tenant="" error="server returned HTTP status 400 Bad Request (400): 2 errors like: entry for stream '{application=\"IDEFIX\", component=\"loki.source.syslog\", connection_hostname=\"rt-ax92u.dbonenet.com.\", facility=\"user\", host=\"rt-ax92u\", hostname=\"rt-ax92u\", level=\"informational\", protocol=\"udp\", service_name=\"system-logs\"}' has timestamp too new: 2025-05-20T03:45:50Z"
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top