FOUND THE SOLUTION: I changed my WiFi network channel to channel 10. If you are having this issue it may be worth a shot to change your network channel to something else.
The cause of this is likely the issues that the RPi4 has been having recently with the HDMI signal interfering with WiFi.
Below is the original post I made.
I'm on the RPi4, running the latest version of LibreELEC.
I have been attempting to get it to connect to my WiFi with no luck. I put in my password and it does not connect. The first attempt seems to cause a crash. Second and subsequent attempts return a "Network Error Input/Output Error".
There was only one exception to this, and that time it returned a "Network Error Operation Aborted"
I don't know what to do to fix it.
What I have tried:
- Wait for network before starting kodi (30 seconds) - doesn't help, in fact I get the error "Failed to start service Wait for network"
- Wait for network before starting kodi (60 seconds) - same as above
- Wiping the SD card and using a fresh install of LibreELEC - didn't help at all.
This issue has been reported several times on these forums, but none of them have any fixes.
I tried some of the suggestions I found in Link 4. Unfortunately neither switching the USB port I put my wireless keyboard into, nor switching to a wired mouse, helped.
Does anyone know what the issue could possibly be? Or have a fix? It's very frustrating.
EDIT: Okay, so I was somehow able to get it to connect to a different network. The network I was using served as sort of a boosted wi-fi connection from a main network. Connecting to the main network somehow worked. Maybe it has something to do with the network or router? If so I'm not sure why LibreELEC would crash the first time I attempted the connection. In any case, things are working for me now. I still have no idea what the issue was though.
EDIT2: Okay, it may have connected to the network, but I don't have internet on the device. I can't seem to connect to any repository at all (not the default KODI addon repository, nor the LibreELEC repository), can't connect to my VPN, and the time servers only seem to be working occasionally. Also the Remote Connection Server consistently fails to start at the beginning. No idea what the issue could be, all the configuration options look okay.
EDIT3: New day and I still can't get it working. Somehow got the LibreELEC repository working but no other repositories are working, the VPN still isn't working, and I can't even SSH into my device. At this point I'm completely lost and with the lack of help from people who actually know how LibreELEC works, I'm about ready to throw in the towel and start looking for other kodi solutions for my RPi4 that might work better.
EDIT4: Finally managed to get a log file for it. Don't ask me how because I have been unable to upload any log files after I uploaded this one. http://ix.io/26cj
EDIT5: So I got fed up and installed Rasbian and in an absolutely bizarre turn of events the issue persists but only in 1080p. Internet works fine at 768p and lower. No clue why, but since the issue is persisting in Rasbian and not just LE, I assume my specific issue isn't related to LE.