Unrelated to op's question but if you are on a Mac and running requests to internal network, you need to have the following settings enabled. I upgraded my mac and was encountering the same error until I enabled this.