Closed Plus-xu closed 7 months ago
昨天的0a7512d和当前的f50aab0都会提示出现错误: time: missing Location in call to Time 操作系统:Debian 5.10.197 x86_64 安装方式:Dockerfile 编译
time: missing Location in call to Time
chatgpttoapi | POST /v1/chat/completions HTTP/1.0 chatgpttoapi | Host:a.a.a chatgpttoapi | Accept: */* chatgpttoapi | Accept-Encoding: gzip, deflate, br chatgpttoapi | Accept-Language: zh-CN chatgpttoapi | Authorization: * chatgpttoapi | Connection: close chatgpttoapi | Content-Length: 695 chatgpttoapi | Content-Type: application/json chatgpttoapi | Remote-Host: 1.2.3.4 chatgpttoapi | Sec-Ch-Ua: "Not?A_Brand";v="8", "Chromium";v="108" chatgpttoapi | Sec-Ch-Ua-Mobile: ?0 chatgpttoapi | Sec-Ch-Ua-Platform: "Windows" chatgpttoapi | Sec-Fetch-Dest: empty chatgpttoapi | Sec-Fetch-Mode: cors chatgpttoapi | Sec-Fetch-Site: cross-site chatgpttoapi | User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537 (KHTML, like Gecko) xyz.chatboxapp.app/1.3 Chrome/108.0.5 Electron/22.3 Safari/537 chatgpttoapi | X-Forwarded-For: 1.2.3.4 chatgpttoapi | X-Real-Ip: 1.2.3.4 chatgpttoapi | chatgpttoapi | chatgpttoapi | time: missing Location in call to Time.In chatgpttoapi | /usr/local/go/src/time/time.go:1146 (0x9a203a) chatgpttoapi | /app/internal/chatgpt/request.go:225 (0x9a1f7d) chatgpttoapi | /app/internal/chatgpt/request.go:233 (0x9a225b) chatgpttoapi | /app/internal/chatgpt/request.go:240 (0x9a2456) chatgpttoapi | /app/handlers.go:148 (0x9b1c31) chatgpttoapi | /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x9b3bc7) chatgpttoapi | /app/middleware.go:66 (0x9b38ae) chatgpttoapi | /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x9b3637) chatgpttoapi | /app/middleware.go:35 (0x9b361e) chatgpttoapi | /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x99a801) chatgpttoapi | /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 (0x99a7ec) chatgpttoapi | /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x999926) chatgpttoapi | /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/logger.go:240 (0x999909) chatgpttoapi | /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x99898a) chatgpttoapi | /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 (0x998611) chatgpttoapi | /go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 (0x9982bc) chatgpttoapi | /usr/local/go/src/net/http/server.go:2936 (0x702395) chatgpttoapi | /usr/local/go/src/net/http/server.go:1995 (0x6fec11) chatgpttoapi | /usr/local/go/src/runtime/asm_amd64.s:1598 (0x467660)
check here try the newer commit
昨天的0a7512d和当前的f50aab0都会提示出现错误:
time: missing Location in call to Time
操作系统:Debian 5.10.197 x86_64 安装方式:Dockerfile 编译