Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QWebView results "408 Request Time-out" towards a certain webpage target
QtWS25 Last Chance

QWebView results "408 Request Time-out" towards a certain webpage target

Scheduled Pinned Locked Moved Unsolved General and Desktop
qwebviewqwebelement
7 Posts 4 Posters 2.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    koliva
    wrote on 19 Jun 2016, 16:10 last edited by
    #1

    Hi all,

    I have a test application and it just goes to some defined websites (3 in total) and fills in some data and sends. The code works perfect for two of the websites but it doesn't work for a specific one. What happens is that, when I load an url in that website, I randomly get "408 Request Time-out, Your browser didn't send a complete request in time." error. This doesn't happen any of the other websites. As I said, it happens, sometimes right at the beginning sometimes after I fill in the data and send it. So, I believe it is because the webser of that website but I don't know how I can get rid of it. It also doesn't happen if I use regular chrome. I was wondering if it could be related to any sort of certification or security topics? Thanks.

    ? K 2 Replies Last reply 19 Jun 2016, 16:27
    0
    • K koliva
      19 Jun 2016, 16:10

      Hi all,

      I have a test application and it just goes to some defined websites (3 in total) and fills in some data and sends. The code works perfect for two of the websites but it doesn't work for a specific one. What happens is that, when I load an url in that website, I randomly get "408 Request Time-out, Your browser didn't send a complete request in time." error. This doesn't happen any of the other websites. As I said, it happens, sometimes right at the beginning sometimes after I fill in the data and send it. So, I believe it is because the webser of that website but I don't know how I can get rid of it. It also doesn't happen if I use regular chrome. I was wondering if it could be related to any sort of certification or security topics? Thanks.

      ? Offline
      ? Offline
      A Former User
      wrote on 19 Jun 2016, 16:27 last edited by
      #2

      @koliva Hi! You could use a network protocol analyzer and see what chrome does different than your application.

      1 Reply Last reply
      1
      • K Offline
        K Offline
        koliva
        wrote on 19 Jun 2016, 16:36 last edited by
        #3

        I have WireShark, but the problem is, the issue doesn't happen always. Therefore I can't really compare the two easily. In python, there is web-driver and there you can load chrome browser. That actually solves a lot of problem. In QWebView, I actually create my own browser which comes along with different issues. Is there any way to load chrome itself inside of QWebView? Or something similar?

        ? 1 Reply Last reply 19 Jun 2016, 16:41
        0
        • K koliva
          19 Jun 2016, 16:36

          I have WireShark, but the problem is, the issue doesn't happen always. Therefore I can't really compare the two easily. In python, there is web-driver and there you can load chrome browser. That actually solves a lot of problem. In QWebView, I actually create my own browser which comes along with different issues. Is there any way to load chrome itself inside of QWebView? Or something similar?

          ? Offline
          ? Offline
          A Former User
          wrote on 19 Jun 2016, 16:41 last edited by A Former User
          #4

          @koliva OK, simple solution: port your application from legacy QtWebKit to QtWebEngine. It's based on Chromium so chances are good it will work then.

          K 1 Reply Last reply 19 Jun 2016, 16:44
          0
          • ? A Former User
            19 Jun 2016, 16:41

            @koliva OK, simple solution: port your application from legacy QtWebKit to QtWebEngine. It's based on Chromium so chances are good it will work then.

            K Offline
            K Offline
            koliva
            wrote on 19 Jun 2016, 16:44 last edited by
            #5

            @Wieland said:

            QtWebEngine

            Let me give it a try. Thanks.

            1 Reply Last reply
            0
            • D Offline
              D Offline
              dspt
              wrote on 28 Jun 2016, 16:10 last edited by
              #6

              Hi! @koliva .... This works?

              1 Reply Last reply
              0
              • K koliva
                19 Jun 2016, 16:10

                Hi all,

                I have a test application and it just goes to some defined websites (3 in total) and fills in some data and sends. The code works perfect for two of the websites but it doesn't work for a specific one. What happens is that, when I load an url in that website, I randomly get "408 Request Time-out, Your browser didn't send a complete request in time." error. This doesn't happen any of the other websites. As I said, it happens, sometimes right at the beginning sometimes after I fill in the data and send it. So, I believe it is because the webser of that website but I don't know how I can get rid of it. It also doesn't happen if I use regular chrome. I was wondering if it could be related to any sort of certification or security topics? Thanks.

                K Offline
                K Offline
                Konstantin Tokarev
                wrote on 16 Jul 2016, 12:41 last edited by
                #7

                @koliva Could you give me URLs where this problem reproduces? Also, what QtWebKit version are you using? Form handling code had some fixes in 5.5.

                It can also be caused by non-conforming behavior of web server.

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved