Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Ping works but not able to browse
I have connected my embedded device to router using Ethernet cable. Ping to "www.google.com" and "www.youtube.com" works fine. But, I am not able to browse the webpage using "fancybrowser" example. Qt version is 5.3.1. If I connect the Ethernet cable to my embedded device directly, everything works fine. After connecting to the router, I noticed that /etc/resolv.conf contains "nameserver 192.168.1.1". But I do not have any clue, why browser is not able to load.
Explanation confused me. What do you mean Ethernet cable directly connected ? Directly from router to device ? Otherwise how r u connecting device to network ? Check any proxy in your network ?
nestorac last edited by
I am also confused. Do you plug the ethernet cable from the device to the router? Then, what is the other option?
@dheerendra Hi, I have connected Ethernet cable from router LAN port to my embedded device. When I have connected this way, I could browse only http sites like http://www.w3schools.com and sites using https fail to load.
When I connect the cable to my device directly without router in between, I am able to browse both http and https sites without any problem.
I tried following the suggestions from the thread
and handled the sslErrors . I am seeing the following error:
"The certificate is not yet valid".
Can someone explain what is happening here?
The issue seems to be because of the system time. The time was set to Jan 1970 that caused the error. When I set the time to current time, https sites were loading fine.
Likely because your certificates would be considered invalid since their date of validity would be starting e.g. this year.