Jump to content
rev.dennis

Troubleshooting proxy and/or 3rd party URLs

Recommended Posts

This is extremely useful troubleshooting external URLs going through proxy / eGTMs / iGTMs and all other sort of combinations.

What i really like about it is it really gives good data for different touch points.

  1. time_namelookup
  2. time_connect
  3. time_appconnect
  4. time_pretransfer
  5. time_redirect
  6. time_starttransfer

It helped me handling extrenal 3rd party URLs and their response times, handshake failures.

*****************************************************************************************************************************************************

$ cat curl-format.txt
time_namelookup: %{time_namelookup}\n
time_connect: %{time_connect}\n
time_appconnect: %{time_appconnect}\n
time_pretransfer: %{time_pretransfer}\n
time_redirect: %{time_redirect}\n
time_starttransfer: %{time_starttransfer}\n
----------\n
time_total: %{time_total}\n

 

$ curl -p 10.43.196.140:80 -w "@curl-format.txt" -o /dev/null -k https://example.com/services/Soap/class/BridgeIntegrationService?wsdl
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 677 100 677 0 0 41924 0 --:--:-- --:--:-- --:--:-- 42312
time_namelookup: 0.000
time_connect: 0.007
time_appconnect: 0.000
time_pretransfer: 0.008
time_redirect: 0.000
time_starttransfer: 0.016
----------
time_total: 0.016

 

 


<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 405 Only POST allowed</title>
</head>
<body><h2>HTTP ERROR 405</h2>
<p>Problem accessing /services/Soap/class/BridgeIntegrationService. Reason:
<pre> Only POST allowed</pre></p><hr /><br/>

<!-- Body events -->
<script type="text/javascript">function bodyOnLoad(){if(window.PreferenceBits){window.PreferenceBits.prototype.csrfToken="null";};}function bodyOnBeforeUnload(){}function bodyOnFocus(){}function bodyOnUnload(){}</script>

</body>
</html>


<!--
...................................................................................................
...................................................................................................
...................................................................................................
...................................................................................................
-->time_namelookup: 0.012
time_connect: 0.013
time_appconnect: 0.251
time_pretransfer: 0.251
time_redirect: 0.000
time_starttransfer: 0.507
----------
time_total: 0.507

*****************************************************************************************************************************************************

Share this post


Link to post
Share on other sites

×
×
  • Create New...