#19621: curl / polarssl handshake error --------------------------+-------------------------------- Reporter: anonymous | Owner: developers Type: defect | Status: reopened Priority: normal | Milestone: Chaos Calmer 15.05 Component: base system | Version: Trunk Resolution: | Keywords: curl polarssl --------------------------+--------------------------------
Comment (by wim@…): Here I have (r49296): curl -V curl 7.48.0 (mips-openwrt-linux-gnu) libcurl/7.48.0 mbedTLS/1.3.16 Protocols: file ftp ftps http https Features: IPv6 Largefile SSL ls -al /etc/ssl/cacert.pem -rw-r--r-- 1 root root 252451 Mar 12 17:25 /etc/ssl/cacert.pem curl --cacert /etc/ssl/certs/cacert.pem -v https://zeustracker.abuse.ch * ssl_handshake returned - PolarSSL: (-0x7280) SSL - The connection indicated an EOF curl: (35) ssl_handshake returned - PolarSSL: (-0x7280) SSL - The connection indicated an EOF www.howsmyssl.com/a/check and www.tagesschau.de do answer a lot. (okay then?) curl -u user:passw "https://now-ip.com/update?hostname=my.host.name" just hangs forever. With strace it always ends like this: ... socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3 ... clock_gettime(CLOCK_REALTIME, {1463674522, 87186882}) = 0 write(3, "\26\3\1\0\225\1\0\0\221\3\3W=\346\232@I\367=\361X\244\315\205\243\363\337\34\205\20\244\236"..., 154) = 154 read(3, 0x57f088, 5) = -1 EAGAIN (Resource temporarily unavailable) fcntl64(3, F_GETFL) = 0x82 (flags O_RDWR|O_NONBLOCK) clock_gettime(CLOCK_MONOTONIC, {784055, 29300982}) = 0 clock_gettime(CLOCK_MONOTONIC, {784055, 30097275}) = 0 clock_gettime(CLOCK_MONOTONIC, {784055, 30436456}) = 0 poll([{fd=3, events=POLLIN}], 1, 0) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {784055, 31297898}) = 0 clock_gettime(CLOCK_MONOTONIC, {784055, 31601424}) = 0 clock_gettime(CLOCK_MONOTONIC, {784055, 31923370}) = 0 poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {784055, 34630073}) = 0 clock_gettime(CLOCK_MONOTONIC, {784055, 34988484}) = 0 clock_gettime(CLOCK_MONOTONIC, {784055, 35973807}) = 0 poll([{fd=3, events=POLLIN}], 1, 1000) = 1 ([{fd=3, revents=POLLIN}]) clock_gettime(CLOCK_MONOTONIC, {784055, 118187106}) = 0 clock_gettime(CLOCK_MONOTONIC, {784055, 118576402}) = 0 poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 1 ([{fd=3, revents=POLLIN|POLLRDNORM}]) read(3, "\25\3\3\0\2", 5) = 5 read(3, "\1p", 2) = 2 Where nothing ever follows. -- Ticket URL: <https://dev.openwrt.org/ticket/19621#comment:25> OpenWrt <http://openwrt.org> Opensource Wireless Router Technology _______________________________________________ openwrt-tickets mailing list openwrt-tickets@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets