• GitHub
  • Documentation
  • Discord
  • Donate
search
  • chevron_right Threads
  • label Support
  • label Docker

Deactivate SSL/HTTPS? Use extern reverse proxy!

Justman10000
May 20, 2023
chat_bubble_outline 33
  • lock
first_page chevron_left
first_page chevron_left
  • link
    Justman10000
    Members 44 posts
    May 22, 2023, 7 p.m. May 22, 2023, 7 p.m.
    link
    @rafalp has written:

    Have you verified that your configuration is correct and the problem is with Misago docker, eg. by running different app using your apache config?

    I ventured deeper into the system! The only log entry that repeats when I try to call Misato is this one:

    invalid request block size: 21573 (max 4096)...skip

  • link
    Justman10000
    Members 44 posts
    May 22, 2023, 7:01 p.m. May 22, 2023, 7:01 p.m.
    link

    This time I adapted and used the method of @tetricky

  • link
    rafalp
    Project Lead 1981 posts
    May 22, 2023, 7:03 p.m. May 22, 2023, 7:03 p.m.
    link

    This is english speaking forum, please make all posts in English. Thanks! :)

    Also happy that @tetricky's solution works for you!

  • link
    Justman10000
    Members 44 posts
    May 22, 2023, 7:06 p.m. May 22, 2023, 7:06 p.m.
    link
    @rafalp has written:

    This is english speaking forum, please make all posts in English. Thanks! :)

    I have?

    @rafalp has written:

    Also happy that @tetricky's solution works for you!

    Exactly not, above mentioned error

  • link
    rafalp
    Project Lead 1981 posts
    May 22, 2023, 7:09 p.m. May 22, 2023, 7:09 p.m.
    link
    @Justman10000 has written:

    I have?

    No. Your previous post that I've deleted was in german.

    invalid request block size: 21573 (max 4096)

    According to this stack overflow question the issue is either wrong protocol being configured in uWSGI or uWSGI is using wrong protocol when talking to Apache.

  • link
    Justman10000
    Members 44 posts
    May 22, 2023, 7:27 p.m. May 22, 2023, 7:27 p.m.
    link
    @rafalp has written:
    @Justman10000 has written:

    I have?

    No. Your previous post that I've deleted was in german

    And you're deleting it because? I could have edited it too

    @rafalp has written:
    @Justman10000 has written:

    invalid request block size: 21573 (max 4096)

    According to this stack overflow question the issue is either wrong protocol being configured in uWSGI or uWSGI is using wrong protocol when talking to Apache.

    I did that, but now Misago does not react at all, even without an error

  • link
    Justman10000
    Members 44 posts
    May 22, 2023, 7:29 p.m. May 22, 2023, 7:29 p.m.
    link

    For the rest, the entire log:

    Starting uWSGI 2.0.21 (64bit) on [Mon May 22 17:28:57 2023]
    compiled with version: 10.2.1 20210110 on 22 May 2023 17:25:50
    os: Linux-5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21)
    nodename: 4cfe4a4d57fb
    machine: x86_64
    clock source: unix
    pcre jit disabled
    detected number of CPU cores: 6
    current working directory: /misago
    detected binary path: /usr/local/bin/uwsgi
    uWSGI running as root, you can use --uid/--gid/--chroot options
    WARNING: you are running uWSGI as root !!! (use the --uid flag)
    chdir() to /misago/
    your memory page size is 4096 bytes
    detected max file descriptor number: 1048576
    lock engine: pthread robust mutexes
    thunder lock: disabled (you can enable it with --thunder-lock)
    uwsgi socket 0 bound to TCP address 0.0.0.0:3031 fd 6
    uWSGI running as root, you can use --uid/--gid/--chroot options
    WARNING: you are running uWSGI as root !!! (use the --uid flag)
    Python version: 3.11.3 (main, May 4 2023, 05:53:32) [GCC 10.2.1 20210110]
    Python threads support is disabled. You can enable it with --enable-threads
    Python main interpreter initialized at 0x7f7277357558
    uWSGI running as root, you can use --uid/--gid/--chroot options
    WARNING: you are running uWSGI as root !!! (use the --uid flag)
    your server socket listen backlog is limited to 100 connections
    your mercy for graceful operations on workers is 60 seconds
    mapped 671795 bytes (656 KB) for 4 cores
    Operational MODE: preforking
    WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x7f7277357558 pid: 1 (default app)
    uWSGI running as root, you can use --uid/--gid/--chroot options
    WARNING: you are running uWSGI as root !!! (use the --uid flag)
    uWSGI is running in multiple interpreter mode
    spawned uWSGI master process (pid: 1)
    spawned uWSGI worker 1 (pid: 7, cores: 1)
    spawned uWSGI worker 2 (pid: 8, cores: 1)
    spawned uWSGI worker 3 (pid: 9, cores: 1)
    spawned uWSGI worker 4 (pid: 10, cores: 1)

  • link
    Justman10000
    Members 44 posts
    May 22, 2023, 10:20 p.m. May 22, 2023, 10:20 p.m.
    link

    After further research I found this in the .ini file:

    module = misagodocker.wsgi

    However, the misagodocker.wsgi does not exist

  • link
    rafalp
    Project Lead 1981 posts
    May 23, 2023, 12:29 a.m. May 23, 2023, 12:29 a.m.
    link

    What WSGI file are you using? Is your setup based on misago-docker, main repo or 100% custom?

  • link
    Justman10000
    Members 44 posts
    May 23, 2023, 2:05 a.m. May 23, 2023, 2:05 a.m.
    link

    Self buildet with the Dockerfile

  • link
    rafalp
    Project Lead 1981 posts
    May 23, 2023, 2:12 a.m. May 23, 2023, 2:12 a.m.
    link

    Did you also include the misagodocker directory? Its required too.

  • link
    Justman10000
    Members 44 posts
    May 23, 2023, 9:58 a.m. May 23, 2023, 9:58 a.m.
    link
    @rafalp has written:

    Did you also include the misagodocker directory? Its required too.

    Is already in the repo

  • link
    Justman10000
    Members 44 posts
    May 23, 2023, 6:05 p.m. May 23, 2023, 6:05 p.m.
    link

    This post is hidden. You cannot see its contents.

    Hidden by rafalp on May 23, 2023, 9:08 p.m..

  • link
    rafalp
    Project Lead 1981 posts
    May 23, 2023, 6:17 p.m. May 23, 2023, 6:17 p.m.
    link

    This post is hidden. You cannot see its contents.

    Hidden by rafalp on May 23, 2023, 9:08 p.m..

  • link
    Justman10000
    Members 44 posts
    May 23, 2023, 8:02 p.m. May 23, 2023, 8:02 p.m.
    link

    This post is hidden. You cannot see its contents.

    Hidden by rafalp on May 23, 2023, 9:08 p.m..

  • link
    Justman10000
    Members 44 posts
    May 24, 2023, 4:38 p.m. May 24, 2023, 4:38 p.m.
    link

    This post is hidden. You cannot see its contents.

    Hidden by rafalp on May 24, 2023, 5:03 p.m..

  • link
    rafalp
    Project Lead 1981 posts
    May 24, 2023, 5:19 p.m. May 24, 2023, 5:19 p.m.
    link

    Yeah, we are done here.

first_page chevron_left
arrow_upward Go to top
  • This site uses cookies to gather statistical data for use in traffic analysis.
  • GitHub
  • Documentation
  • Discord
  • Donate
  • Terms of service
  • Privacy policy
powered by misago