You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Everyone,
Rest client in 3.4 getting 400 response in ASYNC mode, but from curl shell returning 200 with proper JSON response. In debug log level 4 I don't see enough details to tell why invalid response.
Also rest client is NOT returning actual 400, only tcpdump I can see 400.
<html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.
</body></html>
E.....@.#.Q."....Eq..P.<..KO./:....F.......
......._HTTP/1.1 400 Bad request
How is possible to find out what is incorrect ?
Might be as an Idea to introduce
event_route[E_CURL_RESPONSE] {
xlog("[E_CURL_RESPONSE] [$cfg_line] API call response $param(code), $param(reason)\n");
}
The text was updated successfully, but these errors were encountered:
Oct 8 11:17:20 dev1-msg opensips[461765]: [OSIP-250-SMPP] [461765]: ERROR:rest_client:_resume_async_http_req: async GET timed out, URL:
Oct 8 11:17:20 dev1-msg opensips[461765]: [OSIP-250-SMPP] [461765]: DBG:rest_client:del_transfer: del fd 135
Oct 8 11:17:20 dev1-msg opensips[461765]: [OSIP-250-SMPP] [461765]: DBG:rest_client:_resume_async_http_req: download finished, but an HTTP status is not available (timed_out: 1)
Oct 8 11:17:20 dev1-msg opensips[461765]: [OSIP-250-SMPP] [461765]: DBG:rest_client:_resume_async_http_req: HTTP response code: 0
Oct 8 11:17:20 dev1-msg opensips[461765]: [OSIP-250-SMPP] [461765]: DBG:tm:io_watch_del: [TCP_worker] io_watch_del op on index -1 135 (0x55c257c23b80, 135, -1, 0x10,0x1) fd_no=12 called
Oct 8 11:17:20 dev1-msg opensips[461765]: [OSIP-250-SMPP] [461765]: DBG:core:comp_scriptvar: int 26: 1 / 0
Oct 8 11:17:20 dev1-msg opensips[461765]: [OSIP-250-SMPP] [461765]: DBG:core:comp_scriptvar: int 20: 1 / 1
Oct 8 11:17:20 dev1-msg opensips[461765]: [OSIP-250-SMPP] [461765]: NOTICE:[DST_LOOKUP_RESUME] [MESSAGE] [862] async rest_get() failed with 1
Oct 8 11:17:20 dev1-msg opensips[461765]: [OSIP-250-SMPP] [461765]: DBG:core:MD5StringArray: MD5 calculated: f9ce38d136d61fd87825e3006abb3282
Oct 8 11:17:20 dev1-msg opensips[461765]: [OSIP-250-SMPP] [461765]: DBG:core:parse_headers: flags=ffffffffffffffff
Oct 8 11:17:20 dev1-msg opensips[461765]: [OSIP-250-SMPP] [461765]: DBG:core:tcp_conn_get: con found in state 0
Oct 8 11:17:20 dev1-msg opensips[461765]: [OSIP-250-SMPP] [461765]: DBG:core:tcp_conn_get: tcp connection found (0x7f24edc42fc0) already in this process ( 11 ) , fd = 129
Oct 8 11:17:20 dev1-msg opensips[461765]: [OSIP-250-SMPP] [461765]: DBG:core:proto_tcp_send: sending via fd 129...
Oct 8 11:17:20 dev1-msg opensips[461765]: [OSIP-250-SMPP] [461765]: DBG:core:tsend_stream_async: Async successful write from first try on 0x7f24edc42fc0
Hello Everyone,
Rest client in 3.4 getting 400 response in ASYNC mode, but from curl shell returning 200 with proper JSON response. In debug log level 4 I don't see enough details to tell why invalid response.
Also rest client is NOT returning actual 400, only tcpdump I can see 400.
How is possible to find out what is incorrect ?
Might be as an Idea to introduce
The text was updated successfully, but these errors were encountered: