forscht / ddrive

Discord as a filesystem.
https://ddrive.forscht.dev
MIT License
498 stars 99 forks source link

I can't upload files or do anything. #102

Open Beni34 opened 1 year ago

Beni34 commented 1 year ago

Console log:

{"level":30,"time":1699018563836,"msg":"Server listening at http://0.0.0.0:3000"} {"level":30,"time":1699018567562,"reqId":"req-1","req":{"method":"GET","url":"/","hostname":"ddrive.beni34.repl.co","remoteAddress":"172.31.196.1","remotePort":55526},"msg":"incoming request"} {"level":30,"time":1699018567673,"reqId":"req-1","res":{"statusCode":304},"responseTime":102.10606300085783,"msg":"request completed"} {"level":30,"time":1699018567868,"reqId":"req-2","req":{"method":"GET","url":"/normalize.css","hostname":"ddrive.beni34.repl.co","remoteAddress":"172.31.196.1","remotePort":55526},"msg":"incoming request"} {"level":30,"time":1699018567880,"reqId":"req-2","res":{"statusCode":304},"responseTime":11.909721001982689,"msg":"request completed"} {"level":30,"time":1699018567929,"reqId":"req-3","req":{"method":"GET","url":"/style.css","hostname":"ddrive.beni34.repl.co","remoteAddress":"172.31.196.1","remotePort":45178},"msg":"incoming request"} {"level":30,"time":1699018567932,"reqId":"req-4","req":{"method":"GET","url":"/index.js","hostname":"ddrive.beni34.repl.co","remoteAddress":"172.31.196.1","remotePort":60024},"msg":"incoming request"} {"level":30,"time":1699018567934,"reqId":"req-3","res":{"statusCode":304},"responseTime":3.7814579978585243,"msg":"request completed"} {"level":30,"time":1699018567934,"reqId":"req-4","res":{"statusCode":304},"responseTime":2.403769999742508,"msg":"request completed"} {"level":30,"time":1699018568218,"reqId":"req-5","req":{"method":"GET","url":"/api/directories/","hostname":"ddrive.beni34.repl.co","remoteAddress":"172.31.196.1","remotePort":60024},"msg":"incoming request"} {"level":30,"time":1699018568368,"reqId":"req-6","req":{"method":"GET","url":"/favicon.png","hostname":"ddrive.beni34.repl.co","remoteAddress":"172.31.196.1","remotePort":45178},"msg":"incoming request"} {"level":30,"time":1699018568373,"reqId":"req-6","res":{"statusCode":304},"responseTime":4.971292998641729,"msg":"request completed"} {"level":30,"time":1699018568407,"reqId":"req-7","req":{"method":"GET","url":"/manifest.json","hostname":"ddrive.beni34.repl.co","remoteAddress":"172.31.196.1","remotePort":45980},"msg":"incoming request"} {"level":30,"time":1699018568409,"reqId":"req-7","res":{"statusCode":304},"responseTime":1.7833979986608028,"msg":"request completed"} {"level":50,"time":1699018568581,"err":{"type":"DatabaseError","message":"connection is insecure (try using sslmode=require)","stack":"error: connection is insecure (try using sslmode=require)\n at Parser.parseErrorMessage (/home/runner/ddrive/node_modules/pg-protocol/dist/parser.js:287:98)\n at Parser.handlePacket (/home/runner/ddrive/node_modules/pg-protocol/dist/parser.js:126:29)\n at Parser.parse (/home/runner/ddrive/node_modules/pg-protocol/dist/parser.js:39:38)\n at Socket. (/home/runner/ddrive/node_modules/pg-protocol/dist/index.js:11:42)\n at Socket.emit (node:events:513:28)\n at addChunk (node:internal/streams/readable:324:12)\n at readableAddChunk (node:internal/streams/readable:297:9)\n at Readable.push (node:internal/streams/readable:234:10)\n at TCP.onStreamRead (node:internal/stream_base_commons:190:23)","length":73,"name":"error","severity":"ERROR","code":"XX000","reqId":"req-5"},"msg":"connection is insecure (try using sslmode=require)"} {"level":30,"time":1699018568584,"reqId":"req-5","res":{"statusCode":500},"responseTime":365.89309500157833,"msg":"request completed"} {"level":30,"time":1699018568642,"reqId":"req-8","req":{"method":"GET","url":"/favicon.png","hostname":"ddrive.beni34.repl.co","remoteAddress":"172.31.196.1","remotePort":45178},"msg":"incoming request"} {"level":30,"time":1699018568644,"reqId":"req-8","res":{"statusCode":304},"responseTime":1.7307710014283657,"msg":"request completed"} {"level":30,"time":1699018570926,"reqId":"req-9","req":{"method":"GET","url":"/sw.js","hostname":"ddrive.beni34.repl.co","remoteAddress":"172.31.196.1","remotePort":57182},"msg":"incoming request"} {"level":30,"time":1699018570929,"reqId":"req-9","res":{"statusCode":304},"responseTime":2.3036199994385242,"msg":"request completed"}