I already have some code in place which is working fine. What it does is create a bigquery service using Bigquery options builder. This works fine. No explicit transport options are set here.
Problematic code: We have a squid proxy server in place and i wanted to try connecting to bigquery via proxy as well.
I set two environment props for proxy host and port. And when they are set.. I am explicitly setting transport options using NetHttpTransport with proxy set. The code works fine(connects to BQ and gets the job done) when i give the HTTP port.
But when i try to give the HTTPS port, its not working and giving connection timeout..
What would be the reason?
I tried adding the proxy ceetificate to keystore and then set it to the SSLContext while building NetHttpTransport.. But it didnt work and gave me PKIX exception
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744592148a4582672.html
评论列表(0条)