Fix SockChat Connection Issues on Verizon Wireless
This topic has been archived.
#6765
When using Verizon Wireless Long Term Evolution (LTE) cellular data, the SockChat chatroom will rapidly disconnect and reconnect causing a major annoyance for users. An example of this is here:
https://jonquan.moe/images/flash2/Screenshot_20190925-080941.png
after a while flash gets mad and ip bans me
https://jonquan.moe/images/flash2/Screenshot_20190926-144336.png
is there any way you might be able to force a keep alive packet forcing the connection to stay active. please not that i am in an area with strong signal so its not a moving from strong signal to weak signal case, this is a case of verizon dropping a connection for some reason
https://jonquan.moe/i/Arch_Linux_logo.svg.png
btw i use arch, and you should too, shame on you.
enable IPv6 or suffer from IPv4 deprectiation
#6766
this is not related to verizon but to firefox reloading inactive tabs in the background to check for notifications and whatnot, just close the tab
the chat isn't even set to reconnect manually after a disconnect so it's triggered by a full page reload
https://sig.flash.moe/signature.png
#6767
thats intresting. when i am on school wifi i dont get the disconnect reconnect thing. it only occurs on lte. is this some feature annoyance on firefox to only do this on cellular data or what?
https://jonquan.moe/i/Arch_Linux_logo.svg.png
btw i use arch, and you should too, shame on you.
enable IPv6 or suffer from IPv4 deprectiation
#6768
no clue
https://sig.flash.moe/signature.png
#6770
im assuming ur phone goes into idling and ends active connections when on LTE to preserve battery life
Dying of boredom, I'll try it all...
#6772
just make a sockchat mobile app that stays connected :^)
https://kagari.moe/outer_assets/flashii/signature.png https://kagari.moe/outer_assets/flashii/signature-sites.pnghttps://kagari.moe/outer_assets/flashii/signature-osksh.pnghttps://kagari.moe/outer_assets/flashii/signature-kagarimoe.pnghttps://kagari.moe/outer_assets/flashii/signature-social.pnghttps://kagari.moe/outer_assets/flashii/signature-twitter.pnghttps://kagari.moe/outer_assets/flashii/signature-github.pnghttps://kagari.moe/outer_assets/flashii/signature-blog.png
#6774
here's a quick bandaid i use:
https://pastebin.com/Xgn1mhz0

requires python 3, with the websockets and aiohttp libraries
run on your server or computer you run 24/7

config.json:
{"uid": <your uid>, "password": "<your password>"}

thanks to flash's security decisions, it works even with 2fa enabled

it crashes sometimes
#6779
maybe ill try it. i think flash and win are right. Verizon phones shut off lte data, and turns it on like one or twice a minute and when that occurs firefox refreshes causes that annoying disconnect and reconnect.
https://jonquan.moe/i/Arch_Linux_logo.svg.png
btw i use arch, and you should too, shame on you.
enable IPv6 or suffer from IPv4 deprectiation
#6797
Moving to bug reports and closing as invalid.
https://sig.flash.moe/signature.png
This topic has been archived.