Having encountered NoHttpResponseException when using Apache Http Client, I did some search on the Internet about this. Although the root cause is not confirmed as lack of logs from online service, it might be helpful for people who want to produce this exception on their own.

The key point is pause execution just after client socket connected and shutdown server. Then let client run. On receiving RST from server, the client throws exceptions that NoHttpResponse comes first;

Traffic Packets: pic1 Exception log: pic1 Line of client code to pause on: pic1