Websockets and Adafruit Feather OpCode 11 - ruby
My goal is to connect an Adafruit Feather (WiFi) to a Websocket Server running on my computer.
Server: EventMachine Simple Server Example
Clients: ArduinoHttpClient > SimpleWebsocketExample
My issues is that when I reset my Feather, I sometimes cannot reconnect. I have to wait a couple of minutes, a couple of extra resets, before I can reconnect. Turning on the debug flag on the server code, I see two patterns:
Successful connect
[[:initialize]]
[[:receive_data, "GET /"]]
[[:receive_data, " HTTP/1.1"]]
[[:receive_data, "\r\n"]]
[[:receive_data, "Host: "]]
[[:receive_data, "XXX:XXX:XX:XX"]] # masked for security, but the IP of my server
[[:receive_data, "443\r\n"]]
[[:receive_data, "User-Agent"]]
[[:receive_data, ": "]]
[[:receive_data, "Arduino/2.2.0"]]
[[:receive_data, "\r\n"]]
[[:receive_data, "Upgrade"]]
[[:receive_data, ": "]]
[[:receive_data, "websocket"]]
[[:receive_data, "\r\n"]]
[[:receive_data, "Connection"]]
[[:receive_data, ": "]]
[[:receive_data, "Upgrade"]]
[[:receive_data, "\r\n"]]
[[:receive_data, "Sec-WebSocket-Key"]]
[[:receive_data, ": "]]
[[:receive_data, "eGHyXdbEMgiCiR0cZEBRTQ=="]]
[[:receive_data, "\r\nSec-WebSocket-Version"]]
[[:receive_data, ": "]]
[[:receive_data, "13"]]
[[:receive_data, "\r\n\r\n"]]
[[:accepting_ws_version, 13]]
[[:upgrade_response,
"HTTP/1.1 101 Switching Protocols\r\nUpgrade: websocket\r\nConnection: Upgrade\r\nSec-WebSocket-Accept: rUUq6+3qildLwg2c5CpgHfxTO1I=\r\n\r\n"]]
[[:sending_frame,
:text,
"{\"sender\":\"socket-server\",\"event\":\"connection_opened\",\"data\":{\"sid\":3,\"ip\":\"129.XXX.XXX.30\"}}"]]
# DEVICE CONNECTION ESTABLISHED
# FIRST MESSAGE FROM FEATHER
[[:receive_data, "\x81"]]
[[:receive_data, "\xB6"]]
[[:buffer_incomplete, "\x81\xB6"]]
[[:receive_data,
"\xFC\xDE\xEB\xF1\x87\xFC\x85\x90\x91\xBB\xC9\xCB\xDE\xB0\x8E\x9E\x8C\xB7\x93\x94\x90\xFC\xC7\xD3\x8A\xBB\x99\x82\x95\xB1\x85\xD3\xC6\xFC\xDA\xDF\xCC\xFC\xC7\xD3\x99\xA8\x8E\x9F\x88\xFC\xD1\xD3\x9B\xAC\x8E\x94\x88\xB7\x85\x96\xDE\xA3"]]
[[:message_received,
:text,
"{\"name\":\"neopixel\",\"version\":\"1.0\",\"event\":\"greeting\"}"]]
# Works great, no issues unless it gets disconnected...
FAILED RECONNECTION
# HIT RESET BUTTON HERE
[[:sending_frame,
:text,
"{\"sender\":\"socket-server\",\"event\":\"connection_closed\",\"data\":{\"sid\":10,\"ip\":\"129.107.106.30\"}}"]]
# ATTEMPTING TO REOPEN
[[:initialize]]
[[:receive_data, "GET"]]
[[:receive_data, " "]]
[[:receive_data, "/"]]
[[:receive_data, " HTTP/1.1"]]
[[:receive_data, "\r\n"]]
[[:receive_data, "Host: "]]
[[:receive_data, "XXX.XX.XX.XX"]]
[[:receive_data, ":"]]
[[:receive_data, "443"]]
[[:receive_data, "\r\n"]]
[[:receive_data, "User-Agent"]]
[[:receive_data, ": "]]
[[:receive_data, "Arduino/2.2.0"]]
[[:receive_data, "\r\n"]]
[[:receive_data, "Upgrade"]]
[[:receive_data, ": websocket"]]
[[:receive_data, "\r\n"]]
[[:receive_data, "Connection"]]
[[:receive_data, ": "]]
[[:receive_data, "Upgrade"]]
[[:receive_data, "\r\n"]]
[[:receive_data, "Sec-WebSocket-Key"]]
[[:receive_data, ": "]]
[[:receive_data, "0rubjGOZYAJM0YZ/cSboWw=="]]
[[:receive_data, "\r\n"]]
[[:receive_data, "Sec-WebSocket-Version"]]
[[:receive_data, ": "]]
[[:receive_data, "13"]]
[[:receive_data, "\r\n"]]
[[:receive_data, "\r\n"]]
[[:accepting_ws_version, 13]]
[[:upgrade_response,
"HTTP/1.1 101 Switching Protocols\r\nUpgrade: websocket\r\nConnection: Upgrade\r\nSec-WebSocket-Accept: QP0lJhfU9wlSy4ZFesYTIVyj/ww=\r\n\r\n"]]
[[:sending_frame,
:text,
"{\"sender\":\"socket-server\",\"event\":\"connection_opened\",\"data\":{\"sid\":12,\"ip\":\"129.XXX.XXX.30\"}}"]]
[[:receive_data, "{"]]
[[:receive_data, "\"n"]]
[[:buffer_incomplete, "{\"n"]]
[[:receive_data, "a"]]
[[:buffer_incomplete, "{\"na"]]
[[:receive_data, "m"]]
[[:buffer_incomplete, "{\"nam"]]
[[:receive_data, "e"]]
[[:buffer_incomplete, "{\"name"]]
[[:receive_data, "\""]]
[[:buffer_incomplete, "{\"name\""]]
[[:receive_data, ":"]]
[[:buffer_incomplete, "{\"name\":"]]
[[:receive_data, "\""]]
[[:buffer_incomplete, "{\"name\":\""]]
[[:receive_data, "n"]]
[[:buffer_incomplete, "{\"name\":\"n"]]
[[:receive_data, "e"]]
[[:buffer_incomplete, "{\"name\":\"ne"]]
[[:receive_data, "o"]]
[[:buffer_incomplete, "{\"name\":\"neo"]]
[[:receive_data, "p"]]
[[:buffer_incomplete, "{\"name\":\"neop"]]
[[:receive_data, "i"]]
[[:buffer_incomplete, "{\"name\":\"neopi"]]
[[:receive_data, "x"]]
[[:buffer_incomplete, "{\"name\":\"neopix"]]
[[:receive_data, "e"]]
[[:buffer_incomplete, "{\"name\":\"neopixe"]]
[[:receive_data, "l\""]]
[[:buffer_incomplete, "{\"name\":\"neopixel\""]]
[[:receive_data, ","]]
[[:buffer_incomplete, "{\"name\":\"neopixel\","]]
[[:receive_data, "\""]]
[[:buffer_incomplete, "{\"name\":\"neopixel\",\""]]
[[:receive_data, "v"]]
[[:buffer_incomplete, "{\"name\":\"neopixel\",\"v"]]
[[:receive_data, "e"]]
[[:buffer_incomplete, "{\"name\":\"neopixel\",\"ve"]]
[[:receive_data, "r"]]
[[:buffer_incomplete, "{\"name\":\"neopixel\",\"ver"]]
[[:receive_data, "s"]]
[[:buffer_incomplete, "{\"name\":\"neopixel\",\"vers"]]
[[:receive_data, "i"]]
[[:buffer_incomplete, "{\"name\":\"neopixel\",\"versi"]]
[[:receive_data, "o"]]
[[:buffer_incomplete, "{\"name\":\"neopixel\",\"versio"]]
[[:receive_data, "n"]]
[[:buffer_incomplete, "{\"name\":\"neopixel\",\"version"]]
[[:receive_data, "\""]]
[[:buffer_incomplete, "{\"name\":\"neopixel\",\"version\""]]
[[:receive_data, ":"]]
[[:buffer_incomplete, "{\"name\":\"neopixel\",\"version\":"]]
[[:receive_data, "\""]]
[[:buffer_incomplete, "{\"name\":\"neopixel\",\"version\":\""]]
[[:receive_data, "1"]]
[[:buffer_incomplete, "{\"name\":\"neopixel\",\"version\":\"1"]]
[[:receive_data, "."]]
[[:buffer_incomplete, "{\"name\":\"neopixel\",\"version\":\"1."]]
[[:receive_data, "0"]]
[[:buffer_incomplete, "{\"name\":\"neopixel\",\"version\":\"1.0"]]
[[:receive_data, "\""]]
[[:buffer_incomplete, "{\"name\":\"neopixel\",\"version\":\"1.0\""]]
[[:receive_data, ","]]
[[:buffer_incomplete, "{\"name\":\"neopixel\",\"version\":\"1.0\","]]
[[:receive_data, "\""]]
[[:error, #<EventMachine::WebSocket::WSProtocolError: Unknown opcode 11>]]
[[:sending_frame, :close, "\x03\xEAUnknown opcode 11"]]
[[:receive_data, "e"]]
[[:unbind, :connection]]
# :(
I have the Feather attempt reconnection in a while loop. I thought my issue might be something associated with timeout/throttling the data from very quick reconnection attempts, but alas it looks like this is not the case.
Thoughts on how to diagnose the issue? I'm eyeing that opcode as the potential culprit, but unsure as to whether to try and suppress it in the server side or figure out why its being placed there on the client side.
Related
copy list of set_fact output in csv column - ansible
i got the output with set_fact as below "my_var": [ [ " iDRAC.Embedded.1", " NIC.Integrated.1-1-1", " NIC.Integrated.1-2-1", " NIC.Integrated.1-3-1", " NIC.Integrated.1-4-1", " NIC.Slot.4-1-1", " NIC.Slot.4-2-1", " NIC.Slot.7-1-1", " NIC.Slot.7-2-1", " NIC.Slot.1-1-1", " NIC.Slot.1-2-1", " NIC.Slot.2-1-1", " NIC.Slot.2-2-1" ], [ " ABC", " Not Supported", " No Link", " No Link", " No Link", " XYZ", " XYZ", " XYZ", " XYZ", " XYZ", " XYZ", " XYZ", " XYZ" ] ] } now, i want this to be updated in csv file in column. for Example iDRAC.Embedded.1 in first column and ABC in next column. so on and so forth
For example - copy: dest: my_var.csv content: |- {% for line in csv %} {{ line }} {% endfor %} vars: csv: "{{ my_var.0|map('trim')| zip(my_var.1|map('trim'))| map('join', ',')| list }}" gives shell> cat my_var.csv iDRAC.Embedded.1,ABC NIC.Integrated.1-1-1,Not Supported NIC.Integrated.1-2-1,No Link NIC.Integrated.1-3-1,No Link NIC.Integrated.1-4-1,No Link NIC.Slot.4-1-1,XYZ NIC.Slot.4-2-1,XYZ NIC.Slot.7-1-1,XYZ NIC.Slot.7-2-1,XYZ NIC.Slot.1-1-1,XYZ NIC.Slot.1-2-1,XYZ NIC.Slot.2-1-1,XYZ NIC.Slot.2-2-1,XYZ
How to reboot server using Ansible if stdout result equal failed?
I write tasks for jboss, but i don't know how to restart server if stdout result equal failed. My task: - name: Server become: true check_deployments: server: 111.111.111.111:8888 command: /deployment=*:read-attribute(name=status) cli_path: /testusers/wildfly/bin user: admin password: admin register: command - name: wf_debug debug: msg: "{{ command.stdout_lines}}" Output: TASK [check_wf_status : wf_debug] ****************************************************************************************************************************************** ok: [111.111.111.111] => { "msg": [ "{", " \"outcome\" => \"success\",", " \"result\" => [", " {", " \"address\" => [(\"deployment\" => \"test-module1\")],", " \"outcome\" => \"success\",", " \"result\" => \"OK\"", " },", " {", " \"address\" => [(\"deployment\" => \"test-module2\")],", " \"outcome\" => \"success\",", " \"result\" => \"FAILED\"", " },", " ]", "}" ] } How to reboot server using Ansible if result = FAILED ?
How to reboot server using Ansible if result = FAILED ? This should work, as to the docs: - name: Unconditionally reboot the machine with all defaults, when the check_deployments task has failed reboot: when: "'FAILED' in command.stdout_lines" Please note, that you're registering "command". This is also an ansible module, which could cause confusion. It's better to register it with another name, e.g. register: check_deploy.
Http Read timeouts on query calls to Elastic Search cluster
I'm troubleshooting an issue with our application hosted in K8s pod, which tries to query ES cluster through ES Jest Client. Most of the queries were successful, but randomly a call fails with read timeout. Any help will be appreciated. Jest Client version:6.3.1 ES cluster is hosted in AWS Below i'm providing apache http debug logs. o.a.h.c.protocol.RequestAuthCache - Auth cache not set in the context o.a.h.i.c.BasicHttpClientConnectionManager - Get connection for route {}->http://dev-app-elasticsearch-lb.xyz.com:9200 o.a.h.impl.execchain.MainClientExec - Executing request POST /_search?search_type=dfs_query_then_fetch&preference=_primary_first HTTP/1.1 o.a.h.impl.execchain.MainClientExec - Target auth state: UNCHALLENGED o.a.h.impl.execchain.MainClientExec - Proxy auth state: UNCHALLENGED org.apache.http.headers - http-outgoing-16 >> POST /_search?search_type=dfs_query_then_fetch&preference=_primary_first HTTP/1.1 org.apache.http.headers - http-outgoing-16 >> Content-Length: 2531 org.apache.http.headers - http-outgoing-16 >> Content-Type: application/json; charset=UTF-8 org.apache.http.headers - http-outgoing-16 >> Host: dev-app-elasticsearch-lb.xyz.com:9200 org.apache.http.headers - http-outgoing-16 >> Connection: Keep-Alive org.apache.http.headers - http-outgoing-16 >> User-Agent: Apache-HttpClient/4.5 (Java/1.8.0_181) org.apache.http.headers - http-outgoing-16 >> Accept-Encoding: gzip,deflate org.apache.http.wire - http-outgoing-16 >> "POST /_search?search_type=dfs_query_then_fetch&preference=_primary_first HTTP/1.1[\r][\n]" org.apache.http.wire - http-outgoing-16 >> "Content-Length: 2531[\r][\n]" org.apache.http.wire - http-outgoing-16 >> "Content-Type: application/json; charset=UTF-8[\r][\n]" org.apache.http.wire - http-outgoing-16 >> "Host: dev-app-elasticsearch-lb.xyz.com:9200[\r][\n]" org.apache.http.wire - http-outgoing-16 >> "Connection: Keep-Alive[\r][\n]" org.apache.http.wire - http-outgoing-16 >> "User-Agent: Apache-HttpClient/4.5 (Java/1.8.0_181)[\r][\n]" org.apache.http.wire - http-outgoing-16 >> "Accept-Encoding: gzip,deflate[\r][\n]" org.apache.http.wire - http-outgoing-16 >> "[\r][\n]" org.apache.http.wire - http-outgoing-16 >> "{[\n]" ....<<outgoing query details>> o.a.h.i.c.PoolingHttpClientConnectionManager - Closing connections idle longer than 60000 MILLISECONDS o.a.h.i.c.PoolingHttpClientConnectionManager - Closing connections idle longer than 60000 MILLISECONDS o.a.h.i.c.PoolingHttpClientConnectionManager - Closing connections idle longer than 60000 MILLISECONDS o.a.h.i.c.PoolingHttpClientConnectionManager - Closing connections idle longer than 60000 MILLISECONDS c.t.c.util.concurrent.DatabaseLock - Cleaning up expired locks from DS 0 o.a.h.i.c.BasicHttpClientConnectionManager - Closing connection o.a.h.i.c.DefaultManagedHttpClientConnection - http-outgoing-6: Close connection o.a.h.i.n.c.PoolingNHttpClientConnectionManager - Closing connections idle longer than 15 MINUTES o.a.h.i.n.c.PoolingNHttpClientConnectionManager - Closing connections idle longer than 15 MINUTES o.a.h.i.n.c.PoolingNHttpClientConnectionManager - Closing connections idle longer than 15 MINUTES``` Any help would be greatly appreciated. Thanks Naresh
OSGI Disable org.apache.http.wire log
I am using osgi httpcore;version=4.4.1 . I need to stop the debug logging of "org.apache.http.wire" Is there any runtime config to disable this logging? I have tried log4j.logger.org.apache.http.wire=ERROR in run time with no effect. [Thread-522] DEBUG org.apache.http.wire - << " <volumeSize>6</volumeSize>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <deleteOnTermination>true</deleteOnTermination>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <volumeType>standard</volumeType>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <encrypted>false</encrypted>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " </ebs>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " </item>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " </blockDeviceMapping>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <virtualizationType>paravirtual</virtualizationType>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <hypervisor>xen</hypervisor>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " </item>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <item>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <imageId>ami-30697651</imageId>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <imageLocation>057448758665/CentOS 7.2 x86_64 with cloud-init (PV)</imageLocation>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <imageState>available</imageState>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <imageOwnerId>057448758665</imageOwnerId>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <creationDate>2015-12-15T16:22:38.000Z</creationDate>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <isPublic>true</isPublic>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <architecture>x86_64</architecture>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <imageType>machine</imageType>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <kernelId>aki-fc8f11cc</kernelId>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <name>CentOS 7.2 x86_64 with cloud-init (PV)</name>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <description>Base CentOS 7.2.1511 with cloud-init ( use user ec2-user ), paravirtual and EBS backed. This image has been created with ComodIT. See how to build yours at http://www.comodit.com/2012/07/12/how-to-build-your-custom-centos-image-on-ec2</description>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <rootDeviceType>ebs</rootDeviceType>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <rootDeviceName>/dev/sda</rootDeviceName>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <blockDeviceMapping>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <item>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <deviceName>/dev/sda</deviceName>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <ebs>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <snapshotId>snap-955a440c</snapshotId>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <volumeSize>6</volumeSize>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <deleteOnTermination>true</deleteOnTermination>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <volumeType>gp2</volumeType>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <encrypted>false</encrypted>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " </ebs>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " </item>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " </blockDeviceMapping>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <virtualizationType>paravirtual</virtualizationType>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <hypervisor>xen</hypervisor>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " </item>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <item>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <imageId>ami-3181cf01</imageId>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <imageLocation>057448758665/comodit-bootstrap-hvm</imageLocation>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <imageState>available</imageState>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <imageOwnerId>057448758665</imageOwnerId>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <creationDate>2014-10-24T11:01:30.000Z</creationDate>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <isPublic>true</isPublic>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <architecture>x86_64</architecture>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <imageType>machine</imageType>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <name>comodit-bootstrap-hvm</name>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <description>comodit-bootstrap-hvm</description>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <rootDeviceType>ebs</rootDeviceType>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <rootDeviceName>/dev/sda1</rootDeviceName>[\n]" [Thread-522] DEBUG org.apache.http.wire - << " <blockDeviceMapping>[\n]"
Parsing of XML fails under Grizzly using JAX-RS on a chunked POST
I have encountered a problem when using Apache HttpClient 4.3.6 to POST XML to Grizzly under Jersey 2.15. I switched to use the Apache HttpClient last night so I could introduce support for chunked POST operations and support for 100-Continue (for reasons I will not get into). The message flow seems to be correct, but when it comes to JAX-RS annotated servlet to be invoked I get the "Content is not allowed in prolog." error on entry. Here is the method signature: #POST #Path("/callback") #Produces({ MediaType.APPLICATION_XML, NsiConstants.NSI_DDS_V1_XML }) #Consumes({ MediaType.APPLICATION_XML, NsiConstants.NSI_DDS_V1_XML }) public Response notification(NotificationListType notify) { … } Before introducing the Apache HttpClient with the chunked POST and 100-continue this worked fine. I changed the input parameter to be of type String and discovered the start of the data stream contains "800\r\n" followed by the complete XML. The "800\r\n" happens to be the first chunk length. There are multiple chunks but only the first chunk length is in the stream. If I manually remove this I can parse the XML without issue, but would rather not have to do this. Can anyone provide guidance? Here is a debug trace of the initial interaction: 2015-01-27 13:00:51,879 DEBUG (org.apache.http.impl.conn.LoggingManagedHttpClientConnection:124) - http-outgoing-3 >> POST /dds/callback HTTP/1.1 2015-01-27 13:00:51,879 DEBUG (org.apache.http.impl.conn.LoggingManagedHttpClientConnection:127) - http-outgoing-3 >> Accept: application/xml 2015-01-27 13:00:51,879 DEBUG (org.apache.http.impl.conn.LoggingManagedHttpClientConnection:127) - http-outgoing-3 >> Content-Type: application/xml 2015-01-27 13:00:51,879 DEBUG (org.apache.http.impl.conn.LoggingManagedHttpClientConnection:127) - http-outgoing-3 >> User-Agent: Jersey/2.15 (Apache HttpClient 4.3.6) 2015-01-27 13:00:51,880 DEBUG (org.apache.http.impl.conn.LoggingManagedHttpClientConnection:127) - http-outgoing-3 >> Transfer-Encoding: chunked 2015-01-27 13:00:51,880 DEBUG (org.apache.http.impl.conn.LoggingManagedHttpClientConnection:127) - http-outgoing-3 >> Host: localhost:8402 2015-01-27 13:00:51,880 DEBUG (org.apache.http.impl.conn.LoggingManagedHttpClientConnection:127) - http-outgoing-3 >> Connection: Keep-Alive 2015-01-27 13:00:51,880 DEBUG (org.apache.http.impl.conn.LoggingManagedHttpClientConnection:127) - http-outgoing-3 >> Expect: 100-continue 2015-01-27 13:00:51,881 DEBUG (org.apache.http.impl.conn.LoggingManagedHttpClientConnection:127) - http-outgoing-3 >> Accept-Encoding: gzip,deflate 2015-01-27 13:00:51,881 DEBUG (org.apache.http.impl.conn.Wire:72) - http-outgoing-3 >> "POST /dds/callback HTTP/1.1[\r][\n]" 2015-01-27 13:00:51,881 DEBUG (org.apache.http.impl.conn.Wire:72) - http-outgoing-3 >> "Accept: application/xml[\r][\n]" 2015-01-27 13:00:51,881 DEBUG (org.apache.http.impl.conn.Wire:72) - http-outgoing-3 >> "Content-Type: application/xml[\r][\n]" 2015-01-27 13:00:51,882 DEBUG (org.apache.http.impl.conn.Wire:72) - http-outgoing-3 >> "User-Agent: Jersey/2.15 (Apache HttpClient 4.3.6)[\r][\n]" 2015-01-27 13:00:51,882 DEBUG (org.apache.http.impl.conn.Wire:72) - http-outgoing-3 >> "Transfer-Encoding: chunked[\r][\n]" 2015-01-27 13:00:51,882 DEBUG (org.apache.http.impl.conn.Wire:72) - http-outgoing-3 >> "Host: localhost:8402[\r][\n]" 2015-01-27 13:00:51,882 DEBUG (org.apache.http.impl.conn.Wire:72) - http-outgoing-3 >> "Connection: Keep-Alive[\r][\n]" 2015-01-27 13:00:51,883 DEBUG (org.apache.http.impl.conn.Wire:72) - http-outgoing-3 >> "Expect: 100-continue[\r][\n]" 2015-01-27 13:00:51,883 DEBUG (org.apache.http.impl.conn.Wire:72) - http-outgoing-3 >> "Accept-Encoding: gzip,deflate[\r][\n]" 2015-01-27 13:00:51,883 DEBUG (org.apache.http.impl.conn.Wire:72) - http-outgoing-3 >> "[\r][\n]" 2015-01-27 13:00:51,884 DEBUG (org.apache.http.impl.conn.Wire:72) - http-outgoing-3 << "HTTP/1.1 100 Continue[\r][\n]" 2015-01-27 13:00:51,885 DEBUG (org.apache.http.impl.conn.Wire:72) - http-outgoing-3 << "[\r][\n]" 2015-01-27 13:00:51,886 DEBUG (org.apache.http.impl.conn.LoggingManagedHttpClientConnection:113) - http-outgoing-3 << HTTP/1.1 100 Continue 2015-01-27 13:00:51,945 DEBUG (org.apache.http.impl.conn.Wire:72) - http-outgoing-3 >> "800[\r][\n]" 2015-01-27 13:00:51,945 DEBUG (org.apache.http.impl.conn.Wire:72) - http-outgoing-3 >> "<?xml version="1.0" encoding="UTF-8"?>[\n]" … 2015-01-27 13:00:51,968 DEBUG (org.apache.http.impl.conn.Wire:72) - http-outgoing-3 >> "0[\r][\n]" 2015-01-27 13:00:51,968 DEBUG (org.apache.http.impl.conn.Wire:72) - http-outgoing-3 >> "[\r][\n]"