servds / logs /2024-06-15.log
ffreemt
Update local files instead of git clone
813eca2
raw
history blame
No virus
26.9 kB
===================== 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 =====================