Express 警告,无法连接到https上的云代码

Express 警告,无法连接到https上的云代码,express,parse-platform,parse-server,Express,Parse Platform,Parse Server,在https上设置解析后,我收到此消息 'WARNING, Unable to connect to https://localhost:2096/parse'. Cloud code and push notifications may be unavailable! 以下是我的配置: serverURL: 'https://localhost:2096/parse', publicServerURL: 'https://core.com:2096/parse', var credent

在https上设置解析后,我收到此消息

'WARNING, Unable to connect to https://localhost:2096/parse'. 
Cloud code and push notifications may be unavailable!
以下是我的配置:

serverURL: 'https://localhost:2096/parse',
publicServerURL: 'https://core.com:2096/parse',

var credentials = {key: privateKey, cert: certificate};
var port = 2096;
var httpsServer = require('https').createServer(credentials, app);
你知道怎么做吗


关于

您能在这里添加服务器初始化的完整代码和错误的完整堆栈跟踪吗?这里是@davidacêdo错误在上面,警告是在http上运行的相同代码吗?谁在抛出错误?你有客户代码吗?你能不能同时发送引发此错误的代码?我刚刚设置了https和npm start。。。如果是http,它会工作,但如果是https,它会显示此消息,我是否应该制作一个屏幕截图?请在这里添加服务器初始化的完整代码和错误的完整堆栈跟踪?这里是@davidacêdo错误在上面,警告是在http上运行的相同代码吗?谁在抛出错误?你有客户代码吗?你能不能同时发送引发此错误的代码?我刚刚设置了https和npm start。。。如果是http,它会工作,但如果是https,它会向我显示此消息,我应该做一个屏幕截图吗?