vircadia-native-core icon indicating copy to clipboard operation
vircadia-native-core copied to clipboard

Domain server is unable to route requests to the Metaverse

Open digisomni opened this issue 3 years ago • 7 comments

For example, the Domain server will log something like this:

[09/11 15:16:04] [WARNING] [qt.network.ssl] QSslSocket::connectToHostEncrypted: TLS initialization failed
[09/11 15:16:04] [DEBUG] [default] getDomainOwnerFriendsList api call failed: QNetworkReply::UnknownNetworkError

To reproduce:

Connect your Domain to the Metaverse. After rebooting it, observe the logs for when it pings anything to the Metaverse and notice this error. Also, you can try to "Create a Domain ID" to cause a failure immediately.

digisomni avatar Sep 11 '21 19:09 digisomni

This appears to only be an issue if you are running the executable of a Domain that has not already been packaged, if it's been packaged then it appears to work just fine.

digisomni avatar Sep 14 '21 06:09 digisomni

That looks like a lack of Qt SSL libraries in the right paths. Qt install the SSL .dll files in its directory, and they have to be copied to the program's binary's dir.

daleglass avatar Sep 18 '21 18:09 daleglass

Could something have changed when did the Qt upgrade or the CMake copy PRs?

digisomni avatar Sep 18 '21 18:09 digisomni

https://stackoverflow.com/questions/53805704/tls-initialization-failed-on-get-request

digisomni avatar Oct 09 '21 18:10 digisomni

Likely introduced with this PR, needs testing to confirm though: https://github.com/vircadia/vircadia/pull/936

digisomni avatar Oct 21 '21 10:10 digisomni

Hello! Is this still an issue?

stale[bot] avatar Apr 19 '22 10:04 stale[bot]

Hello! Is this still an issue?

stale[bot] avatar May 02 '23 21:05 stale[bot]