我也是同样问题。前几天好好的,莫名其妙
求解:云开发中云函数调用本地mysql的问题- 当前 Bug 的表现 我使用云开发用云函数请求本地的mysql,为什么老是提示错误:Uncaught (in promise) Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID d66c0e35-ef06-11e8-af32-52540064d067, cloud function service error code -504002, error message SequelizeConnectionRefusedError: connect ECONNREFUSED 127.0.0.1:3306 网上找了一圈没有找到合适的答案,有个是说mysql的skip-networking没有关,可是我看了下skip-networking是off的,求大佬指点!!或者有没有别的云函数调用本地Mysql的方案
2022-05-12同样问题
求大佬帮忙解决一下--?小程序云函数之前运行好好的,这两天就出现问题了,代码我没动过,接口也一样,我怀疑是got的问题,但不懂怎么解决,求大佬帮忙看看,在线等, 出错提示:{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"RequestError: connect EHOSTUNREACH 154.93.246.130:443\n at ClientRequest.\u003canonymous\u003e (/var/user/node_modules/got/source/request-as-event-emitter.js:178:14)\n at Object.onceWrapper (events.js:418:26)\n at ClientRequest.emit (events.js:323:22)\n at ClientRequest.origin.emit (/var/user/node_modules/@szmarczak/http-timer/source/index.js:37:11)\n at TLSSocket.socketErrorListener (_http_client.js:426:9)\n at TLSSocket.emit (events.js:311:20)\n at emitErrorNT (internal/streams/destroy.js:92:8)\n at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n at processTicksAndRejections (internal/process/task_queues.js:84:21)","statusCode":430}
2022-05-12