Apologize in advance for the lack a reprex here, I think it’s to situation-specific to really provide a good one.
So I know that you can set proxy settings for httr using
use_proxy or by editing the .Renviron file to include proxy information/credentials. This works fine for 99% of websites but for whatever reason the request times out if I point it at a website hosted by my organization.
both work fine but
Error in curl::curl_fetch_memory(url, handle = handle) :
Timeout was reached: Operation timed out after 10000 milliseconds with 0 out of 0 bytes received
I assume this has something to do with not needing to route through the proxy for websites hosted by my organization?
Does anyone know of a way around this besides repeatedly turning my proxy settings on and off? I could of course include
use_proxy in any scripts to dynamically switch back and forth but this seems sloppy…