Skip to content

Behind a network proxy :"invalid IP address (HTTP 400)" #763

Description

@meepmeep

Hi

I’m behind a network proxy that exposes the external IP address of the egress proxy, along with an "ORG_IP : <my.real.ip.address>"

Image

When trying to upload something on Plik, I get this message : "invalid IP address (HTTP 400)"

And this in console when opening the web page :

[06/29/2026 14:39:22][DEBUG ] invalid IP address -- 400

In configuration file, I have :

SourceIpHeader = "X-FORWARDED-FOR"
(and I tried with : X-Forwarded-For)

From the client side, it looks like there are multiple IP addresses in the X-Forwarded-For header :
"X-Forwarded-For": [
"86.x.y.z, 24.a.b.c, 66.d.e.f"

Do you have any idea how this can be fixed?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions