활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
Hello,
I am trying to run a App Builder project with the following command:
aio app run
However, I am getting this error in the terminal:
OpenWhiskError: Unknown Error From API: self signed certificate in certificate chain
Please let me know what's wrong.
Regards,
Saif
조회 수
답글
좋아요 수
Hi @Saif - are you following the guidance to write your first App Builder? https://github.com/AdobeDocs/project-firefly/blob/master/getting_started/first_app.md
Does the error disappear if you terminate the current run command and start a new one?
For future questions regarding App Builder, feel free to post directly in the App BuilderForum: https://experienceleaguecommunities.adobe.com/t5/project-firefly/ct-p/project-firefly
조회 수
답글
좋아요 수
@duypnguyen I followed the guidance and the error is still there even if I terminate the current run command and start a new one.
조회 수
답글
좋아요 수
@Saif - could you share the output of this command `aio info` ?
조회 수
답글
좋아요 수
조회 수
답글
좋아요 수
Thanks for sharing the info @Saif . I don't see any problem with the setup, all versions are up to date.
There is a .env file inside your project directory. Do you see: AIO_runtime_apihost=https://adobeioruntime.net ? If not please add it.
It's possible that you have a different host in ~/.wskprops.
Related issue: https://github.com/adobe/aio-cli-plugin-app/issues/267
조회 수
답글
좋아요 수
I already have AIO_runtime_apihost=https://adobeioruntime.net in .env file
조회 수
답글
좋아요 수
Hi,
I was never able to find the cause of this issue. But I would like to point out that after trying it again now, I am getting a different error. It says "Error: Unknown Error From API: unable to get local issuer certificate".
I would love to have some answers here so that I can start exploring App Builder.
Regards,
Saif
조회 수
답글
좋아요 수
@Saif - based on the previous conversation, it seemed that your connection is blocked by a firewall.
Similar report at https://github.com/adobe/aio-cli/issues/222
Did you have a chance to work with your IT department on how to overcome it?
조회 수
답글
좋아요 수
I contacted the IT department. They are asking what exactly the "aio app run" command does. I need to tell them which endpoint it is exactly trying to connect to so that they can whitelist it.
조회 수
답글
좋아요 수
Endpoints for updating Runtime actions are:
adobeioruntime.net
*.adobeioruntime.net
If you project has a UI, it will need to upload static files to our CDN. The upload URL can be dynamic based on the backend system so I can not confirm it. Currently it's uploaded to AWS S3.
조회 수
답글
좋아요 수
I can give them the mentioned endpoints but when I ping adobeioruntime.net, I get the response as expected:
Also, for the static files upload URL, I found the following URL mentioned as "app_url" in the .aio file:
조회 수
답글
좋아요 수
As per the IT team, api.amplitude.com is blocked on the network by them. Is "aio app run" command dependent on it? If yes then they can unblock it.
조회 수
답글
좋아요 수