Error Parsing allowedNetworks

Server Version#: 1.19.1.2645
Server OS: Ubuntu 18.04.4
Player Version#: N/A

Apr 17, 2020 05:35:34.251 [xxxxxxxxxx] ERROR - Error parsing allowedNetworks ’ 10.10.0.0 24’: Invalid argument

I discovered this error is being throw if you have multiple CIDR ranges in the LAN networks setting. This only happens if you have a space AFTER the comma.

Example:

This works fine and doesn’t throw any errors:
192.168.1.0/24,10.10.0.0/24

This throws the parsing error:
192.168.1.0/24, 10.10.0.0/22

This is very easy to replicate. I added additional cidr ranges and every time I added the space after the comma, the next cidr range would get a parsing error.

Edit: The same error gets thrown even if you use a single ip address such as ", 192.168.2.1"

Apr 17, 2020 05:45:36.013 [xxxxxxxxxxxxx] ERROR - Error parsing allowedNetworks ’ 192.168.2.1’: Invalid argument

2 Likes

Don’t add the space after the comma.

1 Like

That is the fix, however, for someone that doesn’t know about the issue, they would never know that network(s) are not actually being included properly. This error also fills up logs quite quickly and makes it hard to troubleshoot other issues.

I appreciate your reply @OttoKerner, I’m just trying to simply pass information along to others and hope for a proper fix someday. I’m just trying to make Plex better as we all are here.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.