manifold
manifold copied to clipboard
503 API TypeError after logging out since 5.0/5.1
Since the upgrade to 5.0 and still after updating to 5.1 every log-out process thows a 503 API TypeError
. Coming from a publicly visible URL the page is the correctly load after a second automatically. Logging-our from a restricted URL the error page stays in the browser.
In the server logs I do not find anything that points to this issue (apart from an abstract Unable to authenticate user
message, which is strange b/c the user has just logged-out. It basically starts with:
==> /var/log/manifold/nginx/manifold_access.log <==
87.240.233.108 - - [18/Aug/2020:21:08:22 +0000] "GET /api/v1/features?filter%5Bhome%5D=true HTTP/1.1" 200 5655 "https://www.melusinapress.lu/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
127.0.0.1 - - [18/Aug/2020:21:08:22 +0000] "GET /api/v1/settings? HTTP/1.1" 200 5652 "-" "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"
127.0.0.1 - - [18/Aug/2020:21:08:22 +0000] "GET /api/v1/subjects?filter%5Bused%5D=true&unpaginated=true HTTP/1.1" 200 160 "-" "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"
127.0.0.1 - - [18/Aug/2020:21:08:22 +0000] "GET /api/v1/pages? HTTP/1.1" 200 55588 "-" "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"
127.0.0.1 - - [18/Aug/2020:21:08:22 +0000] "GET /api/v1/features?filter%5Bhome%5D=true HTTP/1.1" 200 5655 "-" "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"
127.0.0.1 - - [18/Aug/2020:21:08:22 +0000] "GET /api/v1/project_collections?filter%5Bvisible_on_homepage%5D=true&filter%5Border%5D=position%20ASC HTTP/1.1" 200 18734 "-" "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"
87.240.233.108 - - [18/Aug/2020:21:08:22 +0000] "GET / HTTP/1.1" 200 36479 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
87.240.233.108 - - [18/Aug/2020:21:08:22 +0000] "GET /browser.config.js HTTP/1.1" 304 0 "https://www.melusinapress.lu/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
87.240.233.108 - - [18/Aug/2020:21:08:23 +0000] "GET /build/manifold-client-browser-7fcde5fdae57b889f5df.js HTTP/1.1" 304 0 "https://www.melusinapress.lu/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
87.240.233.108 - - [18/Aug/2020:21:08:23 +0000] "GET /build/manifold-client-browser-7fcde5fdae57b889f5df.css HTTP/1.1" 304 0 "https://www.melusinapress.lu/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
87.240.233.108 - - [18/Aug/2020:21:08:23 +0000] "GET /system/feature/434e34c0-e625-43d4-83e5-2511783cbc8b/foreground/original-d96e5f2fe79e6094c5f2228826b1e7d5.png HTTP/1.1" 200 25543 "https://www.melusinapress.lu/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
87.240.233.108 - - [18/Aug/2020:21:08:23 +0000] "GET /system/settings/1/press_logo/medium-45fb7dfcb38a2893952f5e3f7a184b17.png HTTP/1.1" 200 41497 "https://www.melusinapress.lu/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
87.240.233.108 - - [18/Aug/2020:21:08:23 +0000] "GET /system/settings/1/press_logo_mobile/small-4c6f4a4f9fbb1c52c4014caf8e811e7d.png HTTP/1.1" 200 30196 "https://www.melusinapress.lu/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
87.240.233.108 - - [18/Aug/2020:21:08:23 +0000] "GET /system/project/3b375887-7306-4098-9411-bc688f7229bf/avatar/small-2400b318f38db56281043f70c579d27d.png HTTP/1.1" 304 0 "https://www.melusinapress.lu/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
87.240.233.108 - - [18/Aug/2020:21:08:23 +0000] "GET /system/project/f90638f5-864f-4bd5-b7ae-1012452ea186/avatar/small-d226173bcf7109023aa53274f7fafd87.png HTTP/1.1" 304 0 "https://www.melusinapress.lu/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
87.240.233.108 - - [18/Aug/2020:21:08:23 +0000] "GET /system/project/45dd1329-5d97-4514-bfc8-c125b487099b/avatar/small-a614b616d926c511f53eb35d9e94fec5.png HTTP/1.1" 304 0 "https://www.melusinapress.lu/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
87.240.233.108 - - [18/Aug/2020:21:08:23 +0000] "GET /system/settings/press_logo_footers/1/original-674552d8839e4b901a6fd59bac508552aad9269a.jpg HTTP/1.1" 304 0 "https://www.melusinapress.lu/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
87.240.233.108 - - [18/Aug/2020:21:08:23 +0000] "GET /system/feature/434e34c0-e625-43d4-83e5-2511783cbc8b/background/original-05e1210d74cb09208bd3b6751dd51d6f.jpg HTTP/1.1" 304 0 "https://www.melusinapress.lu/" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
==> /var/log/manifold/client/current <==
2020-08-18_21:08:22.71040 😡 Unable to authenticate user
2020-08-18_21:08:22.74441 🎛️ Settings loaded
2020-08-18_21:08:22.74443 [SSR] App bootstrapped
2020-08-18_21:08:22.86235 [SSR] Route data fetched
2020-08-18_21:08:22.89681 - - - [18/Aug/2020:21:08:22
Could you DM me login credentials on your instance and DM them to me on Slack so I can investigate? I'm not able to reproduce this problem locally.
you find credentials in a DM on Slack
The problem seems to be bigger than expected. We collected several issues that in one or the other way appear to relate to user authorization/rights etc. Some users now also got these nice 503 error message after they delete an annotation. Other annotations (highlights and media annotations are not removable any longer by the very same persons who set them up. Again, other annotations are counted on the project page, but do not appear in the publications themselves anymore.
I would still be willing to clone the droplet for you in case this helps identifying the problem. Just drop me a message in Slack.