Cannot open Seadoc document, nor crate a wiki page

Hello, one issue I have with container setup, but using systemd quadlet to run in rootless podman.

But anyway, my question is how do the systems communicate with each other directly? Because within the network, they can communicate lets say http://seafilehttp://seadoc

But the browser should access the services as https://seafile.example.com and https://seafile.example.com/sdoc-server

From within the container private network they cannot even access the reverse proxy to reach each other with the full domain name.

So I have setup in seafile server config the full domain “https://seafile.example.com/sdoc-server” and in seadoc I have set SEAHUB_SERVICE_URL=http://seafile

I see no errors in the seadoc logs but I see “Load doc content error” in browser trying to open a new sdoc file.

Also in browser console I see

GET https://seafile.example.com/sdoc-server/api/v1/docs/66d458e7-1ce7-4847-a0af-f90fa7e1006a/ [HTTP/2 404 7ms]

I believe my proxy redirects https://seafile.example.com/sdoc-server/ to the root of seadoc and /socket.io to /socket.io

Any idea where might be the issue? Thank you!

Below is the failed request in browser console:

{
  "message": "Request failed with status code 404",
  "name": "AxiosError",
  "stack": "G@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:4342276\nTe@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:4353767\nv@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:4358075\nEventHandlerNonNull*86425/Le</<@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:4358334\n86425/Le<@https://seafile.example.com/media/assets/frontend/static/js/...cut because of messaage size limit...\nbu@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3578609\n38345/Xa/<@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3528161\n31761/t.unstable_runWithPriority@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3891454\nWa@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3527938\nXa@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3528108\nqa@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3528041\nmu@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3576083\nxi@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3547696\n28321/H/</<@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3611732\nt@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3604783\n94449/value/<@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3047777\nvalue@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3047754\n94449/value/l/<@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3076273\n94449/value/a/</<@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3078155\n94449/value/a/<@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3078204\n94449/value/<@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3070201\nvalue@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3069717\n94449/value/<@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3071676\n94449/value/<@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3070625\n35740/value/<@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3044889\n35740/d/o.onreadystatechange@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3043419\nEventHandlerNonNull*d@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3043368\nvalue@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3044628\nvalue@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3044554\nvalue@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3070536\nvalue@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3071439\n94449/value/<@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3071127\nvalue@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3071104\nvalue@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3071182\nvalue@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3077032\nvalue@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3080004\nN@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3604642\n28321/H/<@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3611714\nH@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3611688\no@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3612150\nsi@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3542369\nXs@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3594703\nxu@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3581951\nNu@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3581879\nSu@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3581740\nbu@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3578706\n38345/Xa/<@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3528161\n31761/t.unstable_runWithPriority@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3891454\nWa@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3527938\nXa@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3528108\nqa@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3528041\nju@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3587844\n31761/t.unstable_runWithPriority@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3891454\nWa@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3527938\nPu@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3587119\n38345/Mu/<@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3587030\nP@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3890514\n31761/b.port1.onmessage@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3889236\nEventHandlerNonNull*31761@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3889160\nn@https://seafile.example.com/media/assets/frontend/static/js/runtime.8e8ba7d3.js:1:147\n75340@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3892102\nn@https://seafile.example.com/media/assets/frontend/static/js/runtime.8e8ba7d3.js:1:147\n38345@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3483074\nn@https://seafile.example.com/media/assets/frontend/static/js/runtime.8e8ba7d3.js:1:147\n17119@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:3601833\nn@https://seafile.example.com/media/assets/frontend/static/js/runtime.8e8ba7d3.js:1:147\n57522@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:1017243\nn@https://seafile.example.com/media/assets/frontend/static/js/runtime.8e8ba7d3.js:1:147\n@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:4926043\nt@https://seafile.example.com/media/assets/frontend/static/js/runtime.8e8ba7d3.js:1:6757\n@https://seafile.example.com/media/assets/frontend/static/js/viewFileSdoc.db4ce4b9.js:2:73\n",
  "config": {
    "transitional": {
      "silentJSONParsing": true,
      "forcedJSONParsing": true,
      "clarifyTimeoutError": false
    },
    "adapter": [
      "xhr",
      "http",
      "fetch"
    ],
    "transformRequest": [
      null
    ],
    "transformResponse": [
      null
    ],
    "timeout": 0,
    "xsrfCookieName": "XSRF-TOKEN",
    "xsrfHeaderName": "X-XSRF-TOKEN",
    "maxContentLength": -1,
    "maxBodyLength": -1,
    "env": {},
    "headers": {
      "Accept": "application/json, text/plain, */*",
      "Authorization": "Token REDACTED"
    },
    "method": "get",
    "url": "https://seafile.example.com/sdoc-server/api/v1/docs/55d418e7-1ce7-4847-a0af-f90fa7e1006a/",
    "allowAbsoluteUrls": true
  },
  "code": "ERR_BAD_REQUEST",
  "status": 404
}