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

[BUG] Unusual Abort when using cli inside docker #1618

Open
2 tasks done
SahilDahekar opened this issue Jan 8, 2025 · 1 comment
Open
2 tasks done

[BUG] Unusual Abort when using cli inside docker #1618

SahilDahekar opened this issue Jan 8, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@SahilDahekar
Copy link
Contributor

SahilDahekar commented Jan 8, 2025

Describe the bug.

On using cli inside of docker and running any commands can see unusual Abort log in console output .

Example :

Using generate command inside docker

Sample generate Command -

docker run --rm -it --user=root --network host -v ${PWD}/example:/app/example -v ${PWD}/output:/app/output asyncapi/cli generate fromTemplate https://bit.ly/asyncapi @asyncapi/[email protected] -o example --use-new-generator

Here is the complete output -

AsyncAPI anonymously tracks command executions to improve the specification and tools, ensuring no sensitive data reaches our servers. It aids in comprehending how AsyncAPI tools are used and adopted, facilitating ongoing improvements to our specifications and tools.

To disable tracking, please run the following command:
  asyncapi config analytics --disable

Once disabled, if you want to enable tracking back again then run:
  asyncapi config analytics --enable

Skipping submitting anonymous metrics due to the following error: AbortError: This operation was aborted
┌  AsyncAPI Generator
│
◐  Generation in progress. Keep calm and wait a bit[BABEL] Note: The code generator has deoptimised the styling of /libraries/node_modules/generator-v2/node_modules/@asyncapi/html-template/template/js/asyncapi-ui.min.js as it exceeds the max of 500KB.
◇  Check out your shiny new generated files at example.

Skipping submitting anonymous metrics due to the following error: AbortError: This operation was aborted

From the above output this Abort seems unusual out of the blue -

Skipping submitting anonymous metrics due to the following error: AbortError: This operation was aborted

Expected behavior

Should not see non specific AbortError logs during running commands inside docker

Screenshots

Screenshot from 2025-01-04 20-37-36

How to Reproduce

  1. Run the following command
docker run --rm -it --user=root --network host -v ${PWD}/example:/app/example -v ${PWD}/output:/app/output asyncapi/cli generate fromTemplate https://bit.ly/asyncapi @asyncapi/[email protected] -o example --use-new-generator
  1. Observe the console output.

🥦 Browser

None

👀 Have you checked for similar open issues?

  • I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

Yes I am willing to submit a PR!

@SahilDahekar SahilDahekar added the bug Something isn't working label Jan 8, 2025
@github-project-automation github-project-automation bot moved this to To Triage in CLI - Kanban Jan 8, 2025
Copy link
Contributor

github-actions bot commented Jan 8, 2025

Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To Triage
Development

No branches or pull requests

1 participant