我正在尝试使用Jdk 1.8从Java Apache HTTP Client 4.5连接到该URL
https://www.nseindia.com/live_market/dynaContent/live_analysis/pre_open/fo.json
但是我收到读取超时错误
任何建议表示赞赏。
%% Cached client session: [Session-1, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256]
[read] MD5 and SHA1 hashes: len = 16
Padded plaintext before ENCRYPTION: len = 189
main, handling exception: java.net.SocketTimeoutException: Read timed out
main, called close()
main, called closeInternal(true)
main, SEND TLSv1.2 ALERT: warning, description = close_notify
Padded plaintext before ENCRYPTION: len = 2
0000: 01 00 ..
main, WRITE: TLSv1.2 Alert, length = 26
main, Exception sending alert: java.net.SocketException: Connection reset by peer: socket write error
main, called closeSocket(true)
Exception in thread "main" java.net.SocketTimeoutException: Read timed out