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. WebEnginePage
Forum Updated to NodeBB v4.3 + New Features

WebEnginePage

Scheduled Pinned Locked Moved Unsolved General and Desktop
25 Posts 3 Posters 3.4k Views 1 Watching
  • 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.
  • JonBJ JonB

    @Mikeeeeee
    Apparently not, other then the ok being returned as false. There does not seem to be any "error" information.

    which requires confirmation when opened in the browser

    What does this mean?

    M Offline
    M Offline
    Mikeeeeee
    wrote on last edited by
    #12

    @JonB I can't just open the page in the browser the browser says that the connection is not secure and requires me to confirm that I have gone to the desired web page

    JonBJ 1 Reply Last reply
    0
    • M Mikeeeeee

      @JonB I can't just open the page in the browser the browser says that the connection is not secure and requires me to confirm that I have gone to the desired web page

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #13

      @Mikeeeeee
      So presumably that is why it does not load in a QWebEnginePage. And if it works on one computer and not on another there must be a difference in this area.

      Does your certificateError() method get hit? If so, what does error.isOverridable() return?

      You have not said, but I presume this too is an https address?

      Do both machines have the OpenSSL installed correctly, which I understand Qt needs?

      What about trying a QNetworkRequest against it instead of QWebEnginePage, does that give more information?

      M 1 Reply Last reply
      1
      • JonBJ JonB

        @Mikeeeeee
        So presumably that is why it does not load in a QWebEnginePage. And if it works on one computer and not on another there must be a difference in this area.

        Does your certificateError() method get hit? If so, what does error.isOverridable() return?

        You have not said, but I presume this too is an https address?

        Do both machines have the OpenSSL installed correctly, which I understand Qt needs?

        What about trying a QNetworkRequest against it instead of QWebEnginePage, does that give more information?

        M Offline
        M Offline
        Mikeeeeee
        wrote on last edited by
        #14

        @JonB That's right, an https request. I use the same conda environment. I transfer it to other computers. The program uses REST API https requests, so it's probably not OpenSSL. What else could it be?

        JonBJ 1 Reply Last reply
        0
        • M Mikeeeeee

          @JonB That's right, an https request. I use the same conda environment. I transfer it to other computers. The program uses REST API https requests, so it's probably not OpenSSL. What else could it be?

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #15

          @Mikeeeeee
          I don't know, but I wouldn't think a conda environment would be at issue. It's not my area, but if indeed Qt needs OpenSSL libraries I would have more suspected that area.

          Like I said, maybe trying a QNetworkRequest would reveal more information?

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Mikeeeeee
            wrote on last edited by
            #16

            @JonB said in WebEnginePage:

            QNetworkRequest

            I just rechecked OpenSSL, it's the right version. This web page does not have a RestAPI. How can QNetworkRequest help me?

            JonBJ 1 Reply Last reply
            0
            • M Mikeeeeee

              @JonB said in WebEnginePage:

              QNetworkRequest

              I just rechecked OpenSSL, it's the right version. This web page does not have a RestAPI. How can QNetworkRequest help me?

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by JonB
              #17

              @Mikeeeeee
              I just thought it would give you more access to see what is going. Ability to look at headers, control redirects, catch SSL errors, that sort of thing. But I'm not an expert.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                Mikeeeeee
                wrote on last edited by
                #18

                Clear. Thanks. Does anyone else know what the problem might be?

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  Mikeeeeee
                  wrote on last edited by
                  #19

                  I tried to make a Rest Api request, it worked fine and returned code 200.

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    Mikeeeeee
                    wrote on last edited by
                    #20

                    If I do get request then I get this error:

                    C:\tempPythonProject\Miniconda3\lib\site-packages\urllib3\connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host '10.0.102.112'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
                      warnings.warn(
                    
                    M 1 Reply Last reply
                    0
                    • M Mikeeeeee

                      If I do get request then I get this error:

                      C:\tempPythonProject\Miniconda3\lib\site-packages\urllib3\connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host '10.0.102.112'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
                        warnings.warn(
                      
                      M Offline
                      M Offline
                      Mikeeeeee
                      wrote on last edited by
                      #21

                      I find error:

                      The render process crashed, for example because of a segmentation fault.
                      

                      How can i fix this?

                      mrjjM 1 Reply Last reply
                      0
                      • M Mikeeeeee

                        I find error:

                        The render process crashed, for example because of a segmentation fault.
                        

                        How can i fix this?

                        mrjjM Offline
                        mrjjM Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on last edited by
                        #22

                        @Mikeeeeee

                        Hi
                        What Qt version and OS are you on.

                        i found this on macOS

                        https://stackoverflow.com/questions/59513656/qtwebengine-causing-segmentation-fault-on-macos-with-pyqt-what-is-going-wrong

                        1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          Mikeeeeee
                          wrote on last edited by
                          #23

                          I use Windows. I use QWebKit and all works

                          mrjjM 1 Reply Last reply
                          0
                          • M Mikeeeeee

                            I use Windows. I use QWebKit and all works

                            mrjjM Offline
                            mrjjM Offline
                            mrjj
                            Lifetime Qt Champion
                            wrote on last edited by
                            #24

                            @Mikeeeeee

                            Ok. so you just stick to webkit ?

                            1 Reply Last reply
                            0
                            • M Offline
                              M Offline
                              Mikeeeeee
                              wrote on last edited by
                              #25

                              @mrjj said in WebEnginePage:

                              Ok. so you just stick to webkit ?

                              Yes, but webkit sometimes not work with http. But still I wonder what I need to do to make the WebEnginePage work on Windows.

                              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