Coder Social home page Coder Social logo

上传失败 about plugin-s3 HOT 7 CLOSED

eliaukilig avatar eliaukilig commented on August 19, 2024
上传失败

from plugin-s3.

Comments (7)

eliaukilig avatar eliaukilig commented on August 19, 2024 1

这里目前已经解决了问题,当初的key和id是填反了的,不过是按着s3配置表明key和id来填的,尝试把它们反过来填之后解决了问题。

from plugin-s3.

eliaukilig avatar eliaukilig commented on August 19, 2024

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.

longjuan avatar longjuan commented on August 19, 2024

重新填一下策略的配置试试,看看是不是多复制了字符

from plugin-s3.

eliaukilig avatar eliaukilig commented on August 19, 2024

抱歉,我尝试了一下重新配置,也尝试了使用阿里云的服务,也是出现了这个报错,并不清楚问题所在

from plugin-s3.

eliaukilig avatar eliaukilig commented on August 19, 2024


这里是配置了阿里云服务之后的报错截图

from plugin-s3.

eliaukilig avatar eliaukilig commented on August 19, 2024

这里问题解决了,解决方案是使用阿里云服务,腾讯云到最后也没成功解决。

from plugin-s3.

JohnNiang avatar JohnNiang commented on August 19, 2024

这里 #34 (comment) 提到的错误并不是 S3 抛出的,建议提供完整的日志,这样才能定位到具体的问题。

from plugin-s3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.