Comments (7)
这里目前已经解决了问题,当初的key和id是填反了的,不过是按着s3配置表明key和id来填的,尝试把它们反过来填之后解决了问题。
from plugin-s3.
halo.log的内容如下
PRI * HTTP/2.0
2023-04-11T09:27:43.857+08:00 WARN 7 --- [db-sql-netty-thread-8] c.g.jasync.sql.db.mysql.MySQLConnection : <mysql-connection-400> onResultSet - called without active query
2023-04-11T09:27:48.493+08:00 WARN 7 --- [db-sql-netty-thread-6] c.g.jasync.sql.db.mysql.MySQLConnection : <mysql-connection-407> onResultSet - called without active query
2023-04-11T09:27:53.929+08:00 ERROR 7 --- [reactor-http-epoll-2] a.w.r.e.AbstractErrorWebExceptionHandler : [87fc4244-3609] 500 Server Error for HTTP GET "/themes/theme-butterfly/assets/font/false.min.css"
java.io.FileNotFoundException: /root/.halo2/themes/theme-butterfly/templates/assets/font/false.min.css
at org.springframework.core.io.FileSystemResource.lastModified(FileSystemResource.java:354) ~[spring-core-6.0.7.jar:6.0.7]
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
*__checkpoint ⇢ run.halo.app.security.authentication.login.UsernamePasswordLogoutHandler [DefaultWebFilterChain]
*__checkpoint ⇢ run.halo.app.security.authentication.login.DelegatingLogoutPageGeneratingWebFilter [DefaultWebFilterChain]
*__checkpoint ⇢ run.halo.app.security.authentication.login.UsernamePasswordAuthenticator [DefaultWebFilterChain]
*__checkpoint ⇢ org.springframework.security.web.server.WebFilterChainProxy [DefaultWebFilterChain]
*__checkpoint ⇢ org.springframework.web.filter.reactive.ServerHttpObservationFilter [DefaultWebFilterChain]
*__checkpoint ⇢ HTTP GET "/themes/theme-butterfly/assets/font/false.min.css" [ExceptionHandlingWebHandler]
Original Stack Trace:
at org.springframework.core.io.FileSystemResource.lastModified(FileSystemResource.java:354) ~[spring-core-6.0.7.jar:6.0.7]
at run.halo.app.theme.ThemeConfiguration.lambda$themeAssets$1(ThemeConfiguration.java:53) ~[classes/:2.4.2]
at org.springframework.web.reactive.function.server.support.HandlerFunctionAdapter.handle(HandlerFunctionAdapter.java:61) ~[spring-webflux-6.0.7.jar:6.0.7]
at org.springframework.web.reactive.DispatcherHandler.handleRequestWith(DispatcherHandler.java:183) ~[spring-webflux-6.0.7.jar:6.0.7]
at org.springframework.web.reactive.DispatcherHandler.lambda$handle$2(DispatcherHandler.java:154) ~[spring-webflux-6.0.7.jar:6.0.7]
at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:132) ~[reactor-core-3.5.4.jar:3.5.4]
at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onNext(FluxOnErrorResume.java:79) ~[reactor-core-3.5.4.jar:3.5.4]
halo.log [RO] 26,1-8 0% ```
from plugin-s3.
重新填一下策略的配置试试,看看是不是多复制了字符
from plugin-s3.
抱歉,我尝试了一下重新配置,也尝试了使用阿里云的服务,也是出现了这个报错,并不清楚问题所在
from plugin-s3.
from plugin-s3.
这里问题解决了,解决方案是使用阿里云服务,腾讯云到最后也没成功解决。
from plugin-s3.
这里 #34 (comment) 提到的错误并不是 S3 抛出的,建议提供完整的日志,这样才能定位到具体的问题。
from plugin-s3.
Related Issues (20)
- 一个很偏的需求,阿里云内网上传,代理阿里云内网在互联网访问 HOT 7
- 关联S3文件策略选择下拉框样式问题
- 建议关联S3文件增加搜索功能 HOT 2
- 突然提示不能用了 HOT 2
- 插件没有拼接Bucket桶名称 HOT 1
- HTTP POST "/apis/s3os.halo.run/v1alpha1/policies/s3/validation" [ExceptionHandlingWebHandler] HOT 1
- 建议在角色创建中隐藏配置校验接口的权限。
- 七牛云访问只能公开不能私有吗 HOT 1
- S3关联文件不能被选择与预览 HOT 4
- halo 2.15版本似乎不兼容 HOT 4
- S3 存储策略的建议 HOT 1
- 修改绑定域名怎么之后怎么修改之前的文件 HOT 8
- 无法自定义附件文件名 HOT 4
- 大佬能否与123网盘做集成 HOT 3
- 缤纷云上传报错524 HOT 1
- 有没有老哥有时间出个cloudflare R2挂载的图文教程啊,挂了半天挂不上,, HOT 4
- s3存储优化建议 HOT 1
- 在Halo 2.17中出现了警告日志 HOT 6
- s3存储桶资源路径加载异常 HOT 5
- 服务器内部错误 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plugin-s3.