Error while running the first firefly project

Avatar

Avatar
Ignite 1
Level 2
Saif
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back
Boost 3
View profile

Avatar
Ignite 1
Level 2
Saif
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back
Boost 3
View profile
Saif
Level 2

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

Avatar

Avatar
Give Back 25
Employee
duypnguyen
Employee

Likes

36 likes

Total Posts

173 posts

Correct reply

32 solutions
Top badges earned
Give Back 25
Boost 25
Applaud 5
Give Back 5
Give Back 3
View profile

Avatar
Give Back 25
Employee
duypnguyen
Employee

Likes

36 likes

Total Posts

173 posts

Correct reply

32 solutions
Top badges earned
Give Back 25
Boost 25
Applaud 5
Give Back 5
Give Back 3
View profile
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

Avatar

Avatar
Ignite 1
Level 2
Saif
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back
Boost 3
View profile

Avatar
Ignite 1
Level 2
Saif
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back
Boost 3
View profile
Saif
Level 2

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.

Avatar

Avatar
Give Back 25
Employee
duypnguyen
Employee

Likes

36 likes

Total Posts

173 posts

Correct reply

32 solutions
Top badges earned
Give Back 25
Boost 25
Applaud 5
Give Back 5
Give Back 3
View profile

Avatar
Give Back 25
Employee
duypnguyen
Employee

Likes

36 likes

Total Posts

173 posts

Correct reply

32 solutions
Top badges earned
Give Back 25
Boost 25
Applaud 5
Give Back 5
Give Back 3
View profile
duypnguyen
Employee

18-11-2020

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

Avatar

Avatar
Ignite 1
Level 2
Saif
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back
Boost 3
View profile

Avatar
Ignite 1
Level 2
Saif
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back
Boost 3
View profile
Saif
Level 2

18-11-2020

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

Saif_0-1605710091342.png

 

Avatar

Avatar
Give Back 25
Employee
duypnguyen
Employee

Likes

36 likes

Total Posts

173 posts

Correct reply

32 solutions
Top badges earned
Give Back 25
Boost 25
Applaud 5
Give Back 5
Give Back 3
View profile

Avatar
Give Back 25
Employee
duypnguyen
Employee

Likes

36 likes

Total Posts

173 posts

Correct reply

32 solutions
Top badges earned
Give Back 25
Boost 25
Applaud 5
Give Back 5
Give Back 3
View profile
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

Avatar

Avatar
Ignite 1
Level 2
Saif
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back
Boost 3
View profile

Avatar
Ignite 1
Level 2
Saif
Level 2

Likes

3 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back
Boost 3
View profile
Saif
Level 2

19-11-2020

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