Wireshark is a useful tool for troubleshooting network related problems. I posted the tdump.pcap file to the Amazon API forums. This showed that my application was sending requests to the API server with sufficient pause. The Wireshark showed that the TLS Hello Client package which is sent at the start of the TLS handshake was being sent with an interval of 4 seconds. The Wireshark displayed details of each captured packet. The address appears to change every few minutes so I had to ping the API host immediately before running the command in order to get the IP address.Īfter capturing the packets, I downloaded the tdump.pcap file from the server and opened it using Wireshark. Only packets sent to the IP 52.94.216.120 were captured, which is the IP address of the Amazon Product API. The packets were captured from interface venet0 and saved to tdump.pcap file. Tcpdump -w tdump.pcap -i venet0 dst 52.94.216.120įor capturing the packets. I decided to use TCPDump for capturing network packets while my application was running. Amazon support staff asked me to check my application using a low level tool. A similar error was reported by other users. I posted the error to the Amazon API forums. My application was sending one request every 4 seconds so there should not be a problem. The API was throttling the requests at random intervals and giving the error message that my application is sending requests too quickly.Īmazon Product API allows maximum of one request to be sent per second. The problem I had was that my PHP script was making requests to Amazon Product API. Libssh-gcrypt-dev liblz4-dev libsnappy-dev libspandsp-dev Troubleshooting application problems using Wireshark and TCPDump Libkrb5-dev liblua5.2-dev libsmi2-dev libgeoip-dev libnl-genl-3-dev libnl-route-3-dev asciidoc cmake w3m libsbc-dev libnghttp2-dev \ Libc-ares-dev xsltproc docbook-xsl docbook-xml libxml2-utils libcap2-dev libcap-dev bison quilt libparse-yapp-perl portaudio19-dev \ Sudo apt-get install qtbase5-dev qtbase5-dev-tools qttools5-dev qttools5-dev-tools qtmultimedia5-dev libqt5svg5-dev flex python-ply \
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |