-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IP reported as null when proxied through Apache #609
Comments
Sorry, sent early. About to finish filling out |
The image mentioned by you is not made by us so i don't know the difference. |
Duplicate of #603 |
It’s more than just an unknown ISP, the IP address is showing as null too. They said they couldn’t help me because they didn’t make the software, so I’m not quite sure what else to do. |
Have you tried to use our image? |
I had not actually, I just tried it and the same thing occurs. Here's my version: '3.7'
services:
speedtest:
container_name: speedtest
image: ghcr.io/librespeed/speedtest:dev
restart: always
volumes:
- ./speedtest/db:/database
environment:
MODE: standalone
TELEMETRY: true
PASSWORD: REDACTED
EMAIL: [email protected]
DISTANCE: mi
ports:
- "9065:80" |
@sstidl any update on this? if not sorry to comment. |
This problem is incomprehensible to me. Sorry. It has to be related to something in your own environment. |
I’ll see if I can figure it out then, but keep in mind I’m using this through Apache as a reverse proxy. In that image the URL is directly to the container, as shown by the port number. But I’ll see what I can do. |
if you are using a revproxy you have to learn how to forward the correct headers. |
Sorry to bump this but it's been a long time and I still haven't figured it out. Is there anything else I can try? |
Sorry to say but this is not a problem related to speedtest. I can't help you there. |
Description
I use the Docker container of librespeed from linuxserver.io behind an Apache reverse proxy. When taking a speed test, my client IP always shows as null. I have set the
X-Forwarded-For
header, which works in other applications. I originally asked the linuxserver team about this, and they suggested Apache might be unsupported which isn’t something they control, and that there’s more to the IP check then that one header.Server
Apache: 2.4.57
Podman: 4.6.1
Container:
registry.gitlab.com/linuxserver.io/docker-librespeed/librespeed:latest
Client
Safari and Firefox on macOS 14.4, Microsoft Edge and Firefox on Windows 11 21H2, Safari on iOS 17.4.1
Steps to reproduce
Expected behaviour
The IP should show.
Screenshots
(Will upload a screenshot of network debugging when I’m at my computer later today)
The text was updated successfully, but these errors were encountered: