gotson / komga

Media server for comics/mangas/BDs/magazines/eBooks with API, OPDS and Kobo Sync support
https://komga.org
MIT License
4.15k stars 246 forks source link

Warn "No mapping for GET ..." to normal action #1729

Closed yatounoneko closed 1 month ago

yatounoneko commented 1 month ago

Steps to reproduce

  1. Login A/C
  2. Click the Home or other (e.g Libraries, Import, History)
  3. Refresh the page (If opened komga web page before.)

Expected behavior

No respone for this normal action.

Actual behavior

Show the warn in console

Logs

2024-10-08T15:33:31.559+08:00  WARN 12264 --- [o-25600-exec-44] o.s.web.servlet.PageNotFound             : No mapping for GET /account
2024-10-08T15:33:40.056+08:00  INFO 12264 --- [o-25600-exec-10] o.g.komga.domain.service.BookLifecycle   : House keeping thumbnails for book: 0FE8AKEESG95K
2024-10-08T15:34:23.507+08:00  WARN 12264 --- [o-25600-exec-44] o.s.web.servlet.PageNotFound             : No mapping for GET /libraries/0H0ZFKNZ30ZYR/recommended
2024-10-08T15:34:29.725+08:00  INFO 12264 --- [o-25600-exec-10] o.g.komga.domain.service.BookLifecycle   : House keeping thumbnails for book: 0FE8AKEESG95K
2024-10-08T15:34:39.383+08:00  INFO 12264 --- [io-25600-exec-5] o.g.komga.domain.service.BookLifecycle   : House keeping thumbnails for book: 0FE8AKEESG95K
2024-10-08T15:34:45.548+08:00  INFO 12264 --- [io-25600-exec-5] o.g.komga.domain.service.BookLifecycle   : House keeping thumbnails for book: 0FE8AKEESG95K
2024-10-08T15:34:46.701+08:00  WARN 12264 --- [o-25600-exec-54] o.s.web.servlet.PageNotFound             : No mapping for GET /dashboard
2024-10-08T15:34:47.576+08:00  INFO 12264 --- [o-25600-exec-46] o.g.komga.domain.service.BookLifecycle   : House keeping thumbnails for book: 0FE8AKEESG95K
2024-10-08T15:35:04.911+08:00  WARN 12264 --- [o-25600-exec-43] o.s.web.servlet.PageNotFound             : No mapping for GET /account
2024-10-08T15:35:18.179+08:00  WARN 12264 --- [o-25600-exec-57] o.s.web.servlet.PageNotFound             : No mapping for GET /settings/users
2024-10-08T15:38:33.206+08:00  INFO 12264 --- [io-25600-exec-5] o.g.komga.domain.service.BookLifecycle   : House keeping thumbnails for book: 0FE8AKEESG95K
2024-10-08T15:38:38.894+08:00  WARN 12264 --- [o-25600-exec-51] o.s.web.servlet.PageNotFound             : No mapping for GET /dashboard
2024-10-08T15:38:40.844+08:00  WARN 12264 --- [o-25600-exec-54] o.s.web.servlet.PageNotFound             : No mapping for GET /libraries/0H0ZFKNZ30ZYR
2024-10-08T15:38:43.127+08:00  INFO 12264 --- [o-25600-exec-57] o.g.komga.domain.service.BookLifecycle   : House keeping thumbnails for book: 0FE8AKEESG95K
2024-10-08T15:38:46.542+08:00  WARN 12264 --- [o-25600-exec-65] o.s.web.servlet.PageNotFound             : No mapping for GET /settings
2024-10-08T15:38:48.288+08:00  WARN 12264 --- [o-25600-exec-39] o.s.web.servlet.PageNotFound             : No mapping for GET /account
2024-10-08T15:38:51.005+08:00  WARN 12264 --- [o-25600-exec-57] o.s.web.servlet.PageNotFound             : No mapping for GET /history

Komga version

1.14.0

Operating system

Windows server 2019

Installation method

jar

Other details

Before using Komga 1.11.2 with Open jdk-22.0.2 is normal, but update to Komga 1.14.0 with Open jdk-23 ofter found the this warn message in console appear frequently

Acknowledgements

gotson commented 1 month ago

It's expected, those are frontend urls from the webui SPA, and the backend doesn't know about it. They are redirected to the root and handled by the javascript.

You can safely ignore those.