Skip to content

Help with "ConnectionResetError" #944

Answered by jshcodes
zenthpk asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @zenthpk -

This sounds like it may be network-related. (Proxy or Firewall interfering with the traffic?)

There are a couple of ways to test for this:

  1. Use curl to attempt to request a token from the machine demonstrating this issue. This will eliminate FalconPy as a potential root cause.
    curl -X POST "https://api.crowdstrike.com/oauth2/token" \
        -H "accept: application/json" \
        -H "Content-Type: application/x-www-form-urlencoded" \
        -d "client_id=$FALCON_CLIENT_ID&client_secret=$FALCON_CLIENT_SECRET"

    If you get a token back, then it's not a networking issue.

  2. Move to a different network location - Is this a laptop? Can we test from another network to confirm?

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@zenthpk
Comment options

Comment options

You must be logged in to vote
1 reply
@zenthpk
Comment options

Answer selected by zenthpk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
detects Detections issues and questions API usage General API usage issues and questions
2 participants