Bug 188073 - https timeouts in Konqueror (proxy connection)
Summary: https timeouts in Konqueror (proxy connection)
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: http (show other bugs)
Version: unspecified
Platform: unspecified Linux
: HI normal
Target Milestone: ---
Assignee: Dawit Alemayehu
URL:
Keywords:
: 216217 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-25 12:43 UTC by René Krell
Modified: 2011-11-07 17:41 UTC (History)
18 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.7.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description René Krell 2009-03-25 12:43:14 UTC
Version:           4.2.1 (KDE 4.2.1) "release 106" (using 4.2.1 (KDE 4.2.1) "release 106", KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.19-3.2-default

Very often I get HTTPS connection timeouts using Konqueror over a HTTP proxy. This happens for instance here at https://bugs.kde.org during using the bug report wizard, or at https://sourceforge.net/account/login.php and similar sites. After a few reloads the site can be accessed after the problem has occured.

Firefox 3.0 doesn't have any problems on the mentioned sites at all.

Konqueror shows in such cases:
________
The requested operation could not be completed
Timeout Error
Details of the Request:
URL: https://bugs.kde.org/show_bug.cgi?id=182629
Protocol: https
Date and Time: Wednesday 25 March 2009 12:37
Additional Information: bugs.kde.org
Description:
Although contact was made with the server, a response was not received within the amount of time allocated for the request as follows:
Timeout for establishing a connection: 20 seconds
Timeout for receiving a response: 600 seconds
Timeout for accessing proxy servers: 10 seconds
Please note that you can alter these timeout settings in the KDE Control Center, by selecting Network -> Preferences.
Possible Causes:
There may have been a problem at some point along the network path between the server and this computer.
The server was too busy responding to other requests to respond.
Possible Solutions:
Try again, either now or at a later time.
Contact the administrator of the server for further assistance.
Comment 1 René Krell 2009-03-25 12:44:30 UTC
Note: The timeout occurs immediately on site access, not after 10 or more seconds.
Comment 2 René Krell 2009-04-15 10:46:34 UTC
Still present in KDE 4.2.2
Comment 3 Alexander Smirnov 2009-05-04 18:30:18 UTC
I have the same problem with konqueror/proxy/https.
using kde 4.2.2 from kubuntu jaunty repositories.

in my case i see the followign output:
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active 
QPainter::setBrush: Painter not active 
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active 
QPainter::setBrush: Painter not active 
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active 
QPainter::setBrush: Painter not active 
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active 
QPainter::setBrush: Painter not active 
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active 
QPainter::setBrush: Painter not active 
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active 
QPainter::setBrush: Painter not active 
QPainter::drawRects: Painter not active
QPainter::setPen: Painter not active 
QPainter::worldTransform: Painter not active 
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active 
QPainter::setBrush: Painter not active 
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active 
QPainter::setBrush: Painter not active 
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active 
QPainter::setBrush: Painter not active 
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active 
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
Comment 4 Jacopo De Simoi 2009-05-05 00:35:17 UTC
I am not sure it's proxy related.. I experience this bug even without it. 
Could you please try and disable them temporarily?
This bug could be a duplicate of #183989
Comment 5 Romain 2009-05-12 20:36:44 UTC
(In reply to comment #4)
> I am not sure it's proxy related.. I experience this bug even without it. 
> Could you please try and disable them temporarily?
> This bug could be a duplicate of #183989

Could be, but then it's a *lot* less frequent without proxy. 

If you're behind a proxy (like I am at work), then konq is unusable to report bugs here. I have a timeout on almost *all* clicks.

At home (no corporate proxy) I don't have the problem, or it's not frequent enough to be a hindrance.

HTH,
Romain
Comment 6 Alexander 2009-06-09 23:26:18 UTC
The bug is still here:
Konqueror
Version 4.2.4 (KDE 4.2.4)
Using KDE 4.2.4 (KDE 4.2.4)

Error appear imediatelly and not within 10 seconds of timeout.
Increasing timeout lead sometime to crash.

Few times I also get (after numerous refreshes) default page instead of requested. But I cannot recreate this behavior any more.
Sometimes it works though.
Without proxy configured in it seems to work correctly.
Comment 7 Pal Körössy 2009-07-15 11:00:03 UTC
Same here on OpenSUSE 11.1 KDE4.2.4 behind a proxy. I get the error message immediately.
Comment 8 Ferdinand Gassauer 2009-07-31 12:45:10 UTC
still present in 4.2.98 RC3
IMHO all https sites suffer from this
Comment 9 John Florian 2009-08-06 17:01:08 UTC
Same here with 4.2.4 on Fedora.  Like comment #5, I see this for almost all sites from work (corporate proxy) and almost never at home (no proxy).  As with the OP, I find bugs.kde.org is nearly impossible to use due to this bug.
Comment 10 Ferdinand Gassauer 2009-08-06 22:36:48 UTC
same here on OpenSuSE 11.1 x86_64 KDE 4.3.0 
konqueror is simply not corporate (proxy) ready 
may be a work around is to set no proxy for https
Comment 11 Ferdinand Gassauer 2009-08-07 13:07:35 UTC
"no proxy for https" works for me
Comment 12 jackdaws 2009-08-21 00:58:09 UTC
I don't access through a proxy and I get instantaneous timeout errors on about 5% of pages - too many for me.
Comment 13 Joel 2009-09-16 17:53:41 UTC
I run into the same problem here, on KDE 4.3.1. Accessing a https url is impossible with a corporate http proxy. Seems like https://bugs.kde.org/show_bug.cgi?id=177432 is about the same bug.
Comment 14 Andreas Hartmetz 2009-10-13 22:30:18 UTC
Does the proxy require authentication? If so this looks like a duplicate.
Comment 15 Bernhard Jungk 2009-10-13 22:59:54 UTC
I encountered this bug, too. The proxy did not require authentication.
Comment 16 Romain 2009-10-19 13:54:37 UTC
Still there in KDE 4.3.2. No authorization required for the proxy.
Comment 17 Tommi Tervo 2009-11-26 13:40:56 UTC
*** Bug 216217 has been marked as a duplicate of this bug. ***
Comment 18 Arend Bayer 2009-12-27 12:51:19 UTC
I am observing a similar (though maybe not the same) problem. When trying to connect to https://vpn.uconn.edu , I always and immediately get the konqueror Timeout Error page. 
Using kubuntu karmic, konqueror 4.3.2; I am NOT using a proxy.
Comment 19 René Krell 2009-12-28 12:55:48 UTC
The problem is still there in version 4.3.85 (KDE 4.4 Beta2) with Qt 4.6.0+4.6.20091222. Browsing at https://bugs.kde.org under my account gives me approximately 1 of 4 successful connections without a https timeout behind the proxy.
Comment 20 Romain 2010-03-05 17:37:46 UTC
Still there in 4.4.1...
Comment 21 tim 2010-03-17 16:14:32 UTC
Bug still present in KDE 4.4.0

To reproduce, simply send the https protocol via a proxy and try to use Amazon or your favourite bank. Watch it fail with broken images, "instant" timeout errors and a lot of stuff in ~/.xsession-errors about "KIO::TransferJob::slotMimetype: mimetype() emitted again, or after sending first data!"

It works OK with a mostly-text site like (say) your personal Squirrelmail installation, but anything which embeds many images will collapse in a big smelly heap.
Comment 22 tim 2010-03-17 18:35:59 UTC
...though actually from the looks of it this is a bug in kio_http rather than konqueror per se...
Comment 23 Romain 2010-11-29 13:30:13 UTC
Good news: I can't reproduce it with konqueror/kdelibs 4.5.3 (from debian experimental) and qt 4.6.3 (from debian unstable) so this bug may have been fixed at some point.
Comment 24 Joel 2010-11-30 10:58:24 UTC
I ran into this bug again, yesterday, while I was using a http proxy with rekonq...
Comment 25 Andreas Hartmetz 2010-12-26 12:17:45 UTC
Joel: which KDE and Qt version?
Comment 26 Joel 2010-12-27 17:48:07 UTC
I'm using kde 4.5.4 and qt 4.7.1, with ArchLinux.
Comment 27 Samuel Brack 2011-01-04 23:14:10 UTC
So I'm updating the version because the bug is still present.
Comment 28 Dawit Alemayehu 2011-04-25 22:57:32 UTC
This has already been fixed. See

https://projects.kde.org/projects/kde/kdelibs/repository/revisions/8a2929b2dd8b7fe166053aed51a5def3c6565844

If the problem persists for any of you for KDE 4.6.2 and up, feel free to reopen this ticket.
Comment 29 Atanas Bombov 2011-09-20 11:29:59 UTC
Hi Dawit,

I have Konqueror 4.7.1 and I still have this issue. Can't reopen the ticket, I don't seem to have enough rights...

Regards,
Atanas
Comment 30 Dawit Alemayehu 2011-09-20 17:09:47 UTC
(In reply to comment #29)
> Hi Dawit,
> 
> I have Konqueror 4.7.1 and I still have this issue. Can't reopen the ticket, I
> don't seem to have enough rights...

What proxy server are you using and what distribution ? Does your problem go away if you increase the "Proxy connect" timeout value under 
System Settings-> Network Settings-> Connection Preferences ?
Comment 31 Dawit Alemayehu 2011-09-24 19:32:46 UTC
I was finally able to reproduce this bug and discovered what causes it. It is a bug in how we deal with keep alive in kio_http. A patch will be forth coming soon.