File size: 26,884 Bytes
813eca2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 |
===================== LOG START 2024-06-15 18:38:42.920 =====================
[2024-06-15 18:38:42.909][success][index<966,20>] Server initialized
[2024-06-15 18:38:42.924][info][index<1614,18>] <<<< deepseek free server >>>>
[2024-06-15 18:38:42.926][info][index<1615,18>] Version: 0.0.6
[2024-06-15 18:38:42.927][info][index<1616,18>] Process id: 27624
[2024-06-15 18:38:42.928][info][index<1617,18>] Environment: dev
[2024-06-15 18:38:42.929][info][index<1618,18>] Service name: deepseek-free-api
[2024-06-15 18:38:42.933][info][index<990,22>] Route attached
[2024-06-15 18:38:42.934][info][index<990,22>] Route /v1/chat attached
[2024-06-15 18:38:42.934][info][index<990,22>] Route /ping attached
[2024-06-15 18:38:42.936][info][index<990,22>] Route /token attached
[2024-06-15 18:38:42.937][info][index<990,22>] Route /v1 attached
[2024-06-15 18:38:42.979][success][index<1079,20>] Server listening on port 8000 (0.0.0.0)
[2024-06-15 18:38:42.980][success][index<1623,24>] Service startup completed (59ms)
[2024-06-15 18:41:50.757][info][index<1016,26>] -> GET /
[2024-06-15 18:41:50.770][info][index<986,30>] <- GET / 10ms
[2024-06-15 18:42:00.157][debug][index<995,22>] -> GET /v1 request is not supported - 127.0.0.1
[2024-06-15 18:42:00.159][warning][index<997,22>] [请求有误]: 正确请求为 POST -> /v1/chat/completions,当前请求为 GET -> /v1 请纠正
[2024-06-15 18:42:00.167][info][index<1002,24>] <- GET /v1 8ms
[2024-06-15 18:42:20.540][debug][index<995,22>] -> GET /v1/chat/completions request is not supported - 127.0.0.1
[2024-06-15 18:42:20.543][warning][index<997,22>] [请求有误]: 正确请求为 POST -> /v1/chat/completions,当前请求为 GET -> /v1/chat/completions 请纠正
[2024-06-15 18:42:20.545][info][index<1002,24>] <- GET /v1/chat/completions 4ms
[2024-06-15 18:42:38.630][info][index<1016,26>] -> POST /v1/chat/completions
[2024-06-15 18:42:38.635][warning][index<823,22>] Params body.messages invalid: [Mismatch] -> function isArray() { [native code] }
[2024-06-15 18:42:38.638][error][index<1035,28>] APIException [Error]: Params body.messages invalid
at Request.validate (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:824:13)
at /completions (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1520:94)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1017:9
at new Promise (<anonymous>)
at #requestProcessing (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1012:12)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:984:72
at dispatch (C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:42:32)
at C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-router\lib\router.js:423:16
at dispatch (C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:42:32)
at C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:34:12 {
errcode: -2000,
errmsg: 'Params body.messages invalid',
data: undefined,
httpStatusCode: undefined
}[2024-06-15 18:42:38.649][info][index<986,30>] <- POST /v1/chat/completions 19ms
[2024-06-15 18:43:00.943][info][index<1016,26>] -> POST /v1/chat/completions
[2024-06-15 18:43:00.944][warning][index<823,22>] Params body.messages invalid: [Mismatch] -> function isArray() { [native code] }
[2024-06-15 18:43:00.945][error][index<1035,28>] APIException [Error]: Params body.messages invalid
at Request.validate (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:824:13)
at /completions (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1520:94)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1017:9
at new Promise (<anonymous>)
at #requestProcessing (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1012:12)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:984:72
at dispatch (C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:42:32)
at C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-router\lib\router.js:423:16
at dispatch (C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:42:32)
at C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:34:12 {
errcode: -2000,
errmsg: 'Params body.messages invalid',
data: undefined,
httpStatusCode: undefined
}[2024-06-15 18:43:00.946][info][index<986,30>] <- POST /v1/chat/completions 3ms
[2024-06-15 18:43:10.914][info][index<1016,26>] -> POST /v1/chat/completions
[2024-06-15 18:43:10.916][warning][index<823,22>] Params body.messages invalid: [Mismatch] -> function isArray() { [native code] }
[2024-06-15 18:43:10.917][error][index<1035,28>] APIException [Error]: Params body.messages invalid
at Request.validate (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:824:13)
at /completions (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1520:94)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1017:9
at new Promise (<anonymous>)
at #requestProcessing (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1012:12)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:984:72
at dispatch (C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:42:32)
at C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-router\lib\router.js:423:16
at dispatch (C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:42:32)
at C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:34:12 {
errcode: -2000,
errmsg: 'Params body.messages invalid',
data: undefined,
httpStatusCode: undefined
}[2024-06-15 18:43:10.918][info][index<986,30>] <- POST /v1/chat/completions 4ms
[2024-06-15 18:43:25.253][info][index<1016,26>] -> POST /v1/chat/completions
[2024-06-15 18:43:25.254][warning][index<823,22>] Params body.messages invalid: [Mismatch] -> function isArray() { [native code] }
[2024-06-15 18:43:25.254][error][index<1035,28>] APIException [Error]: Params body.messages invalid
at Request.validate (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:824:13)
at /completions (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1520:94)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1017:9
at new Promise (<anonymous>)
at #requestProcessing (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1012:12)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:984:72
at dispatch (C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:42:32)
at C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-router\lib\router.js:423:16
at dispatch (C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:42:32)
at C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:34:12 {
errcode: -2000,
errmsg: 'Params body.messages invalid',
data: undefined,
httpStatusCode: undefined
}[2024-06-15 18:43:25.256][info][index<986,30>] <- POST /v1/chat/completions 3ms
[2024-06-15 18:45:22.774][info][index<1016,26>] -> POST /v1/chat/completions
[2024-06-15 18:45:22.776][warning][index<823,22>] Params body.messages invalid: [Mismatch] -> function isArray() { [native code] }
[2024-06-15 18:45:22.777][error][index<1035,28>] APIException [Error]: Params body.messages invalid
at Request.validate (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:824:13)
at /completions (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1520:94)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1017:9
at new Promise (<anonymous>)
at #requestProcessing (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1012:12)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:984:72
at dispatch (C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:42:32)
at C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-router\lib\router.js:423:16
at dispatch (C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:42:32)
at C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:34:12 {
errcode: -2000,
errmsg: 'Params body.messages invalid',
data: undefined,
httpStatusCode: undefined
}[2024-06-15 18:45:22.783][info][index<986,30>] <- POST /v1/chat/completions 9ms
[2024-06-15 18:46:25.059][info][index<1016,26>] -> POST /v1/chat/completions
[2024-06-15 18:46:25.061][warning][index<823,22>] Params body.messages invalid: [Mismatch] -> function isArray() { [native code] }
[2024-06-15 18:46:25.063][error][index<1035,28>] APIException [Error]: Params body.messages invalid
at Request.validate (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:824:13)
at /completions (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1520:94)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1017:9
at new Promise (<anonymous>)
at #requestProcessing (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1012:12)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:984:72
at dispatch (C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:42:32)
at C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-router\lib\router.js:423:16
at dispatch (C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:42:32)
at C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:34:12 {
errcode: -2000,
errmsg: 'Params body.messages invalid',
data: undefined,
httpStatusCode: undefined
}[2024-06-15 18:46:25.065][info][index<986,30>] <- POST /v1/chat/completions 7ms
[2024-06-15 18:47:12.358][info][index<1016,26>] -> POST /v1/chat/completions
[2024-06-15 18:47:12.359][warning][index<823,22>] Params body.messages invalid: [Mismatch] -> function isArray() { [native code] }
[2024-06-15 18:47:12.360][error][index<1035,28>] APIException [Error]: Params body.messages invalid
at Request.validate (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:824:13)
at /completions (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1520:94)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1017:9
at new Promise (<anonymous>)
at #requestProcessing (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1012:12)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:984:72
at dispatch (C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:42:32)
at C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-router\lib\router.js:423:16
at dispatch (C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:42:32)
at C:\mat-dir\playground\huggingface-stuff\deepseek-free-api\node_modules\koa-compose\index.js:34:12 {
errcode: -2000,
errmsg: 'Params body.messages invalid',
data: undefined,
httpStatusCode: undefined
}[2024-06-15 18:47:12.361][info][index<986,30>] <- POST /v1/chat/completions 3ms
[2024-06-15 18:48:18.406][info][index<1016,26>] -> POST /v1/chat/completions
[2024-06-15 18:48:18.407][info][index<1198,20>] [ { role: 'user', content: 'Say this is a test!' } ]
[2024-06-15 18:48:18.409][info][index<1125,18>] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzc29faWQiOiIwYzM1ZjQ1Mi1kOGUxLTQzYTAtODcwMC0xNGI3NjI2Njc3MjkiLCJpc19vYXV0aCI6MSwib2F1dGhfcHJvdmlkZXIiOiJnb29nbGUiLCJ0b2tlbl90eXBlIjoiQmVhcmVyIiwiYWNjZXNzX3Rva2VuIjoieWEyOS5hMEFYb29DZ3VCclN6alp5UUZjb25SSFhKR01rMWdWMUN4TkNXekxMMU1XWF8zbkJUTEYxZEVnM25OTTdfaDFGVTRLS1Fqb0FGU0hnNzZGcE1sRGpBNVBuNXV3NWJIb1BtdW9NRUh1U0poSndnVENxQmlRTTZxRW50XzdsWlgyYkpTX0FUY2NnQmJjN1JMWkVyVlNwOGhyVGVSVG51VXlpVnJmMzZNWlFhQ2dZS0FVZ1NBUklTRlFIR1gyTWktdGxuSFlic3pqTHE2Tm5nOHlBUE13MDE3MyIsImV4cGlyYXRpb25fZGF0ZSI6MTcxODQyMzU3OC43MTI1MTkyLCJyZWZyZXNoX3Rva2VuIjoiMS8vMGd6V2Z6eG81X2ZwVUNnWUlBUkFBR0JBU053Ri1MOUlyalduNmc0QlozWTc0NjlkZTl1VWd4eHVGYmVqTUc2alZRcVFsbktTYzcyMFpVQzVUeFhRa2RKb3h1UEVZcTEtMW5aSSIsImlkX3Byb2ZpbGUiOnsicHJvdmlkZXIiOiJHT09HTEUiLCJpZCI6IjExMjg0MDk2ODEwMTI4MDY5Mzc2OCIsIm5hbWUiOiJjb25nIHl1IiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0prMmlwcmR3ZGE4cFNtMnJUTDBzTEp2a1Fad0JVOUtRT3NBbE9zSTducWNJZzd3Zz1zOTYtYyIsImxvY2FsZSI6ImVuX1VTIiwiZW1haWwiOiJ5dWNvbmdvQGdtYWlsLmNvbSJ9LCJlbWFpbCI6IiIsIm1vYmlsZV9udW1iZXIiOiIiLCJhcmVhX2NvZGUiOiIiLCJtb2JpbGUiOiIiLCJleHAiOjE3MTkwNTM2MzAsImF1ZCI6IjY1MjhhZDM5NmZhYTEzNjdmZWU2ZDE2YyJ9.ZPzXbJ3Vg-ZbD4sZXcgz2wALe6RqkpCP5n_nu62zsFM
[2024-06-15 18:48:19.532][success][index<1151,20>] Refresh successful
[2024-06-15 18:48:20.012][info][index<1346,20>]
透传内容:
Say this is a test!
[2024-06-15 18:48:21.723][success][index<1232,20>] Stream has completed transfer 1205ms
[2024-06-15 18:48:21.725][info][index<986,30>] <- POST /v1/chat/completions 3318ms
[2024-06-15 18:49:24.604][info][index<1016,26>] -> POST /v1/chat/completions
[2024-06-15 18:49:24.606][info][index<1198,20>] [ { role: 'user', content: 'Say this is a test!' } ]
[2024-06-15 18:49:24.607][info][index<1125,18>] Refresh token: none
[2024-06-15 18:49:25.165][error][index<1238,22>] Stream response error: Error: [请求deepseek失败]: Authorization Failed (jwt)
at checkResult (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1368:9)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1138:23
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async requestToken (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1126:18)
at async acquireToken (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1168:14)
at async clearContext (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1178:17)
at async file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1200:7[2024-06-15 18:49:25.167][warning][index<1239,22>] Try again after 5s...
[2024-06-15 18:49:30.168][info][index<1198,20>] [ { role: 'user', content: 'Say this is a test!' } ]
[2024-06-15 18:49:30.170][info][index<1125,18>] Refresh token: none
[2024-06-15 18:49:30.670][error][index<1238,22>] Stream response error: Error: [请求deepseek失败]: Authorization Failed (jwt)
at checkResult (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1368:9)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1138:23
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async requestToken (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1126:18)
at async acquireToken (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1168:14)
at async clearContext (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1178:17)
at async file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1200:7[2024-06-15 18:49:30.672][warning][index<1239,22>] Try again after 5s...
[2024-06-15 18:49:35.683][info][index<1198,20>] [ { role: 'user', content: 'Say this is a test!' } ]
[2024-06-15 18:49:35.686][info][index<1125,18>] Refresh token: none
[2024-06-15 18:49:36.129][error][index<1238,22>] Stream response error: Error: [请求deepseek失败]: Authorization Failed (jwt)
at checkResult (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1368:9)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1138:23
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async requestToken (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1126:18)
at async acquireToken (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1168:14)
at async clearContext (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1178:17)
at async file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1200:7[2024-06-15 18:49:36.131][warning][index<1239,22>] Try again after 5s...
[2024-06-15 18:49:41.142][info][index<1198,20>] [ { role: 'user', content: 'Say this is a test!' } ]
[2024-06-15 18:49:41.143][info][index<1125,18>] Refresh token: none
[2024-06-15 18:49:41.578][error][index<1035,28>] APIException [Error]: [请求deepseek失败]: Authorization Failed (jwt)
at checkResult (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1368:9)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1138:23
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async requestToken (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1126:18)
at async acquireToken (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1168:14)
at async clearContext (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1178:17)
at async file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1200:7 {
errcode: -2001,
errmsg: '[请求deepseek失败]: Authorization Failed (jwt)',
data: undefined,
httpStatusCode: undefined
}[2024-06-15 18:49:41.581][info][index<986,30>] <- POST /v1/chat/completions 16976ms
[2024-06-15 18:49:54.381][info][index<1016,26>] -> POST /v1/chat/completions
[2024-06-15 18:49:54.382][info][index<1198,20>] [ { role: 'user', content: 'Say this is a test!' } ]
[2024-06-15 18:49:54.383][info][index<1125,18>] Refresh token: any
[2024-06-15 18:49:54.803][error][index<1238,22>] Stream response error: Error: [请求deepseek失败]: Authorization Failed (jwt)
at checkResult (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1368:9)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1138:23
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async requestToken (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1126:18)
at async acquireToken (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1168:14)
at async clearContext (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1178:17)
at async file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1200:7[2024-06-15 18:49:54.804][warning][index<1239,22>] Try again after 5s...
[2024-06-15 18:49:59.822][info][index<1198,20>] [ { role: 'user', content: 'Say this is a test!' } ]
[2024-06-15 18:49:59.824][info][index<1125,18>] Refresh token: any
[2024-06-15 18:50:00.295][error][index<1238,22>] Stream response error: Error: [请求deepseek失败]: Authorization Failed (jwt)
at checkResult (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1368:9)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1138:23
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async requestToken (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1126:18)
at async acquireToken (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1168:14)
at async clearContext (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1178:17)
at async file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1200:7[2024-06-15 18:50:00.297][warning][index<1239,22>] Try again after 5s...
[2024-06-15 18:50:05.299][info][index<1198,20>] [ { role: 'user', content: 'Say this is a test!' } ]
[2024-06-15 18:50:05.301][info][index<1125,18>] Refresh token: any
[2024-06-15 18:50:05.774][error][index<1238,22>] Stream response error: Error: [请求deepseek失败]: Authorization Failed (jwt)
at checkResult (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1368:9)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1138:23
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async requestToken (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1126:18)
at async acquireToken (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1168:14)
at async clearContext (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1178:17)
at async file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1200:7[2024-06-15 18:50:05.775][warning][index<1239,22>] Try again after 5s...
[2024-06-15 18:50:10.781][info][index<1198,20>] [ { role: 'user', content: 'Say this is a test!' } ]
[2024-06-15 18:50:10.783][info][index<1125,18>] Refresh token: any
[2024-06-15 18:50:11.212][error][index<1035,28>] APIException [Error]: [请求deepseek失败]: Authorization Failed (jwt)
at checkResult (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1368:9)
at file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1138:23
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async requestToken (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1126:18)
at async acquireToken (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1168:14)
at async clearContext (file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1178:17)
at async file:///C:/mat-dir/playground/huggingface-stuff/deepseek-free-api/dist/index.js:1200:7 {
errcode: -2001,
errmsg: '[请求deepseek失败]: Authorization Failed (jwt)',
data: undefined,
httpStatusCode: undefined
}[2024-06-15 18:50:11.218][info][index<986,30>] <- POST /v1/chat/completions 16837ms
[2024-06-15 18:50:54.317][info][index<1016,26>] -> POST /v1/chat/completions
[2024-06-15 18:50:54.318][info][index<1198,20>] [ { role: 'user', content: 'Say this is a test!' } ]
[2024-06-15 18:50:54.850][info][index<1346,20>]
透传内容:
Say this is a test!
[2024-06-15 18:50:56.462][success][index<1232,20>] Stream has completed transfer 1112ms
[2024-06-15 18:50:56.464][info][index<986,30>] <- POST /v1/chat/completions 2147ms
[2024-06-15 18:51:56.925][info][index<685,18>] Service exit
===================== LOG END 2024-06-15 18:51:56.930 =====================
===================== LOG START 2024-06-15 18:52:31.175 =====================
[2024-06-15 18:52:31.165][success][index<966,20>] Server initialized
[2024-06-15 18:52:31.177][info][index<1614,18>] <<<< deepseek free server >>>>
[2024-06-15 18:52:31.180][info][index<1615,18>] Version: 0.0.6
[2024-06-15 18:52:31.181][info][index<1616,18>] Process id: 12044
[2024-06-15 18:52:31.183][info][index<1617,18>] Environment: dev
[2024-06-15 18:52:31.186][info][index<1618,18>] Service name: deepseek-free-api
[2024-06-15 18:52:31.191][info][index<990,22>] Route attached
[2024-06-15 18:52:31.192][info][index<990,22>] Route /v1/chat attached
[2024-06-15 18:52:31.193][info][index<990,22>] Route /ping attached
[2024-06-15 18:52:31.194][info][index<990,22>] Route /token attached
[2024-06-15 18:52:31.195][info][index<990,22>] Route /v1 attached
[2024-06-15 18:52:31.237][success][index<1079,20>] Server listening on port 7860 (0.0.0.0)
[2024-06-15 18:52:31.238][success][index<1623,24>] Service startup completed (63ms)
[2024-06-15 18:53:08.610][info][index<1016,26>] -> POST /v1/chat/completions
[2024-06-15 18:53:08.615][info][index<1198,20>] [ { role: 'user', content: 'Say this is a test!' } ]
[2024-06-15 18:53:08.620][info][index<1125,18>] Refresh token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzc29faWQiOiIwYzM1ZjQ1Mi1kOGUxLTQzYTAtODcwMC0xNGI3NjI2Njc3MjkiLCJpc19vYXV0aCI6MSwib2F1dGhfcHJvdmlkZXIiOiJnb29nbGUiLCJ0b2tlbl90eXBlIjoiQmVhcmVyIiwiYWNjZXNzX3Rva2VuIjoieWEyOS5hMEFYb29DZ3VCclN6alp5UUZjb25SSFhKR01rMWdWMUN4TkNXekxMMU1XWF8zbkJUTEYxZEVnM25OTTdfaDFGVTRLS1Fqb0FGU0hnNzZGcE1sRGpBNVBuNXV3NWJIb1BtdW9NRUh1U0poSndnVENxQmlRTTZxRW50XzdsWlgyYkpTX0FUY2NnQmJjN1JMWkVyVlNwOGhyVGVSVG51VXlpVnJmMzZNWlFhQ2dZS0FVZ1NBUklTRlFIR1gyTWktdGxuSFlic3pqTHE2Tm5nOHlBUE13MDE3MyIsImV4cGlyYXRpb25fZGF0ZSI6MTcxODQyMzU3OC43MTI1MTkyLCJyZWZyZXNoX3Rva2VuIjoiMS8vMGd6V2Z6eG81X2ZwVUNnWUlBUkFBR0JBU053Ri1MOUlyalduNmc0QlozWTc0NjlkZTl1VWd4eHVGYmVqTUc2alZRcVFsbktTYzcyMFpVQzVUeFhRa2RKb3h1UEVZcTEtMW5aSSIsImlkX3Byb2ZpbGUiOnsicHJvdmlkZXIiOiJHT09HTEUiLCJpZCI6IjExMjg0MDk2ODEwMTI4MDY5Mzc2OCIsIm5hbWUiOiJjb25nIHl1IiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0prMmlwcmR3ZGE4cFNtMnJUTDBzTEp2a1Fad0JVOUtRT3NBbE9zSTducWNJZzd3Zz1zOTYtYyIsImxvY2FsZSI6ImVuX1VTIiwiZW1haWwiOiJ5dWNvbmdvQGdtYWlsLmNvbSJ9LCJlbWFpbCI6IiIsIm1vYmlsZV9udW1iZXIiOiIiLCJhcmVhX2NvZGUiOiIiLCJtb2JpbGUiOiIiLCJleHAiOjE3MTkwNTM2MzAsImF1ZCI6IjY1MjhhZDM5NmZhYTEzNjdmZWU2ZDE2YyJ9.ZPzXbJ3Vg-ZbD4sZXcgz2wALe6RqkpCP5n_nu62zsFM
[2024-06-15 18:53:09.740][success][index<1151,20>] Refresh successful
[2024-06-15 18:53:10.216][info][index<1346,20>]
透传内容:
Say this is a test!
[2024-06-15 18:53:11.787][success][index<1232,20>] Stream has completed transfer 1164ms
[2024-06-15 18:53:11.795][info][index<986,30>] <- POST /v1/chat/completions 3180ms
[2024-06-15 18:53:33.474][info][index<685,18>] Service exit
===================== LOG END 2024-06-15 18:53:33.482 =====================
|