Unsolved WebEnginePage
-
@Mikeeeeee
So presumably that is why it does not load in aQWebEnginePage
. 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 doeserror.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 ofQWebEnginePage
, does that give more information? -
@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?
-
@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? -
@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?
-
@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. -
Clear. Thanks. Does anyone else know what the problem might be?
-
I tried to make a Rest Api request, it worked fine and returned code 200.
-
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(
-
I find error:
The render process crashed, for example because of a segmentation fault.
How can i fix this?
-
Hi
What Qt version and OS are you on.i found this on macOS
-
I use Windows. I use QWebKit and all works
-
Ok. so you just stick to webkit ?
-
@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.