android_touch icon indicating copy to clipboard operation
android_touch copied to clipboard

curl: (56) Recv failure: Connection was aborted

Open hammad2224 opened this issue 5 years ago • 0 comments

When i send the command to my samsung s10plus the command

curl --header "Content-Type: application/json" --trace-ascii dump.txt -d '[{"type":"down","contact":0,"x":10,"y":10,"pressure":50},{"type":"commit"},{"type":"up","contact":0},{"type":"commit"}]' http://localhost:9889

i get the following error curl: (56) Recv failure: Connection was aborted

here is the dump log

== Info: Trying ::1:9889... == Info: TCP_NODELAY set == Info: Trying 127.0.0.1:9889... == Info: TCP_NODELAY set == Info: Connected to localhost (127.0.0.1) port 9889 (#0) => Send header, 148 bytes (0x94) 0000: POST / HTTP/1.1 0011: Host: localhost:9889 0027: User-Agent: curl/7.68.0 0040: Accept: / 004d: Content-Length: 95 0061: Content-Type: application/x-www-form-urlencoded 0092: => Send data, 95 bytes (0x5f) 0000: '[{type:down,contact:0,x:10,y:10,pressure:50},{type:commit},{typ 0040: e:up,contact:0},{type:commit}]' == Info: upload completely sent off: 95 out of 95 bytes == Info: Recv failure: Connection was aborted == Info: Closing connection 0

hammad2224 avatar Feb 08 '20 19:02 hammad2224