steedos / steedos-platform

华炎魔方低代码平台,超强前后端在线编程能力。 | Steedos is an open-source alternative to Salesforce Low-Code Platform. 🤖 🎨 🚀
https://www.steedos.com
GNU Affero General Public License v3.0
1.4k stars 391 forks source link

创建完公告以后本地服务就死掉了 #2058

Closed lizhenghotoa closed 3 years ago

lizhenghotoa commented 3 years ago

image 公告数据: { "_id" : "dZXfErSWJLBy3yR3o", "name" : "关于中秋放假通知", "body" : "注意放假调休时间", "members" : [ "61288c02bdc9890a9fe16fa7" ], "space" : "L9dbHwbvaD9f6B2aj", "owner" : "61288c02bdc9890a9fe16fa7", "created" : ISODate("2021-08-28T05:59:13.645Z"), "modified" : ISODate("2021-08-28T05:59:13.645Z"), "created_by" : "61288c02bdc9890a9fe16fa7", "modified_by" : "61288c02bdc9890a9fe16fa7", "company_id" : "CNSBBMXEZfqjv9Y3g", "company_ids" : [ "CNSBBMXEZfqjv9Y3g" ] }

lizhenghotoa commented 3 years ago

service ~packages-@steedos/service-pages started ERROR: Push server could not find certData ERROR: Push server could not find keyData /Users/huayan/Documents/GitHub/steedos-apps/node_modules/q/q.js:155 throw e; ^

Error: ENOENT: no such file or directory, open 'cert.pem' Emitted 'error' event on Connection instance at: at Connection. (/Users/huayan/Documents/GitHub/steedos-apps/node_modules/apn/lib/connection.js:241:8) at _rejected (/Users/huayan/Documents/GitHub/steedos-apps/node_modules/q/q.js:864:24) at /Users/huayan/Documents/GitHub/steedos-apps/node_modules/q/q.js:890:30 at Promise.when (/Users/huayan/Documents/GitHub/steedos-apps/node_modules/q/q.js:1142:31) at Promise.promise.promiseDispatch (/Users/huayan/Documents/GitHub/steedos-apps/node_modules/q/q.js:808:41) at /Users/huayan/Documents/GitHub/steedos-apps/node_modules/q/q.js:624:44 at runSingle (/Users/huayan/Documents/GitHub/steedos-apps/node_modules/q/q.js:137:13) at flush (/Users/huayan/Documents/GitHub/steedos-apps/node_modules/q/q.js:125:13) at processTicksAndRejections (internal/process/task_queues.js:79:11) { errno: -2, code: 'ENOENT', syscall: 'open', path: 'cert.pem' } error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

lizhenghotoa commented 3 years ago

去掉steedos-config.yml中消息推送属性push_interval: 1000