Skip to content

VSCode Semgrep Extension failing to update rules behind inspecting proxy #157

Open
@mitch-athena

Description

I'm behind an inspecting proxy and having this issue running semgrep in VSCode and already have the REQUESTS_CA_BUNDLE exported, as well as CERT_PATH, CERT_DIR, SSL_CERT_FILE, SSL_CERT_DIR as this also fixes TLS issues for PIP. Any idea what else is needed to get this working?

Error Notification in VSCode:

Fatal error: Failed to download config from https://semgrep.dev/c/p/default: TLS failure: authentication failure: invalid certificate chain

Error in output log from Semgrep extension in VSCode:

Refreshing rules
[73.00][ERROR]: Uncaught async exception: Fatal error: Failed to download config from https://semgrep.dev/c/p/default: TLS failure: authentication failure: invalid certificate chain

No issue running semgrep from the CLI though.

Originally posted by @mitch-athena in semgrep/semgrep#5084 (comment)

I noticed this has been raised before here #62 and was supposedly fixed in #63, however the issue seems to persist.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions