Open starpunjabi opened 2 years ago
yarn server start yarn run v1.22.17 $ yarn workspace server start $ nodemon dist/index.js --watch [nodemon] 2.0.12 [nodemon] to restart at any time, enter `rs` [nodemon] watching path(s): *.* [nodemon] watching extensions: js,mjs,json [nodemon] starting `node dist/index.js` [ { path: '/ping', methods: [ 'GET' ], middlewares: [ 'anonymous' ] }, { path: '/security.txt', methods: [ 'GET' ], middlewares: [ 'anonymous' ] }, { path: '/api/v1/auth/sendCode', methods: [ 'POST' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/auth/reSendCode', methods: [ 'POST' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/auth/login', methods: [ 'POST' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/auth/refreshToken', methods: [ 'POST' ], middlewares: [ 'handler' ] }, { path: '/api/v1/auth/qrCode', methods: [ 'GET' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/auth/qrCodeSignIn', methods: [ 'POST' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/auth/me', methods: [ 'GET' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/auth/logout', methods: [ 'POST' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/contact/send', methods: [ 'POST' ], middlewares: [ 'handler' ] }, { path: '/api/v1/dialogs/', methods: [ 'GET' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/dialogs/:type/:id', methods: [ 'GET' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/dialogs/:type/:id/avatar.jpg', methods: [ 'GET' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/documents/privacy', methods: [ 'GET' ], middlewares: [ 'handler' ] }, { path: '/api/v1/documents/tos', methods: [ 'GET' ], middlewares: [ 'handler' ] }, { path: '/api/v1/documents/refund', methods: [ 'GET' ], middlewares: [ 'handler' ] }, { path: '/api/v1/files/', methods: [ 'GET', 'POST' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/files/addFolder', methods: [ 'POST' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/files/:id', methods: [ 'GET', 'DELETE', 'PATCH' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/files/upload/:id?', methods: [ 'POST' ], middlewares: [ 'anonymous', 'anonymous', 'handler' ] }, { path: '/api/v1/files/uploadBeta/:id?', methods: [ 'POST' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/files/breadcrumbs/:id', methods: [ 'GET' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/files/sync', methods: [ 'POST' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/files/filesSync', methods: [ 'POST' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/github/contributors', methods: [ 'GET' ], middlewares: [ 'handler' ] }, { path: '/api/v1/messages/history/:type/:id', methods: [ 'GET' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/messages/sponsoredMessages/:type/:id', methods: [ 'GET' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/messages/readSponsoredMessages/:type/:id', methods: [ 'POST' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/messages/read/:type/:id', methods: [ 'POST' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/messages/send/:type/:id', methods: [ 'POST' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/messages/:type/:id/:msgId', methods: [ 'PATCH', 'DELETE' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/messages/forward/:msgId', methods: [ 'POST' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/messages/search', methods: [ 'GET' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/messages/globalSearch', methods: [ 'GET' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/messages/:type/:id/avatar.jpg', methods: [ 'GET' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/subscriptions/', methods: [ 'POST' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/users/search', methods: [ 'GET' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/users/me/usage', methods: [ 'GET' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/users/', methods: [ 'GET' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/users/me/settings', methods: [ 'PATCH' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/users/me/delete', methods: [ 'POST' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/users/me/paymentSync', methods: [ 'POST' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/users/:tgId/payment', methods: [ 'GET' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/users/:username/:param?', methods: [ 'GET' ], middlewares: [ 'anonymous', 'handler' ] }, { path: '/api/v1/utils/maintenance', methods: [ 'GET' ], middlewares: [ 'handler' ] }, { path: '/api/v1/utils/ipinfo', methods: [ 'GET' ], middlewares: [ 'handler' ] }, { path: '/api/v1/utils/version', methods: [ 'GET' ], middlewares: [ 'handler' ] }, { path: '/api/v1/utils/simpleAnalytics', methods: [ 'GET' ], middlewares: [ 'handler' ] }, { path: '/api/v1/waitings/', methods: [ 'POST' ], middlewares: [ 'handler' ] } ] Running at :4000... [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) C:\SSK\Projects\teledrive\node_modules\pg-protocol\src\parser.ts:369 name === 'notice' ? new NoticeMessage(length, messageValue) : new DatabaseError(messageValue, length, name) ^ error: no pg_hba.conf entry for host "123.136.206.55", user "aupacialotpaoa", database "d7hg0srltk3us", SSL off at Parser.parseErrorMessage (C:\SSK\Projects\teledrive\node_modules\pg-protocol\src\parser.ts:369:69) at Parser.handlePacket (C:\SSK\Projects\teledrive\node_modules\pg-protocol\src\parser.ts:188:21) at Parser.parse (C:\SSK\Projects\teledrive\node_modules\pg-protocol\src\parser.ts:103:30) at Socket.<anonymous> (C:\SSK\Projects\teledrive\node_modules\pg-protocol\src\index.ts:7:48) at Socket.emit (node:events:526:28) at addChunk (node:internal/streams/readable:315:12) at readableAddChunk (node:internal/streams/readable:289:9) at Socket.Readable.push (node:internal/streams/readable:228:10) at TCP.onStreamRead (node:internal/stream_base_commons:190:23) [nodemon] app crashed - waiting for file changes before starting...
Hmm somehow you can't connect to your database, can you connect to db with the terminal?