我正在尝试从UNIX服务器向模拟器发出GET请求,但是连接超时似乎失败了(下面的日志):
{
<FRAMEWORK> <GLOBAL_MSG> Failed for Request: GET http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 HTTP/1.1 error:Connect to hlrsitappw001:8137 [hlrsitappw001/10.10.47.47] failed: connect timed out
}
我尝试通过CURL命令直接命中url,但失败,请求和响应如下: {
Request:
curl -v -kL http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 --noproxy '*'
}
响应: {
[1] 16389
[2] 16390
[3] 16391
[4] 16392
[5] 16394
[6] 16395
[7] 16396
[8] 16399
[9] 16400
[10] 16402
[11] 16403
[12] 16404
[13] 16405
[14] 16407
[15] 16408
[16] 16410
[17] 16412
[18] 16413
[19] 16414
-ksh: --noproxy: not found [No such file or directory]
[17] Done curl -v -kL http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 --noproxy '*'
[16] Done curl -v -kL http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 --noproxy '*'
[15] Done curl -v -kL http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 --noproxy '*'
[14] Done curl -v -kL http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 --noproxy '*'
[12] Done curl -v -kL http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 --noproxy '*'
[11] Done curl -v -kL http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 --noproxy '*'
[10] Done curl -v -kL http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 --noproxy '*'
[9] Done curl -v -kL http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 --noproxy '*'
[8] Done curl -v -kL http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 --noproxy '*'
[7] Done curl -v -kL http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 --noproxy '*'
[6] Done curl -v -kL http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 --noproxy '*'
[5] Done curl -v -kL http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 --noproxy '*'
[4] Done curl -v -kL http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 --noproxy '*'
[3] Done curl -v -kL http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 --noproxy '*'
[2] Done curl -v -kL http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 --noproxy '*'
* About to connect() to proxy localhost port 3128 (#0)
* Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 3128 (#0)
> GET http://hlrsitappw001:8137/api/session-query?org_id=8zht501y HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: hlrsitappw001:8137
> Accept: */*
> Proxy-Connection: Keep-Alive
>
prdomn1@digpetwlcla010:/amdocs/apps>>< HTTP/1.1 502 Parent proxy unreacheable
< Content-Type: text/html
* no chunk, no close, no size. Assume close to signal end
<
* Closing connection #0
<html><body><h1>502 Parent proxy unreacheable</h1><p><a href='http://cntlm.sf.net/'>Cntlm</a> proxy failed to complete the request.</p></body></html>
[19] + Done curl -v -kL http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 --noproxy '*'
[18] - Done curl -v -kL http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 --noproxy '*'
[13] Done curl -v -kL http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 --noproxy '*'
[1] Done curl -v -kL http://hlrsitappw001:8137/api/session-query?org_id=8zht501y&api_key=alrsaylwe9gdcsuw&event_type=account_creation&service_type=session-policy&policy=policy3&transaction_id=796b7b77-6398-4263-9b4e-f9ea4d942bdb&session_id=515940423&account_login=41773471&account_email=Tealpaid@yopmail.com&account_name=Teal%20Paid&local_attrib_5=Teal&local_attrib_6=Paid&account_address_street1=27%20Henning&account_address_city=LYNBROOK&account_address_state=VIC&account_address_country=AUS&account_address_zip=3975&local_attrib_2=896102321730685610&local_attrib_3=2&local_attrib_4=505023297223309 --noproxy '*'
}
但是,我可以通过telnet到网址:
{
prdomn1@digpetwlcla001:/amdocs/apps/omn/prdomn1/config/LS/ASC>>telnet hlrsitappw001
Trying 10.10.47.47...
telnet: connect to address 10.10.47.47
}