Skip to content

Conversation

@coco-super
Copy link
Collaborator

@coco-super coco-super commented Jan 21, 2020

问题 1:fun dpeloy 部署日志服务出现 AccessKeyId ... is inactive,反复排查 ak 信息正确,原因是日志服务未开通导致。
解决:捕捉错误特征并引导用户去日志服务首页开通服务。

问题 2: 修复 mac 上 http invoke 时表单过大的问题。

版本 1 : windows 和 mac 都用 dockerode exec 的 stdin 传递事件。
发现的问题:dockerode exec 在 windows 上有问题,用 exec 的 stdin 传递事件,当调用 stream.end() 时,会直接导致 exec 退出,且 ExitCode 为 null。

版本 2:不使用 stdin 传递事件,而是自定义参数 --event 和 --decode 来处理 event。
发现的问题:表单过大时会出现报错:/var/fc/runtime/nodejs10/mock exited with code 126,目前此问题在 mac 和 windows 上均有发生。

版本3(此 pr):windows 上行为和版本 2 保持一致,并修复 mac 表单限制。mac 上在 docker exec 时回退为 stdin。需要在 dockerode 提一个 issue,待 dockerode 修复后。fun 才真正解决此问题。

问题 3: 修复部署时 Policies 显示 [objec],[objec] 的问题以及配置 Policies 的 Resources 新增类型支持

@coco-super coco-super force-pushed the coco/fix-upload-big-file-for-http-invoke branch from 7302807 to ac681fd Compare February 7, 2020 15:46
@tanhe123 tanhe123 merged commit 49a65c3 into alibaba:master Feb 8, 2020
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

Successfully merging this pull request may close these issues.

3 participants