Bug 157327 - with indirect internet connections loading webpages takes ages
Summary: with indirect internet connections loading webpages takes ages
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 4.1.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-07 11:41 UTC by Severin Stampler
Modified: 2012-01-01 00:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Stdout of www.wykop.pl load (16.99 KB, application/x-perl)
2009-02-21 23:11 UTC, Michal Witkowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Severin Stampler 2008-02-07 11:41:20 UTC
Version:           4.0.1 (using KDE 4.0.0)
Installed from:    SuSE RPMs
OS:                Linux

I'm connecting to the internet via a router. I.e my PC doesn't have an external IP and remote connections can only occur by port forwarding on the router.
Loading webpages, especially images, takes ages (up to two minutes) using this connection, while they load normally using different browsers such as firefox or konqueror 3.x.
It seems konqueror is waiting for a remote connection but i can't figure out why or what it is waiting for.
Using direct internet connections (VPN, dial-up,...) resolves the problem.

I don't know if the problem occurs on all pages, I tried it on
www.heise.de
www.golem.de 
and others.
Comment 1 Thomas Kamps 2008-02-18 16:07:11 UTC
I have the same problem. Firefox works well, so the problem seems to in Konquereor.
Comment 2 Thomas Kamps 2008-04-09 08:24:05 UTC
Yes ist true: Konqeror 4.0.3 works well with direkt internet-connections.
But with NAT connections konqueror has massive problems loading websites.
The most common error i get: "Fehler beim Laden: Unknown error"
This problem also accours with the 4.0.68 version.
Comment 3 Thomas Kamps 2008-05-16 20:21:57 UTC
Even with 4.0.4 (release 11.3) Konqueror sometimes has massive problems loading pages. Konqueror has also problems with loading images.
Please fix it! Konqueror is at moment unusable!
Comment 4 Thomas Kamps 2008-06-18 23:03:33 UTC
Even with 4.1 Beta konqueror has massive problems with loading websites.
Can you PLEASE fix that problem?
Comment 5 Severin Stampler 2008-07-20 20:27:27 UTC
On KDE 4.1 RC1 I get the following error when loading certain websites (german only):

Die Aktion lässt sich nicht ausführen
Verbindungsaufbau vom Server abgelehnt
Details der Anfrage:
Adresse: http://www.heise.de
Protokoll: http
Datum und Zeit: Sonntag 20 Juli 2008 20:16
Zusätzliche Information: www.heise.de: Unknown error
Beschreibung:
Server www.heise.de lehnt eine Verbindung mit diesem Rechner ab.
Mögliche Ursachen:
Der Server ist zwar mit dem Internet verbunden, ist aber vielleicht nicht für die Entgegennahme von Anfragen eingerichtet.[...]

Seems like it expects to get an incoming connection which is not possible without port forwarding. Why would I have to allow incoming connections to browse the web?
Comment 6 Thomas Kamps 2008-10-06 15:11:27 UTC
I saw that Konqueror creates many kio_http tasks. It ist really necessary to start so many kio_http's??
While loading www.heise.de i saw 9(!) kio_http's.

I think it would be bedder to use only one kio_http that loads everything. This single kio_http shound not try to load everything at the same time. Not everyone has an expesive high-end router that can handle so many packages in a short time.
Comment 7 Michal Witkowski 2009-02-21 22:52:34 UTC
*** This bug has been confirmed by popular vote. ***
Comment 8 Michal Witkowski 2009-02-21 23:09:39 UTC
I have a similar problem running KDE 4.2. I'm behind a NAT connection (linux masquarade), but the same happens with a transparent squid proxy (which obviously I can't bypass).

Take a look at a major polish website (a local version of digg): www.wykop.pl
The pages consists of many thumbnails which rarely load in full. Most of the time the page loading hangs (like 15 seconds) for a while with 105 of 115 elements loaded and then suddenly jumps to "Paged loaded" with missing images. Of course, this behavior is visible with many other pages, but wykop.pl is the ultimate test case which almost always fails. The page loads just fine (and fast!) in both Firefox and Arora (QtWebkit based browser).

As stated above, konqueror opens many simultaneous kio_http processes which try to load the page. In the stdout log of the page I can see numerous lines like:
konqueror(30703)/kio (KIOJob) KIO::SlaveInterface::dispatch: error  123   "i.wykop.pl: Unknown error"

What is error 123? What causes it?

Also, it's noteworthy that the number of missed images/123 errors is related to the state of the browser. On a newly opened instance, I get 2-3 missed images. On a session that has many opened pages and maybe a few loading simultaneously, the number of missing images/errors is around 10-15.

At first I thought that it was somewhat related to my bug: https://bugs.kde.org/show_bug.cgi?id=171878, but that has already been fixed.
I really really would like someone from konqueror to investigate, as the image loading problem sometimes renders konqueror completely unusable.

I attach the stdout of www.wykop.pl load.
Comment 9 Michal Witkowski 2009-02-21 23:11:21 UTC
Created attachment 31528 [details]
Stdout of www.wykop.pl load

Notice the:
konqueror(30703)/kio (KIOJob) KIO::SlaveInterface::dispatch: error  123   "i.wykop.pl: Unknown error"
Note: this is not adblock related, as this happens with and without adblock turned on.
Comment 10 Dawit Alemayehu 2012-01-01 00:13:19 UTC
Cannot reproduce. Feel free to reopen this ticket if the issue persists with the latest stable KDE version, v4.7.4, or higher.