Nginx's $http_x_forwarded_for can contain multiple IP addresses (in cases where a reverse proxy is used). In such cases the format used is [IP Address]([Comma][Space][IP Address])+. I guess since this value is gotten from the X-Forwarded-For header.
Gonx is able to parse [IP Address]([Comma][Space][IP Address])+ but not [IP Address]([Comma][IP Address])+.