Mike Campbell

Results 27 comments of Mike Campbell

i don't know anything about _PIA socks 5 proxy_, tbh, but a quick bit of research shows that the [net-http adapter for httpi](https://github.com/savonrb/httpi/blob/3d862436b9676ff92c44f36a9ccb7f3d170b0dfd/lib/httpi/adapter/net_http.rb#L74-L82) supports `Net::HTTP.SOCKSProxy` which sounds like it might...

for authentication, we may need to create a pull request for httpi to allow username and password to be passed through to Net::HTTP.SOCKSProxy.

actually, that patch to support socks proxy in http hasn't been released to rubygems yet. i could probably submit a patch to httpi for the auth stuff and ask them...

the https issue that you're having appears to be related to a bug in the adapter that you're using, httpclient, not allowing https proxy servers for some reason :/. you...

maybe you're not initializing the betfair client correctly when you pass the proxy option, and it's interferring with your app key stuff.

that means that the log-in is failing, it's not returning an authentication token. how are you initialising the client?

not sure what to advise, it works fine for me. the authentication is definitely failing for some reason and it's not an issue with the proxy server because the request...

/shrugs. no idea. you're not likely to have great success with free proxies for anything serious anyway as they usually don't stay up for very long.

i'm pretty sure that for a regular proxy credentials can be passed through by setting the proxy to something like `"https://username:[email protected]"` as for the socks proxy, it's not out of...

okayyyyy, so, putting all the peices of this puzzle together, you should be able to get this working now by: apply httpi changes to support socks proxy. these changes aren't...