halo-sigs / halo-sigs/plugin-alist
文件能上传,不能预览下载和删除
- Dominant language
- Java
- Stars
- 12
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
halo 版本是 halohub/halo:2.22.11
alist 插件版本是 1.1.3
存储验证的报错如下
```
halo | 2026-01-20 17:06:26.540 | 2026-01-20T17:06:26.519+08:00 ERROR 7 --- [or-http-epoll-3] a.w.r.e.AbstractErrorWebExceptionHandler : [ff7bc172-489] 500 Server Error for HTTP POST "/apis/alist.storage.halo.run/v1alpha1/configs/-/verify"
halo | 2026-01-20 17:06:26.540 |
halo | 2026-01-20 17:06:26.540 | org.springframework.core.codec.DecodingException: JSON decoding error: Cannot deserialize value of type `int` from Array value (token `JsonToken.START_ARRAY`)
halo | 2026-01-20 17:06:26.540 | at org.springframework.http.codec.json.AbstractJackson2Decoder.processException(AbstractJackson2Decoder.java:282) ~[spring-web-6.2.15.jar:6.2.15]
halo | 2026-01-20 17:06:26.540 | Suppressed: The stacktrace has been enhanced by Reactor, refer to additional information below:
halo | 2026-01-20 17:06:26.540 | Error has been observed at the following site(s):
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ Body from GET http://192.168.2.222:5244/api/me [DefaultClientResponse]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ Handler run.halo.alist.controller.PolicyConfigValidationController#validatePolicyConfig(AListProperties) [DispatcherHandler]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ run.halo.app.security.InitializeRedirectionWebFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ SecurityWebFilterChainProxy [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ SwitchUserWebFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ AuthorizationWebFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ ExceptionTranslationWebFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ LogoutWebFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ ServerRequestCacheWebFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ SecurityContextServerWebExchangeWebFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ SecurityWebFilterChainProxy [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ AnonymousAuthenticationWebFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ SecurityWebFilterChainProxy [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ SecurityWebFilterChainProxy [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ AuthenticationWebFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ AuthenticationWebFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ AuthenticationWebFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ MapOAuth2AuthenticationFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ SecurityWebFilterChainProxy [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ SecurityWebFilterChainProxy [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ DeviceSessionFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ ReactorContextWebFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ CsrfWebFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ CorsWebFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ HttpHeaderWriterWebFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ SecurityWebFilterChainProxy [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ ServerWebExchangeReactorContextWebFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ org.springframework.security.web.server.WebFilterChainProxy [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ run.halo.comment.widget.captcha.CommentCaptchaFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ run.halo.app.infra.webfilter.AdditionalWebFilterChainProxy [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ org.springframework.web.filter.reactive.ServerWebExchangeContextFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ run.halo.app.infra.webfilter.LocaleChangeWebFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ org.springframework.web.filter.reactive.UrlHandlerFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ run.halo.app.theme.UserLocaleRequestAttributeWriteFilter [DefaultWebFilterChain]
halo | 2026-01-20 17:06:26.540 | *__checkpoint ⇢ HTTP POST "/apis/alist.storage.halo.run/v1alpha1/configs/-/verify" [ExceptionHandlingWebHandler]
```
上传文件后,能在百度网盘内看见,但是无法预览加载
```
halo | 2026-01-20 17:07:10.575 | 2026-01-20T17:07:10.575+08:00 INFO 7 --- [or-http-epoll-3] r.h.a.endpoint.AListAttachmentHandler : Uploading file 22094581.jpg to http://192.168.2.222:5244/api/fs/put
halo | 2026-01-20 17:07:12.957 | 2026-01-20T17:07:12.956+08:00 INFO 7 --- [or-http-epoll-3] r.h.a.endpoint.AListAttachmentHandler : Uploaded file 22094581.jpg to http://192.168.2.222:5244/api/fs/put
halo | 2026-01-20 17:07:13.775 | 2026-01-20T17:07:13.740+08:00 ERROR 7 --- [mentReconciler2] r.h.a.e.controller.DefaultController : Reconciler in run.halo.app.core.attachment.reconciler.AttachmentReconciler-worker-1 aborted with an error, re-enqueuing...
halo | 2026-01-20 17:07:13.775 |
halo | 2026-01-20 17:07:13.775 | org.springframework.core.codec.DecodingException: JSON decoding error: Cannot deserialize value of type `int` from Array value (token `JsonToken.START_ARRAY`)
halo | 2026-01-20 17:07:13.775 | at org.springframework.http.codec.json.AbstractJackson2Decoder.processException(AbstractJackson2Decoder.java:282) ~[spring-web-6.2.15.jar:6.2.15]
halo | 2026-01-20 17:07:13.775 | Suppressed: The stacktrace has been enhanced by Reactor, refer to additional information below:
halo | 2026-01-20 17:07:13.775 | Error has been observed at the following site(s):
halo | 2026-01-20 17:07:13.775 | *__checkpoint ⇢ Body from GET http://192.168.2.222:5244/api/me [DefaultClientResponse]
halo | 2026-01-20 17:07:14.363 | Suppressed: The stacktrace has been enhanced by Reactor, refer to additional information below:
halo | 2026-01-20 17:07:14.363 | Error has been observed at the following site(s):
halo | 2026-01-20 17:07:14.363 | *__checkpoint ⇢ Body from GET http://192.168.2.222:5244/api/me [DefaultClientResponse]
halo | 2026-01-20 17:07:15.329 | Suppressed: The stacktrace has been enhanced by Reactor, refer to additional information below:
halo | 2026-01-20 17:07:15.329 | Error has been observed at the following site(s):
halo | 2026-01-20 17:07:15.329 | *__checkpoint ⇢ Body from GET http://192.168.2.222:5244/api/me [DefaultClientResponse]
```
希望修复或给一个临时解决方案,谢谢
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.