Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

邮件提醒报错,不知道为什么Error: undefined is not a valid uri or options object. #138

Closed
ZHYCarge opened this issue Jul 16, 2021 · 4 comments

Comments

@ZHYCarge
Copy link

错误代码如下:

[2021-07-16T12:06:00.462136600Z][instance:web1] LeanEngine: /self_wake: 500: Error: undefined is not a valid uri or options object.
[2021-07-16T12:06:00.462165000Z][instance:web1]     at request (/home/leanengine/app/node_modules/request/index.js:44:11)
[2021-07-16T12:06:00.462170400Z][instance:web1]     at /home/leanengine/app/cloud.js:70:5
[2021-07-16T12:06:00.462173700Z][instance:web1]     at promiseTry.then.user (/home/leanengine/app/node_modules/leanengine/lib/leanengine.js:198:14)
[2021-07-16T12:06:00.462177500Z][instance:web1]     at processTicksAndRejections (internal/process/task_queues.js:86:5)
[2021-07-16T12:06:00.467000000Z][system] CloudQueue 运行失败 a3d3fbac-6b17-4899-bd60-949fdc8223b8: self_wake !! {"error":"500 - {\"code\":1,\"error\":\"undefined is not a valid uri or options object.\"}"}

相关配置

自动唤醒函数配置(感觉不是这里报错的

image

相关参数配置

image
(我相信我打码打了个寂寞2333
有大佬能看看嘛(暴风哭泣

@DesertsP
Copy link
Owner

有绑定云引擎的域名吗?

@ZHYCarge
Copy link
Author

有绑定云引擎的域名吗?
大佬,有的
image

@DesertsP
Copy link
Owner

ADMIN_URL这个环境变量设置下,具体可以搜索教程里的,之后重启容器

@ZHYCarge
Copy link
Author

ADMIN_URL这个环境变量设置下,具体可以搜索教程里的,之后重启容器

可以了,感谢大佬(以为那个变量不是必须的orz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants