Open tumuyan opened 1 year ago
直接使用 java -Dfile.encoding="UTF-8" reader.jar
看看?
使用java -Dfile.encoding="UTF-8" reader.jar
运行最新的3.0.2,以及更换其他镜像还是相同问题。理论上log里的字符串没有乱码,不应该出现乱码才对。
部署在huggingface,Dockerfile内容如下
FROM debian
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y sudo
RUN apt-get install -y curl wget zip unzip default-jre
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH \
JAVA_TOOL_OPTIONS='-Dfile.encoding="UTF-8" -Dsun.jnu.encoding="UTF-8"' \
LANG=en_US.UTF-8
WORKDIR $HOME
RUN ls *.jar || wget https://github.com/hectorqin/reader/releases/download/v3.0.2/reader-pro-3.0.0.jar -O reader.jar
RUN java --version
EXPOSE 8080
CMD java -Dfile.encoding="UTF-8" -jar reader.jar
README.md 内容如下
---
title: Read
emoji: 📚
colorFrom: yellow
colorTo: green
sdk: docker
pinned: false
app_port: 8080
---
设置环境变量 export LANG=en_US.UTF-8
,再试试这样看看
java -Dfile.encoding="UTF-8" -Dsun.jnu.encoding="UTF-8" -jar reader.jar
仍然会报错但是可以运行了。
===== Application Startup at 2023-07-06 09:58:55 =====
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding="UTF-8" -Dsun.jnu.encoding="UTF-8"
09:59:02.285 [main] INFO com.htmake.reader.ReaderApplication - Starting application with args: []
██████ ███████ █████ ██████ ███████ ██████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ █████ ███████ ██ ██ █████ ██████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ██ ███████ ██ ██ ██████ ███████ ██ ██
2023-07-06 09:59:02 [] [main] INFO c.htmake.reader.ReaderApplicationKt - Starting ReaderApplicationKt on s-tumuyan-read-365f0-7b895ddd47-qgs9v with PID 7 (/home/user/reader.jar started by user in /home/user)
2023-07-06 09:59:02 [] [main] DEBUG c.htmake.reader.ReaderApplicationKt - Running with Spring Boot v2.1.6.RELEASE, Spring v5.1.8.RELEASE
2023-07-06 09:59:02 [] [main] INFO c.htmake.reader.ReaderApplicationKt - No active profile set, falling back to default profiles: default
2023-07-06 09:59:04 [] [vert.x-eventloop-thread-0] INFO com.htmake.reader.api.YueduApi - port: 8080
2023-07-06 09:59:04 [] [vert.x-eventloop-thread-0] INFO com.htmake.reader.api.YueduApi - serverPort: 8080
2023-07-06 09:59:04 [] [vert.x-eventloop-thread-0] INFO com.htmake.reader.utils.Ext - osName: Linux currentDir: /home/user
2023-07-06 09:59:04 [] [vert.x-eventloop-thread-0] INFO com.htmake.reader.utils.Ext - Using workdir: /home/user
2023-07-06 09:59:04 [] [vert.x-eventloop-thread-0] INFO c.h.reader.verticle.RestVerticle - port: 8080
2023-07-06 09:59:04 [] [main] INFO o.s.s.c.ThreadPoolTaskScheduler - Initializing ExecutorService 'taskScheduler'
2023-07-06 09:59:04 [] [main] INFO c.htmake.reader.ReaderApplicationKt - Started ReaderApplicationKt in 1.811 seconds (JVM running for 2.18)
2023-07-06 09:59:04 [] [vert.x-eventloop-thread-0] INFO c.h.reader.verticle.RestVerticle - Server running at: http://localhost:8080
2023-07-06 09:59:04 [] [vert.x-eventloop-thread-0] INFO c.h.reader.verticle.RestVerticle - Web reader running at: http://localhost:8080
ReaderApplication Started
2023-07-06 09:59:31 [8871226d] [vert.x-eventloop-thread-0] ERROR com.htmake.reader.utils.Ext - Internal Server Error
java.lang.RuntimeException: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /tmp/vertx-cache/file-cache-da1fcd60-23dd-4416-9b7a-d834d1ec75d8/web/bg/羊皮纸2.jpg
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.wrapInTCCLSwitch(StaticHandlerImpl.java:277)
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.isFileExisting(StaticHandlerImpl.java:283)
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.sendStatic(StaticHandlerImpl.java:192)
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.handle(StaticHandlerImpl.java:145)
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.handle(StaticHandlerImpl.java:51)
at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1034)
at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:131)
at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:130)
at io.vertx.ext.web.handler.impl.LoggerHandlerImpl.handle(LoggerHandlerImpl.java:171)
at io.vertx.ext.web.handler.impl.LoggerHandlerImpl.handle(LoggerHandlerImpl.java:44)
at com.htmake.reader.utils.VertExtKt.globalHandler$lambda-0(VertExt.kt:58)
at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1034)
at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:131)
at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:130)
at io.vertx.ext.web.handler.impl.BodyHandlerImpl$BHandler.doEnd(BodyHandlerImpl.java:296)
at io.vertx.ext.web.handler.impl.BodyHandlerImpl$BHandler.end(BodyHandlerImpl.java:276)
at io.vertx.ext.web.handler.impl.BodyHandlerImpl.lambda$handle$0(BodyHandlerImpl.java:87)
at io.vertx.core.http.impl.HttpServerRequestImpl.onEnd(HttpServerRequestImpl.java:530)
at io.vertx.core.http.impl.HttpServerRequestImpl.handleEnd(HttpServerRequestImpl.java:516)
at io.vertx.core.http.impl.Http1xServerConnection.handleEnd(Http1xServerConnection.java:176)
at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:138)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369)
at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:43)
at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:232)
at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:173)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:302)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1422)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:931)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:700)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:635)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:552)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:514)
at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /tmp/vertx-cache/file-cache-da1fcd60-23dd-4416-9b7a-d834d1ec75d8/web/bg/羊皮纸2.jpg
at java.base/sun.nio.fs.UnixPath.encode(UnixPath.java:121)
at java.base/sun.nio.fs.UnixPath.<init>(UnixPath.java:68)
at java.base/sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:279)
at java.base/java.io.File.toPath(File.java:2387)
at io.vertx.core.file.impl.FileResolver.unpackFromJarURL(FileResolver.java:240)
at io.vertx.core.file.impl.FileResolver.unpackUrlResource(FileResolver.java:158)
at io.vertx.core.file.impl.FileResolver.resolveFile(FileResolver.java:139)
at io.vertx.core.impl.VertxImpl.resolveFile(VertxImpl.java:805)
at io.vertx.core.file.impl.FileSystemImpl$20.<init>(FileSystemImpl.java:933)
at io.vertx.core.file.impl.FileSystemImpl.existsInternal(FileSystemImpl.java:932)
at io.vertx.core.file.impl.FileSystemImpl.exists(FileSystemImpl.java:340)
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.lambda$isFileExisting$2(StaticHandlerImpl.java:283)
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.wrapInTCCLSwitch(StaticHandlerImpl.java:266)
... 50 common frames omitted
2023-07-06 09:59:31 [8871226d] [vert.x-eventloop-thread-0] ERROR com.htmake.reader.utils.Ext - {"error":"Internal Server Error","exception":"java.lang.RuntimeException: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /tmp/vertx-cache/file-cache-da1fcd60-23dd-4416-9b7a-d834d1ec75d8/web/bg/羊皮纸2.jpg","message":"java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /tmp/vertx-cache/file-cache-da1fcd60-23dd-4416-9b7a-d834d1ec75d8/web/bg/羊皮纸2.jpg","path":"http://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc1NjgsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyMzk2OCwiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.fAzi4Me4gkuF3rZyu1FhjAfmIhaz9TYL-rtjPivYypYzh8TB-E410zYD-8T4xqRSx2Uth79z7g1mXp2KNgGQAQ","status":500,"timestamp":1688637571004}
2023-07-06 09:59:31 [8871226d] [vert.x-eventloop-thread-0] ERROR i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.30.23 - - [Thu, 6 Jul 2023 09:59:30 GMT] "GET /?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc1NjgsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyMzk2OCwiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.fAzi4Me4gkuF3rZyu1FhjAfmIhaz9TYL-rtjPivYypYzh8TB-E410zYD-8T4xqRSx2Uth79z7g1mXp2KNgGQAQ HTTP/1.1" 500 757 "https://huggingface.co/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:00 [025079fb] [DefaultDispatcher-worker-1] INFO com.htmake.reader.api.YueduApi - 开始检查书架书籍更新
2023-07-06 10:00:00 [025079fb] [DefaultDispatcher-worker-1] INFO com.htmake.reader.utils.Ext - Using storagePath: /home/user/storage
2023-07-06 10:00:00 [025079fb] [DefaultDispatcher-worker-1] INFO com.htmake.reader.utils.Ext - Read file from storage name: [data, default, bookshelf] path: /home/user/storage/data/default/bookshelf.json
2023-07-06 10:00:00 [025079fb] [DefaultDispatcher-worker-1] INFO com.htmake.reader.api.YueduApi - 书架书籍更新检查结束
2023-07-06 10:00:08 [0f05f5c8] [vert.x-eventloop-thread-0] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.32.186 - - [Thu, 6 Jul 2023 10:00:08 GMT] "GET /?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA HTTP/1.1" 200 5420 "https://huggingface.co/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:09 [e5b70012] [vert.x-eventloop-thread-0] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.32.186 - - [Thu, 6 Jul 2023 10:00:09 GMT] "GET /css/app.c7547ad8.css HTTP/1.1" 200 27051 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:09 [16a19453] [vert.x-eventloop-thread-0] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.32.186 - - [Thu, 6 Jul 2023 10:00:09 GMT] "GET /css/chunk-vendors.e183250b.css HTTP/1.1" 200 122376 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:09 [fbae4f16] [vert.x-eventloop-thread-0] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.32.186 - - [Thu, 6 Jul 2023 10:00:09 GMT] "GET /js/app.12071b9c.js HTTP/1.1" 200 195930 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:09 [cc458c99] [vert.x-eventloop-thread-0] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.30.23 - - [Thu, 6 Jul 2023 10:00:09 GMT] "GET /css/index.dca99eba.css HTTP/1.1" 200 19374 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:09 [cc458c99] [vert.x-eventloop-thread-0] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.32.186 - - [Thu, 6 Jul 2023 10:00:09 GMT] "GET /js/chunk-vendors.53ccffda.js HTTP/1.1" 200 828701 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:09 [2b821362] [vert.x-eventloop-thread-0] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.32.186 - - [Thu, 6 Jul 2023 10:00:09 GMT] "GET /css/reader.b351f772.css HTTP/1.1" 200 35493 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:09 [37fdaa0e] [vert.x-eventloop-thread-0] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.30.23 - - [Thu, 6 Jul 2023 10:00:09 GMT] "GET /css/setting.15b89518.css HTTP/1.1" 200 7451 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:09 [37fdaa0e] [vert.x-eventloop-thread-0] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.32.186 - - [Thu, 6 Jul 2023 10:00:09 GMT] "GET /js/index.3e6ee042.js HTTP/1.1" 200 89408 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:09 [37fdaa0e] [vert.x-eventloop-thread-0] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.30.23 - - [Thu, 6 Jul 2023 10:00:09 GMT] "GET /js/index~reader.7bb6f6c0.js HTTP/1.1" 200 22216 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:09 [37fdaa0e] [vert.x-eventloop-thread-0] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.30.23 - - [Thu, 6 Jul 2023 10:00:09 GMT] "GET /js/setting.bb3ce86b.js HTTP/1.1" 200 10827 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:09 [37fdaa0e] [vert.x-eventloop-thread-0] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.32.186 - - [Thu, 6 Jul 2023 10:00:09 GMT] "GET /js/reader.10c6b469.js HTTP/1.1" 200 1358201 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:12 [f0b83e49] [vert.x-eventloop-thread-0] INFO c.h.reader.verticle.RestVerticle - GET http://tumuyan-read.hf.space/reader3/getUserInfo?v=1688637612064
2023-07-06 10:00:12 [f0b83e49] [DefaultDispatcher-worker-1] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.32.186 - - [Thu, 6 Jul 2023 10:00:12 GMT] "GET /reader3/getUserInfo?v=1688637612064 HTTP/1.1" 200 74 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:12 [586ab80d] [vert.x-eventloop-thread-0] INFO c.h.reader.verticle.RestVerticle - GET http://tumuyan-read.hf.space/reader3/getBookshelf?refresh=0&v=1688637612180
2023-07-06 10:00:12 [586ab80d] [DefaultDispatcher-worker-1] INFO com.htmake.reader.utils.Ext - Read file from storage name: [data, default, bookshelf] path: /home/user/storage/data/default/bookshelf.json
2023-07-06 10:00:12 [586ab80d] [DefaultDispatcher-worker-1] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.32.186 - - [Thu, 6 Jul 2023 10:00:12 GMT] "GET /reader3/getBookshelf?refresh=0&v=1688637612180 HTTP/1.1" 200 42 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:12 [6858435e] [vert.x-eventloop-thread-0] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.32.186 - - [Thu, 6 Jul 2023 10:00:12 GMT] "GET /fonts/element-icons.535877f5.woff HTTP/1.1" 200 28200 "https://tumuyan-read.hf.space/css/chunk-vendors.e183250b.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:12 [4c622028] [vert.x-eventloop-thread-0] INFO c.h.reader.verticle.RestVerticle - GET http://tumuyan-read.hf.space/reader3/getTxtTocRules?v=1688637612235
2023-07-06 10:00:12 [4c622028] [DefaultDispatcher-worker-1] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.32.186 - - [Thu, 6 Jul 2023 10:00:12 GMT] "GET /reader3/getTxtTocRules?v=1688637612235 HTTP/1.1" 200 4931 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:13 [4f1d9cba] [vert.x-eventloop-thread-0] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.32.186 - - [Thu, 6 Jul 2023 10:00:13 GMT] "GET /assets/reader.css HTTP/1.1" 200 54 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:13 [d231fad5] [vert.x-eventloop-thread-0] INFO c.h.reader.verticle.RestVerticle - GET http://tumuyan-read.hf.space/reader3/getBookshelf?refresh=0&v=1688637612758
2023-07-06 10:00:13 [d231fad5] [DefaultDispatcher-worker-1] INFO com.htmake.reader.utils.Ext - Read file from storage name: [data, default, bookshelf] path: /home/user/storage/data/default/bookshelf.json
2023-07-06 10:00:13 [d231fad5] [DefaultDispatcher-worker-1] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.32.186 - - [Thu, 6 Jul 2023 10:00:13 GMT] "GET /reader3/getBookshelf?refresh=0&v=1688637612758 HTTP/1.1" 200 42 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:13 [22991112] [vert.x-eventloop-thread-0] ERROR com.htmake.reader.utils.Ext - Internal Server Error
java.lang.RuntimeException: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /tmp/vertx-cache/file-cache-da1fcd60-23dd-4416-9b7a-d834d1ec75d8/web/bg/羊皮纸2.jpg
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.wrapInTCCLSwitch(StaticHandlerImpl.java:277)
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.isFileExisting(StaticHandlerImpl.java:283)
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.sendStatic(StaticHandlerImpl.java:192)
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.handle(StaticHandlerImpl.java:145)
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.handle(StaticHandlerImpl.java:51)
at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1034)
at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:131)
at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:130)
at io.vertx.ext.web.handler.impl.LoggerHandlerImpl.handle(LoggerHandlerImpl.java:171)
at io.vertx.ext.web.handler.impl.LoggerHandlerImpl.handle(LoggerHandlerImpl.java:44)
at com.htmake.reader.utils.VertExtKt.globalHandler$lambda-0(VertExt.kt:58)
at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1034)
at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:131)
at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:130)
at io.vertx.ext.web.handler.impl.BodyHandlerImpl$BHandler.doEnd(BodyHandlerImpl.java:296)
at io.vertx.ext.web.handler.impl.BodyHandlerImpl$BHandler.end(BodyHandlerImpl.java:276)
at io.vertx.ext.web.handler.impl.BodyHandlerImpl.lambda$handle$0(BodyHandlerImpl.java:87)
at io.vertx.core.http.impl.HttpServerRequestImpl.onEnd(HttpServerRequestImpl.java:530)
at io.vertx.core.http.impl.HttpServerRequestImpl.handleEnd(HttpServerRequestImpl.java:516)
at io.vertx.core.http.impl.Http1xServerConnection.handleEnd(Http1xServerConnection.java:176)
at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:138)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369)
at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:43)
at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:232)
at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:173)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:302)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1422)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:931)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:700)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:635)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:552)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:514)
at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /tmp/vertx-cache/file-cache-da1fcd60-23dd-4416-9b7a-d834d1ec75d8/web/bg/羊皮纸2.jpg
at java.base/sun.nio.fs.UnixPath.encode(UnixPath.java:121)
at java.base/sun.nio.fs.UnixPath.<init>(UnixPath.java:68)
at java.base/sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:279)
at java.base/java.io.File.toPath(File.java:2387)
at io.vertx.core.file.impl.FileResolver.unpackFromJarURL(FileResolver.java:240)
at io.vertx.core.file.impl.FileResolver.unpackUrlResource(FileResolver.java:158)
at io.vertx.core.file.impl.FileResolver.resolveFile(FileResolver.java:139)
at io.vertx.core.impl.VertxImpl.resolveFile(VertxImpl.java:805)
at io.vertx.core.file.impl.FileSystemImpl$20.<init>(FileSystemImpl.java:933)
at io.vertx.core.file.impl.FileSystemImpl.existsInternal(FileSystemImpl.java:932)
at io.vertx.core.file.impl.FileSystemImpl.exists(FileSystemImpl.java:340)
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.lambda$isFileExisting$2(StaticHandlerImpl.java:283)
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.wrapInTCCLSwitch(StaticHandlerImpl.java:266)
... 50 common frames omitted
2023-07-06 10:00:13 [22991112] [vert.x-eventloop-thread-0] ERROR com.htmake.reader.utils.Ext - {"error":"Internal Server Error","exception":"java.lang.RuntimeException: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /tmp/vertx-cache/file-cache-da1fcd60-23dd-4416-9b7a-d834d1ec75d8/web/bg/羊皮纸2.jpg","message":"java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /tmp/vertx-cache/file-cache-da1fcd60-23dd-4416-9b7a-d834d1ec75d8/web/bg/羊皮纸2.jpg","path":"http://tumuyan-read.hf.space/manifest.json","status":500,"timestamp":1688637613652}
2023-07-06 10:00:13 [22991112] [vert.x-eventloop-thread-0] ERROR i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.32.186 - - [Thu, 6 Jul 2023 10:00:13 GMT] "GET /manifest.json HTTP/1.1" 500 538 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:13 [9e1147d4] [vert.x-eventloop-thread-0] INFO c.h.reader.verticle.RestVerticle - GET http://tumuyan-read.hf.space/reader3/getBookSources?simple=1&v=1688637613305
2023-07-06 10:00:13 [d7aca202] [vert.x-eventloop-thread-0] INFO c.h.reader.verticle.RestVerticle - GET http://tumuyan-read.hf.space/reader3/getBookGroups?v=1688637613314
2023-07-06 10:00:13 [9e1147d4] [DefaultDispatcher-worker-1] INFO com.htmake.reader.utils.Ext - Read file from storage name: [data, default, bookSource] path: /home/user/storage/data/default/bookSource.json
2023-07-06 10:00:13 [d7aca202] [DefaultDispatcher-worker-3] INFO com.htmake.reader.utils.Ext - Read file from storage name: [data, default, bookGroup] path: /home/user/storage/data/default/bookGroup.json
2023-07-06 10:00:13 [01c57238] [vert.x-eventloop-thread-0] INFO c.h.reader.verticle.RestVerticle - GET http://tumuyan-read.hf.space/reader3/getReplaceRules?v=1688637613328
2023-07-06 10:00:13 [9e1147d4] [DefaultDispatcher-worker-1] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.32.186 - - [Thu, 6 Jul 2023 10:00:13 GMT] "GET /reader3/getBookSources?simple=1&v=1688637613305 HTTP/1.1" 200 42 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:13 [b0e759da] [vert.x-eventloop-thread-0] INFO c.h.reader.verticle.RestVerticle - GET http://tumuyan-read.hf.space/reader3/getRssSources?simple=1&v=1688637613326
2023-07-06 10:00:13 [01c57238] [DefaultDispatcher-worker-1] INFO com.htmake.reader.utils.Ext - Read file from storage name: [data, default, replaceRule] path: /home/user/storage/data/default/replaceRule.json
2023-07-06 10:00:13 [01c57238] [DefaultDispatcher-worker-1] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.30.23 - - [Thu, 6 Jul 2023 10:00:13 GMT] "GET /reader3/getReplaceRules?v=1688637613328 HTTP/1.1" 200 42 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:13 [f87a3441] [vert.x-eventloop-thread-0] INFO c.h.reader.verticle.RestVerticle - GET http://tumuyan-read.hf.space/reader3/getBookmarks?v=1688637613329
2023-07-06 10:00:13 [b0e759da] [DefaultDispatcher-worker-2] INFO com.htmake.reader.utils.Ext - Read file from storage name: [data, default, rssSources] path: /home/user/storage/data/default/rssSources.json
2023-07-06 10:00:13 [b0e759da] [DefaultDispatcher-worker-2] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.32.186 - - [Thu, 6 Jul 2023 10:00:13 GMT] "GET /reader3/getRssSources?simple=1&v=1688637613326 HTTP/1.1" 200 42 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:13 [f87a3441] [DefaultDispatcher-worker-2] INFO com.htmake.reader.utils.Ext - Read file from storage name: [data, default, bookmark] path: /home/user/storage/data/default/bookmark.json
2023-07-06 10:00:13 [f87a3441] [DefaultDispatcher-worker-2] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.32.186 - - [Thu, 6 Jul 2023 10:00:13 GMT] "GET /reader3/getBookmarks?v=1688637613329 HTTP/1.1" 200 42 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:13 [d7aca202] [DefaultDispatcher-worker-3] INFO com.htmake.reader.utils.Ext - Save file to storage name: [data, default, bookGroup] path: /home/user/storage/data/default/bookGroup.json
2023-07-06 10:00:13 [d7aca202] [DefaultDispatcher-worker-3] INFO i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.32.186 - - [Thu, 6 Jul 2023 10:00:13 GMT] "GET /reader3/getBookGroups?v=1688637613314 HTTP/1.1" 200 346 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
2023-07-06 10:00:14 [bb03df57] [vert.x-eventloop-thread-0] ERROR com.htmake.reader.utils.Ext - Internal Server Error
java.lang.RuntimeException: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /tmp/vertx-cache/file-cache-da1fcd60-23dd-4416-9b7a-d834d1ec75d8/web/bg/羊皮纸2.jpg
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.wrapInTCCLSwitch(StaticHandlerImpl.java:277)
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.isFileExisting(StaticHandlerImpl.java:283)
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.sendStatic(StaticHandlerImpl.java:192)
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.handle(StaticHandlerImpl.java:145)
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.handle(StaticHandlerImpl.java:51)
at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1034)
at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:131)
at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:130)
at io.vertx.ext.web.handler.impl.LoggerHandlerImpl.handle(LoggerHandlerImpl.java:171)
at io.vertx.ext.web.handler.impl.LoggerHandlerImpl.handle(LoggerHandlerImpl.java:44)
at com.htmake.reader.utils.VertExtKt.globalHandler$lambda-0(VertExt.kt:58)
at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1034)
at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:131)
at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:130)
at io.vertx.ext.web.handler.impl.BodyHandlerImpl$BHandler.doEnd(BodyHandlerImpl.java:296)
at io.vertx.ext.web.handler.impl.BodyHandlerImpl$BHandler.end(BodyHandlerImpl.java:276)
at io.vertx.ext.web.handler.impl.BodyHandlerImpl.lambda$handle$0(BodyHandlerImpl.java:87)
at io.vertx.core.http.impl.HttpServerRequestImpl.onEnd(HttpServerRequestImpl.java:530)
at io.vertx.core.http.impl.HttpServerRequestImpl.handleEnd(HttpServerRequestImpl.java:516)
at io.vertx.core.http.impl.Http1xServerConnection.handleEnd(Http1xServerConnection.java:176)
at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:138)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369)
at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:43)
at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:232)
at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:173)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:302)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1422)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:931)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:700)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:635)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:552)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:514)
at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /tmp/vertx-cache/file-cache-da1fcd60-23dd-4416-9b7a-d834d1ec75d8/web/bg/羊皮纸2.jpg
at java.base/sun.nio.fs.UnixPath.encode(UnixPath.java:121)
at java.base/sun.nio.fs.UnixPath.<init>(UnixPath.java:68)
at java.base/sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:279)
at java.base/java.io.File.toPath(File.java:2387)
at io.vertx.core.file.impl.FileResolver.unpackFromJarURL(FileResolver.java:240)
at io.vertx.core.file.impl.FileResolver.unpackUrlResource(FileResolver.java:158)
at io.vertx.core.file.impl.FileResolver.resolveFile(FileResolver.java:139)
at io.vertx.core.impl.VertxImpl.resolveFile(VertxImpl.java:805)
at io.vertx.core.file.impl.FileSystemImpl$20.<init>(FileSystemImpl.java:933)
at io.vertx.core.file.impl.FileSystemImpl.existsInternal(FileSystemImpl.java:932)
at io.vertx.core.file.impl.FileSystemImpl.exists(FileSystemImpl.java:340)
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.lambda$isFileExisting$2(StaticHandlerImpl.java:283)
at io.vertx.ext.web.handler.impl.StaticHandlerImpl.wrapInTCCLSwitch(StaticHandlerImpl.java:266)
... 50 common frames omitted
2023-07-06 10:00:14 [bb03df57] [vert.x-eventloop-thread-0] ERROR com.htmake.reader.utils.Ext - {"error":"Internal Server Error","exception":"java.lang.RuntimeException: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /tmp/vertx-cache/file-cache-da1fcd60-23dd-4416-9b7a-d834d1ec75d8/web/bg/羊皮纸2.jpg","message":"java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /tmp/vertx-cache/file-cache-da1fcd60-23dd-4416-9b7a-d834d1ec75d8/web/bg/羊皮纸2.jpg","path":"http://tumuyan-read.hf.space/service-worker.js","status":500,"timestamp":1688637614245}
2023-07-06 10:00:14 [bb03df57] [vert.x-eventloop-thread-0] ERROR i.v.e.w.h.impl.LoggerHandlerImpl - 10.16.30.23 - - [Thu, 6 Jul 2023 10:00:14 GMT] "GET /service-worker.js HTTP/1.1" 500 542 "https://tumuyan-read.hf.space/?__sign=eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2ODg2Mzc2MDcsInN1YiI6InR1bXV5YW4vcmVhZCIsImV4cCI6MTY4ODcyNDAwNywiaXNzIjoiaHR0cHM6Ly9odWdnaW5nZmFjZS5jbyJ9.1r-bNnHqeF9SWvJGygDrAncN1KfwJgcG9eY7AWCRFEv5YvwRguCTs4V2N2sWsVgzeaXmVQSTsh9YPucQsHlyDA" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"
试试这样
java -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -jar reader.jar
在Ubuntu服务器上使用jar包,启动时log报错
Malformed input or input contains unmappable characters:
根据百度信息,添加了环境变量JAVA_TOOL_OPTIONS='-Dfile.encoding="UTF-8" -Dsun.jnu.encoding="UTF-8"'
, 仍然报错。