• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Networking & Access Docker Image behind NGINX, error 400

     
    • 0 Vote(s) - 0 Average

    Docker Image behind NGINX, error 400

    axenn
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Dec
    Reputation: 0
    Country:France
    #1
    2023-12-26, 10:34 PM
    Hi,

    I tried a lot but i have always a 400 error, i don't understand why.

    At the begining i  modified my config file to have upstream to another webapp image i have, and it worked perfectly. At the end i followed the NGINX tutorial and user 127.0.0.1 as the docker container IP, problem still the same.

    I would to user it from wan.

    Sincerily.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 11,852
    Threads: 10
    Joined: 2023 Jun
    Reputation: 347
    Country:United States
    #2
    2023-12-26, 11:12 PM
    Set the IP to the actual IP of the jellyfin container. Depending on your setup, 127.0.0.1 won't reach Jellyfin.
    Jellyfin 10.10.3 (Docker)
    Ubuntu 24.04 LTS 
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
    [Image: GitHub%20Sponsors-grey?logo=github]
    axenn
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Dec
    Reputation: 0
    Country:France
    #3
    2023-12-27, 06:02 AM (This post was last modified: 2023-12-27, 07:10 AM by axenn. Edited 1 time in total.)
    hi, thank you for your answer.

    as a dumb i wrote the wrong port, i didn't set the default port in entry for the docker image.

    Now i changed it, it's a 502 552 error.
    I removed SELinux for the while, but it's not enough.

    For the ip i modified 127.0.0.1 to try with the one used by the docker in its subnet, but problem remains.


    PS: bridge mode configuration
    axenn
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Dec
    Reputation: 0
    Country:France
    #4
    2023-12-27, 06:11 PM
    ok i think i found... it was a 400 finally.

    i set the line : 'proxy_set_header Host $host;' BUT ... There were a little space just before 'HOST'.

    I understood it by wanting to install a certificate with certbot despite the fact i could'nt connect, just to see if there were a limitation somewhere by not using ssl.

    Nginx -t didn't see any error. But Certbot said me 'Could not parse file: /etc/nginx/conf.d/XXXX.conf due to Expected stringEnd, found 's' (at char 0), (line:1, col:1)"
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 11,852
    Threads: 10
    Joined: 2023 Jun
    Reputation: 347
    Country:United States
    #5
    2023-12-29, 04:15 PM
    (2023-12-27, 06:11 PM)axenn Wrote: Nginx -t didn't see any error. But Certbot said me 'Could not parse file: /etc/nginx/conf.d/XXXX.conf due to Expected stringEnd, found 's'  (at char 0), (line:1, col:1)"

    Check this post out?
    https://community.letsencrypt.org/t/cert...p/185067/3
    Jellyfin 10.10.3 (Docker)
    Ubuntu 24.04 LTS 
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode