through telnet, everything seems to work fine. When I use the web telnet client, the output looks good, but the username prompt produces garbage with typing and, of course, I can't log in that way.
That would be great! It is accessible at http://2cc.us:8080. I have pretty
Thanks to everyone for the help. Now that I have done a few reboots and some proxy work, everything seems to be working very well!
Are you back on the latest websocketservice.js, or still rolled back?
---
ï¿ Synchronet ï¿ fTelnet Demo Server - ftelnet.synchro.net
Can you give this version a shot? I made two commits last year, and this is the first of the two, so based on whether it works or is garbled I'll know which of the two commits introduced the issue.
https://tinyurl.com/ysc38wxv
I put in the version of websocketservice.js you linked here and it is back to garbled input. Also, it doesn't use the ANSI terminal, only the dumb terminal. I will be rolling back again to get it to work again.
The debug .js file, services.ini changes, port forwarding for the debug ports are all set up. Have at it!!
The debug .js file, services.ini changes, port forwarding for the debug ports are all set up. Have at it!!
FWebSocketState=WEBSOCKET_NEED_PACKET_START, FFrameOpCode=2
FWebSocketState=WEBSOCKET_NEED_PAYLOAD_LENGTH, InByte=129, FFrameMasked = true, FFramePayloadLength = 1
FWebSocketState=WEBSOCKET_NEED_MASKING_KEY, InByte=2301443968, FFrameMask = 137 45 63 128
FWebSocketState=WEBSOCKET_DATA, InStr=232
tempBytes = 232
if (FFrameMasked) InByte ^= FFrameMask[FFramePayloadReceived++ % 4];
The revised debug.js is in place
Things just keep getting weirder...the latest version is working as expected! But there weren't any logic changes at all, just two extra debug outputs, so there's no reason for this version to work and the previous
Things just keep getting weirder...the latest version is working as expected! But there weren't any logic changes at all, just two extra debug outputs, so there's no reason for this version to work and the previous version to be broken.
Can you try running both debug versions side by side? That'll let me see if they're now both working, or if the older version is still broken. And if the older version is still broken, then I'll have to bring in another set of eyes because clearly I'm missing something.
debug2.js is in place services.ini is updated as well. My firewall is looking like swiss cheese, but I am glad I can contribute to improving things.
lol, yeah it's a lot of open ports now! The second debug version isn't needed anymore, so you can remove websocketservice-debug2.js and the services.ini entries for ports 1125 and 11255.
Then with echicken's help I think the cause has been determined, so I have a new version for you to test that can be saved over websocketservice-debug.js:
https://tinyurl.com/3ucpcuj8
And thanks for all the help testing this issue. Looks like this may be specific to raspi/banana pi installs, so it'll help any other sysops running on those devices once we have a working fix.
I have made the changes as above. Let me know how it goes!
Ignore my previous message -- I was able to get a virtual raspi working with qemu, and the version I linked to in the previous message still doesn't work.
But after a bunch more trial-and-error, I think I finally have a fixed version. It works on the virtual instance, hopefully it works on real hardware too!
Behold! I put your new websocketservice.js in place (not on the debug port, but the standard port) and it seems to be working well! This is fantastic!
Sysop: | MarisaG |
---|---|
Location: | South San Francisco, CA |
Users: | 5 |
Nodes: | 10 (0 / 10) |
Uptime: | 230:38:31 |
Calls: | 123 |
Files: | 36 |
Messages: | 30,547 |