vircadia / vircadia-native-core

Vircadia open source agent-based metaverse ecosystem.
https://vircadia.com/
Other
531 stars 175 forks source link

Domain server is unable to route requests to the Metaverse #1338

Open digisomni opened 3 years ago

digisomni commented 3 years ago

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 commented 3 years ago

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.

daleglass commented 3 years ago

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.

digisomni commented 3 years ago

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

digisomni commented 3 years ago

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

digisomni commented 3 years ago

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

stale[bot] commented 2 years ago

Hello! Is this still an issue?

stale[bot] commented 1 year ago

Hello! Is this still an issue?