-
-
Notifications
You must be signed in to change notification settings - Fork 21
the process stop when running 'cdxgen' command #6
Comments
Any test repo you can share to reproduce this? The npm install -g @appthreat/cdxgen
# From within the repo
cdxgen -o bom-report.xml . |
Also since cdxgen is not used yet for any analysis I will push out an update to disable cdxgen running by default. But nevertheless please invoke the command directly and let me know what the issue is. |
New version is live. Do you want to re-test? |
when I run the command as above with older version, it occurs to a error:
when I re-rest using new version, it occurs to be stoped:
and I guess it maybe be network problem because I ran in the networking need to use proxy for accessing internet. |
There is some information here - nodejs/node#8096 . But I believe the issue could be in this library ForbesLindesay/sync-rpc#3 where it is not scaling well with timeout introduced by the proxy. I will rewrite cdxgen to make use of async await and get rid of the |
This is resolved now with the rewrite of cdxgen to use got |
when I run
docker run --rm --tmpfs /tmp -v xxx:/app appthreat/sast-scan scan --src /app --type python --out_dir /app/reports
, docker pull very fast, but the process stop at this scene for a very long time, and the network is ok.The text was updated successfully, but these errors were encountered: