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] ---> [tcpmon] ---> [server] 2. TCPdump, is a linux app which can be use to dump TCP connection in and out. This can be help to inspect HTTP request / HTTP come to the server. 3. Traceroute You may want to inspect / trace connection from your server to vendor's server using traceroute, maybe the problem is in the connection. Hope that's helpful On Sat, Aug 22, 2020, 01:59 krishna...@gmail.com <krishna.kows...@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 > second timeout for my context. Everything works fine. > > However, I get random timeouts in my application due to these HTTP calls. > On further investigation, I found that the http calls to the vendor's > server take longer than 10 seconds. > During this period of timeouts, the vendor says they've not received any > HTTP requests. How do I verify that the http requests are made from my app? > If the requests are made from my app, how can I figure out what's causing > the delay? > > I tried debugging using the HTTP client trace, but couldn't find any > actionable information. Any suggestions on how to debug/fix this issue ? > > Thanks > - Krishna > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/2d454dda-6670-48ef-85a2-0a42216dcd29n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/2d454dda-6670-48ef-85a2-0a42216dcd29n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CA%2Bp%2BMUckb_ThhNw4%3Dxbz%3D9v0yJEXAX0CbP4CE5x0VziL5hFDSw%40mail.gmail.com.