nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

[BUG] Streams on Docker are broken completely since 2.12.X

Open vextv opened this issue 1 year ago • 7 comments

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes / No

Describe the bug Since any Version newer than 2.11.3 there seems to be a problem with saving the values you input to configure a stream. Any time you try to edit an already existing host and want to save your configuration (doesn't matter if you actually change any values or not) you get the error seen in the screenshot below.

Nginx Proxy Manager Version 2.12.X

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Streams'
  2. Click on 'Edit Stream' (you must already have one configured)
  3. Enter '443' as incoming port
  4. Enter an IP to Forward to (ex: 192.168.178.111)
  5. Enter '8443' as 'Forward Port'
  6. Click 'Save'
  7. See error: Screenshot 2025-01-11 130627

Expected behavior In any version below 2.12.X you can enter this configuration and save it succesfully

Operating System Standard Docker Container on Debian 12

Additional context Tested in multiple Versions, the bug exists since "2.12.0" upwards

vextv avatar Jan 11 '25 12:01 vextv

I have same problem. It occurs when Nginx Proxy Manager can't find the forward host. When the host is online you can delete the old Stream and create new and it will work. I also have found that Nginx Proxy Manager will crash if the forward host goes down. I have many times needed to delete Stream config files manually to get NPM to start again.

DJaq02 avatar Jan 14 '25 06:01 DJaq02

I have an issue very similar to what's described here by @DJaq02 , if you recreate a container behind one of these, you're forced ot restart the stream to have it work again.

jaitaiwan avatar Jan 15 '25 13:01 jaitaiwan

I have the same question

jjcszxh avatar Feb 05 '25 14:02 jjcszxh

I'm experiencing the same issue. When checking the NPM logs, I see the following:

unknown format "ipv4" ignored in schema at path "#/properties/forwarding_host/anyOf/1"
unknown format "ipv4" ignored in schema at path "#/properties/forwarding_host/anyOf/1"
unknown format "ipv6" ignored in schema at path "#/properties/forwarding_host/anyOf/2"
unknown format "ipv6" ignored in schema at path "#/properties/forwarding_host/anyOf/2"

After pulling the latest image (dated JUL 30, 2025) and setting my own mysql db, NPM can save the stream without errors, BUT the stream is NOT effective.

UPDATE solution:

  1. add database configuration in docker-compose.yml
    environment:
      DB_MYSQL_HOST: ${IP_OR_DOMAIN}
      DB_MYSQL_PORT: ${PORT}
      DB_MYSQL_USER:  ${DB_USER}
      DB_MYSQL_PASSWORD: ${DB_PWD}
      DB_MYSQL_NAME: ${DB_NAME}

this would fix the ERROR "data must NOT have additional properties." and unknown format "ipv4" ignored in schema at path "#/properties/forwarding_host/anyOf/1".

  1. Using network mode HOST instead or adding port like ${STREAM_PORT}:${STREAM_PORT} in docker-compose.yml, makes steams effective.

G1ume avatar Jul 30 '25 11:07 G1ume

Issue is now considered stale. If you want to keep it open, please comment :+1:

github-actions[bot] avatar Feb 06 '26 02:02 github-actions[bot]

I'm facing the same issue. Stream is not effective / applied even though it shows active on NPM dashboard.

hrhv avatar Feb 06 '26 06:02 hrhv

Issue is now considered stale. If you want to keep it open, please comment :+1:

github-actions[bot] avatar Sep 08 '26 01:09 github-actions[bot]