Highlighted

Error while running the first firefly project

Avatar

Avatar

Saif

Avatar

Saif

Saif

18-11-2020

Hello,

 

I am trying to run a firefly 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

Replies

Highlighted

Avatar

Avatar

duypnguyen

Employee

Avatar

duypnguyen

Employee

duypnguyen
Employee

18-11-2020

Hi @Saif - are you following the guidance to write your first Firefly app? 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 Project Firefly, feel free to post directly in the Firefly Forum: https://experienceleaguecommunities.adobe.com/t5/project-firefly/ct-p/project-firefly

Highlighted

Avatar

Avatar

Saif

Avatar

Saif

Saif

18-11-2020

@duypnguyen I followed the guidance and the error is till there even if I terminate the current run command and start a new one.

Highlighted

Avatar

Avatar

duypnguyen

Employee

Avatar

duypnguyen

Employee

duypnguyen
Employee

18-11-2020

@Saif - could you share the output of this command `aio info` ?

Highlighted

Avatar

Avatar

Saif

Avatar

Saif

Saif

18-11-2020

@duypnguyen Here's the screenshot of the output of 'aio info':

Saif_0-1605710091342.png

 

Highlighted

Avatar

Avatar

duypnguyen

Employee

Avatar

duypnguyen

Employee

duypnguyen
Employee

19-11-2020

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

Highlighted

Avatar

Avatar

Saif

Avatar

Saif

Saif

19-11-2020

I already have AIO_runtime_apihost=https://adobeioruntime.net in .env file