[Bug 1072328] Re: openconnect: SSL wrote too few bytes! | error in buffer handling
Launchpad has imported 11 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=845636. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2012-08-03T16:43:29+00:00 Murilo wrote: Description of problem: openconnect terminates the VPN abruptaly. Version-Release number of selected component (if applicable): openconnect-4.00-2.el6.x86_64 How reproducible: Steps to Reproduce: 1. Connect to VPN; 2. Try to download, for instance, a huge CVS tree from a VPN server. 3. Actual results: openconnect terminates the VPN with messages: Jul 26 15:01:19 host openconnect[31571]: SSL wrote too few bytes! Asked for 1375, sent 0 Jul 26 15:01:19 host openconnect[31571]: Send BYE packet: Internal error Jul 26 15:01:19 host openconnect[31571]: SSL_write failed: 1 Jul 26 15:01:19 host openconnect[31571]: 139641621817192:error:1409F07F:SSL routines:SSL3_WRITE_PENDING:bad write retry:s3_pkt.c:826: Expected results: openconnect should not terminate. Additional info: Reply at: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/comments/0 On 2012-08-03T16:45:02+00:00 Murilo wrote: This patch solves the issue: http://git.infradead.org/users/dwmw2/openconnect.git/commit/fddb099d9f6c25d5500b176d6523818bd683bbae Reply at: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/comments/1 On 2012-08-31T23:11:06+00:00 Fedora wrote: openconnect-4.07-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/openconnect-4.07-2.fc18 Reply at: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/comments/2 On 2012-08-31T23:29:00+00:00 Fedora wrote: openconnect-4.07-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/openconnect-4.07-1.fc17 Reply at: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/comments/3 On 2012-08-31T23:39:15+00:00 Fedora wrote: openconnect-4.07-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/openconnect-4.07-1.el5 Reply at: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/comments/4 On 2012-08-31T23:39:30+00:00 Fedora wrote: openconnect-4.07-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/openconnect-4.07-1.el6 Reply at: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/comments/5 On 2012-09-01T17:24:22+00:00 Fedora wrote: Package openconnect-4.07-1.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing openconnect-4.07-1.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-12788/openconnect-4.07-1.el6 then log in and leave karma (feedback). Reply at: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/comments/6 On 2012-09-17T22:46:29+00:00 Fedora wrote: openconnect-4.07-2.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. Reply at: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/comments/7 On 2012-09-19T03:07:31+00:00 Fedora wrote: openconnect-4.07-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. Reply at: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/comments/8 On 2012-09-21T20:54:41+00:00 Fedora wrote: openconnect-4.07-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. Reply at: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/comments/9 On 2012-09-21T20:55:52+00:00 Fedora wrote: openconnect-4.07-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of
[Bug 1072328] Re: openconnect: SSL wrote too few bytes! | error in buffer handling
Just hit this on 12.04; rsync would pretty reliably trigger it. Version on misterc's PPA fixes it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072328 Title: openconnect: SSL wrote too few bytes! | error in buffer handling To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072328] Re: openconnect: SSL wrote too few bytes! | error in buffer handling
Hi there! - Thanks for effort! Is it possible to get a package/fix for 12.10? (ATM I have installed the PPA from misterc that fixed the problem with 12.10.) Thanks a lot and best regards, sokai -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072328 Title: openconnect: SSL wrote too few bytes! | error in buffer handling To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072328] Re: openconnect: SSL wrote too few bytes! | error in buffer handling
the new version which fixes the issue has been synced to raring: https://launchpad.net/ubuntu/+source/openconnect/4.07-1 ** Changed in: openconnect (Ubuntu) Importance: Undecided => Low ** Changed in: openconnect (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072328 Title: openconnect: SSL wrote too few bytes! | error in buffer handling To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072328] Re: openconnect: SSL wrote too few bytes! | error in buffer handling
Thank Michael. It worked for me as well. Very much appreciated. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072328 Title: openconnect: SSL wrote too few bytes! | error in buffer handling To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072328] Re: openconnect: SSL wrote too few bytes! | error in buffer handling
Thanks Michael, seems to work for me, no disconnect yet. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072328 Title: openconnect: SSL wrote too few bytes! | error in buffer handling To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1072328] Re: openconnect: SSL wrote too few bytes! | error in buffer handling
Sure. I uploaded it to the PPA builders last night. On Nov 27, 2012 2:25 PM, "opi" wrote: > @Michael: Can you also add a quantal package? > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1072328 > > Title: > openconnect: SSL wrote too few bytes! | error in buffer handling > > Status in “openconnect” package in Ubuntu: > Confirmed > Status in “openconnect” package in Fedora: > Unknown > > Bug description: > VPN Connection is set back when larger amounts are being transferred - > in my case when I execute an rsync script. > > in > OpenConnect version v4.06 > Using GnuTLS. Features present: PKCS#11, DTLS (using OpenSSL) > > from /var/log/syslog: > Oct 28 12:09:22 buckeliger NetworkManager[1227]: No IPv6 > configuration > Oct 28 12:09:22 buckeliger NetworkManager[1227]: Login Banner: > Oct 28 12:09:22 buckeliger NetworkManager[1227]: > - > Oct 28 12:09:22 buckeliger NetworkManager[1227]: / > Oct 28 12:09:22 buckeliger NetworkManager[1227]: > - > Oct 28 12:09:22 buckeliger openconnect[2705]: Connected vpn0 as > *, using SSL > Oct 28 12:09:23 buckeliger NetworkManager[1227]: VPN connection > '' (IP Config Get) complete. > Oct 28 12:09:23 buckeliger NetworkManager[1227]: Policy set > '' (vpn0) as default for IPv4 routing and DNS. > Oct 28 12:09:23 buckeliger NetworkManager[1227]: ((null)): > writing resolv.conf to /sbin/resolvconf > Oct 28 12:09:23 buckeliger dnsmasq[1398]: setting upstream servers from > DBus > Oct 28 12:09:23 buckeliger dnsmasq[1398]: using nameserver > Oct 28 12:09:23 buckeliger dnsmasq[1398]: using nameserver > Oct 28 12:09:24 buckeliger NetworkManager[1227]: VPN plugin state > changed: started (4) > Oct 28 12:09:24 buckeliger dbus[1064]: [system] Activating service > name='org.freedesktop.nm_dispatcher' (using servicehelper) > Oct 28 12:09:24 buckeliger NetworkManager[1227]:keyfile: updating > /etc/NetworkManager/system-connections/ > Oct 28 12:09:24 buckeliger dbus[1064]: [system] Successfully activated > service 'org.freedesktop.nm_dispatcher' > Oct 28 12:09:28 buckeliger openconnect[2705]: DTLS handshake failed: 2 > Oct 28 12:09:32 buckeliger ntpdate[2806]: adjust time server 91.189.94.4 > offset 0.087904 sec > Oct 28 12:09:46 buckeliger openconnect[2705]: SSL wrote too few bytes! > Asked for 1363, sent 0 > Oct 28 12:09:46 buckeliger openconnect[2705]: Send BYE packet: Internal > error > Oct 28 12:09:46 buckeliger avahi-daemon[1169]: Withdrawing workstation > service for vpn0. > Oct 28 12:09:46 buckeliger NetworkManager[1227]:SCPlugin-Ifupdown: > devices removed (path: /sys/devices/virtual/net/vpn0, iface: vpn0) > Oct 28 12:09:47 buckeliger NetworkManager[1227]: VPN plugin > failed: 1 > Oct 28 12:09:47 buckeliger NetworkManager[1227]: VPN plugin state > changed: stopped (6) > Oct 28 12:09:47 buckeliger NetworkManager[1227]: VPN plugin state > change reason: 0 > Oct 28 12:09:47 buckeliger avahi-daemon[1169]: Withdrawing address > record for 192.168.178.20 on eth0. > Oct 28 12:09:47 buckeliger avahi-daemon[1169]: Leaving mDNS multicast > group on interface eth0.IPv4 with address 192.168.178.20. > Oct 28 12:09:47 buckeliger avahi-daemon[1169]: Interface eth0.IPv4 no > longer relevant for mDNS. > Oct 28 12:09:47 buckeliger avahi-daemon[1169]: Joining mDNS multicast > group on interface eth0.IPv4 with address 192.168.178.20. > Oct 28 12:09:47 buckeliger avahi-daemon[1169]: New relevant interface > eth0.IPv4 for mDNS. > Oct 28 12:09:47 buckeliger avahi-daemon[1169]: Registering new address > record for 192.168.178.20 on eth0.IPv4. > Oct 28 12:09:48 buckeliger NetworkManager[1227]: Policy set > 'dahoam' (eth0) as default for IPv4 routing and DNS. > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072328 Title: openconnect: SSL wrote too few bytes! | error in buffer handling To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072328] Re: openconnect: SSL wrote too few bytes! | error in buffer handling
@Michael: Can you also add a quantal package? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072328 Title: openconnect: SSL wrote too few bytes! | error in buffer handling To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072328] Re: openconnect: SSL wrote too few bytes! | error in buffer handling
4.07 fixes it for me. I made a package for it for Precise and added it to my PPA (the build is pending): https://launchpad.net/~misterc/+archive/ppa -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072328 Title: openconnect: SSL wrote too few bytes! | error in buffer handling To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072328] Re: openconnect: SSL wrote too few bytes! | error in buffer handling
The fix is in git commit: http://git.infradead.org/users/dwmw2/openconnect.git/commit/fddb099d9f6c25d5500b176d6523818bd683bbae ** Also affects: openconnect (Fedora) via https://bugzilla.redhat.com/show_bug.cgi?id=845636 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072328 Title: openconnect: SSL wrote too few bytes! | error in buffer handling To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072328] Re: openconnect: SSL wrote too few bytes! | error in buffer handling
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: openconnect (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072328 Title: openconnect: SSL wrote too few bytes! | error in buffer handling To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072328] Re: openconnect: SSL wrote too few bytes! | error in buffer handling
Yeah? I wrote that I can't compile it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072328 Title: openconnect: SSL wrote too few bytes! | error in buffer handling To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072328] Re: openconnect: SSL wrote too few bytes! | error in buffer handling
Fixed in OpenConnect 4.07 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072328 Title: openconnect: SSL wrote too few bytes! | error in buffer handling To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072328] Re: openconnect: SSL wrote too few bytes! | error in buffer handling
** Package changed: ubuntu => openconnect (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072328 Title: openconnect: SSL wrote too few bytes! | error in buffer handling To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072328] Re: openconnect: SSL wrote too few bytes! | error in buffer handling
Update: running the script with --bwlimit=32 works for now but of course it would be definitely nicer to be able to use the whole bandwidth available. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072328 Title: openconnect: SSL wrote too few bytes! | error in buffer handling To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1072328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072328] Re: openconnect: SSL wrote too few bytes! | error in buffer handling
It seems the same bug emerged also in the Fedora package: https://bugzilla.redhat.com/show_bug.cgi?id=845636 ** Bug watch added: Red Hat Bugzilla #845636 https://bugzilla.redhat.com/show_bug.cgi?id=845636 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072328 Title: openconnect: SSL wrote too few bytes! | error in buffer handling To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1072328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072328] Re: openconnect: SSL wrote too few bytes! | error in buffer handling
plus I tried to download the openconnect package v4.0.7 and compile it myself but I do not really get what flasg I should use when running configure ... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072328 Title: openconnect: SSL wrote too few bytes! | error in buffer handling To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1072328/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs