Page is not being loaded
-
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]
-
-
Same here, no problem with Qt 4.7.x (on Linux x86_64).
-
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();
}@
-
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.
-
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.
-
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.
-
I've opened an issue. And what about the second link ("www.linguatv.com":www.linguatv.com)?
-
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.
-
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