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

failed to import from URLs at flogo-components, e.g. activity #1369

Open
1 of 2 tasks
jenmwms opened this issue Nov 24, 2021 · 1 comment
Open
1 of 2 tasks

failed to import from URLs at flogo-components, e.g. activity #1369

jenmwms opened this issue Nov 24, 2021 · 1 comment
Labels

Comments

@jenmwms
Copy link

jenmwms commented Nov 24, 2021

Environment

How are you running Flogo Web?

  • Docker (Specify the docker image that you're using and the command you used to start the container)
  • Other (Provide details of your environment)

Describe the bug

Consistently fails to 'Install contribution'. Attempting to modify the HelloWorld app with 'null', 'readfile', 'writetofile', etc. to learn about Flogo.

To Reproduce

Steps to reproduce the behavior:

  1. Pull and Run the Docker image using docker run -it -p 3303:3303 flogo/flogo-docker eula-accept
  2. Go to Flogo Web
  3. In the top menu banner, click on 'Install Contribution'
  4. Type the URL for a contribution at flogo-components, such as null. The link for flogo web would be 'https://github.com/retgits/flogo-components/activity/null'
  5. See error - 'Install Failed'

Expected behavior

Expected behavior is to install the contribution (e.g. activity, trigger, app) without error and add contribution to Flows thereafter using the (+) and see the newly installed component in the list.

Additional context

I am using a fresh Docker image and Hello World sample app. Built-in components appear to work ok (e.g. Counter Activity, Log), but fails to install any new ones.

If I attach a shell to the container and attempt the CLI install, I get more information:

flogo install github.com/retgits/flogo-components/activity/null
Error validating project: not a valid flogo app project directory, missing flogo.json

This does not appear to be a network or proxy issue. The error message above indicates the connection is made but the contents were not as expected, but perhaps it did not connect to github at all? I can click on the external links in the localhost:3033 and navigates fine so that does not seem to be the issue.

Any suggestions?

@fcastill
Copy link
Collaborator

fcastill commented Dec 1, 2021

I think there is an issue with one of the dependencies of that activity github.com/retgits/flogo-components/activity/null, this is the error I see:

Error installing contribution/dependency: go: finding github.com/apcera/termtables v0.0.0-20170405184538-bcbc5dc54055
go: finding github.com/rivo/uniseg v0.2.0
go: github.com/apcera/[email protected]: git fetch -f https://github.com/apcera/termtables refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /go/pkg/mod/cache/vcs/b84d3fb231169dee63344bc945b90483f9f0814eaa2866481b69a8c876088c78: exit status 128:
	fatal: could not read Username for 'https://github.com': terminal prompts disabled

and I cannot access that github project github.com/apcera/termtables so perhaps it was deleted or made private?

If I attach a shell to the container and attempt the CLI install, I get more information:

 flogo install github.com/retgits/flogo-components/activity/null

Error validating project: not a valid flogo app project directory, missing flogo.json

Did you run this inside the folder /flogo-web/local/engines/flogo-web ? that's where the flogo engine is inside the flogo-docker container.

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

No branches or pull requests

2 participants