To: golang-nuts
> Date: 08/23/2020 01:06 PM
> Subject: [EXTERNAL] Re: [go-nuts] Debug http calls made using go http
client
> Sent by: golang-nuts@googlegroups.com
>
> You can print every step with net/http/httptrace 's ClientTrace.
> krishna...@gmail.com a következőt írta (2020. au
You can print every step with net/http/httptrace 's ClientTrace.
krishna...@gmail.com a következőt írta (2020. augusztus 23., vasárnap,
15:55:50 UTC+2):
> Hello Dimas,
>
> Thank you for your response. My application is running in a kubernetes
> cluster and I will not be able to run TCPMon or
Hello Dimas,
Thank you for your response. My application is running in a kubernetes
cluster and I will not be able to run TCPMon or TCPDump separately, as
access is restricted. I was looking for something that can be embedded
within the go application.
Regards,
*Krishna*
On Sun, Aug 23, 2020
There are several tools which you can use to help to inspect,
1. TCPmon, is a java-based tool for inspecting http call in between server
and client. TCPmon also can be used to simulate slow connection.
Work mechanism of TCPmon is as a proxy. So if I describe it as below
[Your apps] --->
I would use wire shark to inspect the traffic in more detail.
> On Aug 21, 2020, at 1:59 PM, krishna...@gmail.com
> wrote:
>
>
> Hello Gophers,
>
> I am making multiple http calls from my go application to an external
> vendor's http server using the go standard http client. I've set a 10
Hello Gophers,
I am making multiple http calls from my go application to an external
vendor's http server using the go standard http client. I've set a 10
second timeout for my context. Everything works fine.
However, I get random timeouts in my application due to these HTTP calls.
On