ProjectSidewalk / SidewalkWebpage

Project Sidewalk web page
http://projectsidewalk.org
MIT License
84 stars 25 forks source link

Netty IllegalArgumentException: invalid version format errors on server #3725

Open misaugstad opened 2 weeks ago

misaugstad commented 2 weeks ago
Brief description of problem/feature

I've someone commonly seen errors in the logs on the servers that look something like this:

2024-11-02 10:35:19,327 - [ERROR] - from play.nettyException in New I/O worker #79
Exception caught in Netty
java.lang.IllegalArgumentException: invalid version format: 'ᆲ'N0ᅴ

The invalid version format that it shows can be any number of wild looking stuff! I haven't seen this cause any issues personally, but it's hard to say when it has or who it has caused issues for. When the error shows up, it'll show up dozens of times in a row in the same city.

Another example in screenshot form: Screenshot from 2024-11-04 19-31-38

Potential solution(s)

Cursory googling makes me think that it has to do with http vs https issues with the "ws" library, and that upgrading our back end libraries may end up resolving this issue on it's own. But wanted to document this so that we could verify that it's fixed after upgrading libraries.

We are upgrading back end libraries in #1258 and should take a look at this after.