Page is not being loaded
-
wrote on 6 Sept 2010, 16:17 last edited by
Can't load the item detailed pages in Amazon.com (e.g. "http://www.amazon.de/Apple-iPad-WiFi-UMTS-64GB/dp/B003G3UULC/ref=sr_1_5?ie=UTF8&s=computers&qid=1283782588&sr=8-5":http://www.amazon.de/Apple-iPad-WiFi-UMTS-64GB/dp/B003G3UULC/ref=sr_1_5?ie=UTF8&s=computers&qid=1283782588&sr=8-5). Tried this link with:
-
Arora (doesn't work)
-
qtdemo browser (doesn't work)
-
simple code using QWebView (doesn't work)
-
Chromium-browser (work)
-
Firefox (work)
In case if I remove the post query items from the link (i.e. give url like: "http://www.amazon.de/Apple-iPad-WiFi-UMTS-64GB/dp/B003G3UULC/ref=sr_1_5":http://www.amazon.de/Apple-iPad-WiFi-UMTS-64GB/dp/B003G3UULC/ref=sr_1_5) it works. Can someone tell me what is the problem, or it is an issue from QT?
[edit: fixed hyperlink / $chetankjain]
-
-
wrote on 6 Sept 2010, 16:42 last edited by
Hi HayKG,
just tried with Qt 4.7 RC on Win XP and some simple code using QWebView. Both the links worked fine. Can you post your code here, which platform are u on?
-
wrote on 7 Sept 2010, 07:31 last edited by
Same here, no problem with Qt 4.7.x (on Linux x86_64).
-
wrote on 7 Sept 2010, 07:34 last edited by
I've tried on following platforms:
- Meego
- Ubuntu 10.4
The code is simple:
@
#include <QWebView>
#include <QApplication>int main(int argc, char** argv)
{
QApplication app(argc, argv);
QWebView w;
w.load(QUrl("http://www.amazon.de/Apple-iPad-WiFi-UMTS-64GB/dp/B003G3UULC/ref=sr_1_5?ie=UTF8&s=computers&qid=1283782588&sr=8-5"));
w.show();
return app.exec();
}@
-
wrote on 7 Sept 2010, 07:36 last edited by
On Meego vs Qt 4.6.2
On Ubuntu 10.4 vs Qt 4.7.0-beta2
-
wrote on 7 Sept 2010, 08:22 last edited by
I tried your example and it fails randomly. It could be amazon disconnecting for some reason (it would be interesting to change the user agent and see if it can still be reproduced), or it could be a bug in QNetworkAccessManager.
If you can reproduce it with another user agent, please open a bug on "http://bugreports.qt.nokia.com/":http://bugreports.qt.nokia.com/ for the "Network" component.
-
wrote on 7 Sept 2010, 08:56 last edited by
I changed the user-agent of my browser. Returned the Google-Chrome's user-agent. It didn't work even in this way. But if I copy this link to chromium browser it works perfectly there.
Also guys please try "www.linguatv.com":www.linguatv.com. This one actually is being loaded but nothing is being displayed. I tried with other browsers they work, only Qt-based browsers are not working.
-
wrote on 7 Sept 2010, 09:01 last edited by
Yep, that looks like a but in the network stack of Qt. Again the resources is never loaded by QNetworkAccessManager. You should make a bug report with this information.
That also explains why I had no problem with amazon. I am using Rekonq, which does not use QNetworkAccessManager but KIO.
-
wrote on 7 Sept 2010, 09:09 last edited by
I've opened an issue. And what about the second link ("www.linguatv.com":www.linguatv.com)?
-
wrote on 7 Sept 2010, 09:12 last edited by
It could be related, the same kind of URL is given in the iframe. You can add it in comment if you are confident it is the same issue, or create a second bug report.
-
wrote on 7 Sept 2010, 16:22 last edited by
at least on winxp and qt 4.7, the amazon links mentioned here load just fine for me... no random issues there, tried multiple times.
But linguatv is quite slow (even in other browsers), and on webview only the background gradient was visible even after few minutes.. gave up
5/11