ATP, asset browser, baking and faster domains


#1

Hi all,
I’m having issues with asset server and baking. But, first of all, this is my configuration:
I have a sandbox running on a remote server and the assets (mainly 3D models) are hosted on a different web server accessible by HTTPS url.
That said, the goal is to make the sandbox/domain stabler and faster to load.

So I’m thinking to migrate everything to asset server and access by ATP url. After the migration is it true that:

  • Loading will be faster (after baking)?
  • Contents will be more difficult to be stolen (because ATP urls works only on one domain)?
  • Collision shapes will be more detailed?

Before migrating I’m running some tests and I found strange behaviour of uploading. I have three models: <1MB, <50MB, >100MB

In localhost the upload process goes well, but I have unexpected behaviour in baking, this is the result:

0

In this doc link I didn’t find anything about “Pending” state. What is that?

On my remote server I can’t upload testMedium and testHeavy, while testLight can be uploaded and baked fine. These are the messages I’m getting:

3


And I also have a soft crash/reset. Find log details here:

Summary

[04/26 13:11:15] [DEBUG] [hifi.networking.asset_client] Attempting to upload “c:/Users/Qbit Technologies/Desktop/ATPTest/testMedium.fbx” to asset-server.
[04/26 13:11:15] [DEBUG] [hifi.audioclient] injector has no more data, marking finished for removal
[04/26 13:11:15] [DEBUG] [hifi.audioclient] removing injector
[04/26 13:11:30] [DEBUG] [hifi.networking] Socket::writeDatagram QAbstractSocket::NetworkError - Unable to send a message
[…]
[04/26 13:12:33] [DEBUG] [hifi.networking] udt::Socket error - QAbstractSocket::NetworkError “Unable to send a message”
[04/26 13:12:37] [DEBUG] [hifi.networking] Limit of silent domain checkins reached
[04/26 13:12:37] [DEBUG] [hifi.networking] LimitedNodeList::eraseAllNodes() removing all nodes from NodeList.
[04/26 13:12:37] [DEBUG] [hifi.networking] Killed “Avatar Mixer” (W) {09ddef38-9951-4a48-9560-b77d247c80ac} 69.195.153.186:62496 / 69.195.153.186:62496
[04/26 13:12:37] [DEBUG] [hifi.networking] Killed “Asset Server” (A) {28c7f854-f18f-41d0-98d4-fdd5c25420ec} 69.195.153.186:62495 / 69.195.153.186:62495
[04/26 13:12:37] [DEBUG] [default] Clearing loaded asset mappings for Asset Browser
[04/26 13:12:37] [WARNING] [default] qrc:///qml/hifi/AssetServer.qml:174: ReferenceError: errorMessageBox is not defined
[04/26 13:12:37] [WARNING] [default] qrc:///qml/hifi/AssetServer.qml:174: ReferenceError: errorMessageBox is not defined
[04/26 13:12:37] [WARNING] [default] qrc:///qml/hifi/AssetServer.qml:174: ReferenceError: errorMessageBox is not defined
[04/26 13:12:37] [WARNING] [default] qrc:///qml/hifi/AssetServer.qml:174: ReferenceError: errorMessageBox is not defined
[04/26 13:12:37] [DEBUG] [hifi.ui] setKeyboardRaised: Desktop_QMLTYPE_210(0x160220dd020, name = “desktop”) , raised: false , numeric: false , password: false
[04/26 13:12:37] [DEBUG] [hifi.ui] setKeyboardRaised: MessageDialog_QMLTYPE_190(0x160b47ed3e0) , raised: false , numeric: false , password: false
[04/26 13:12:37] [DEBUG] [qml] [AssetServer.qml] There was a problem reaching your Asset Server. Please check your network connectivity. undefined
[04/26 13:12:37] [DEBUG] [qml] [AssetServer.qml] Asset Browser - error uploading: c:/Users/Qbit Technologies/Desktop/ATPTest/testMedium.fbx - error There was a problem reaching your Asset Server. Please check your network connectivity.
[04/26 13:12:37] [DEBUG] [hifi.ui] setKeyboardRaised: MessageDialog_QMLTYPE_190(0x160b47ed3e0) , raised: false , numeric: false , password: false
[04/26 13:12:37] [DEBUG] [hifi.ui] setKeyboardRaised: MessageDialog_QMLTYPE_190(0x161ff90fc90) , raised: false , numeric: false , password: false
[04/26 13:12:37] [DEBUG] [hifi.networking] Killed “Entity Script Server” (S) {8d8c8b35-b499-4539-811a-392b6aaa4445} 69.195.153.186:62494 / 69.195.153.186:62494
[04/26 13:12:37] [DEBUG] [hifi.networking] Killed “Messages Mixer” (m) {52e73d34-e095-4dd3-88db-73fadd06b93c} 69.195.153.186:62498 / 69.195.153.186:62498
[04/26 13:12:37] [DEBUG] [hifi.networking] Killed “Entity Server” (o) {571c0eec-0d2e-45e9-9c31-e798cb5768f9} 69.195.153.186:62500 / 69.195.153.186:62500
[04/26 13:12:37] [DEBUG] [hifi.interface] Clearing domain octree details…
[04/26 13:12:37] [DEBUG] [hifi.scriptengine] AssetScriptingInterface::AssetScriptingInterface ScriptEngine(0x160b99187c0)
[04/26 13:12:37] [DEBUG] [default] ----------------------- MiniPromise::registerMetaTypes ------------ ScriptEngine(0x160b99187c0)
[04/26 13:12:37] [DEBUG] [hifi.networking] Killed “Audio Mixer” (M) {354ec34b-a327-4f96-abb7-7ffb36c3115b} 69.195.153.186:62499 / 69.195.153.186:62499
[04/26 13:12:37] [DEBUG] [hifi.networking] Clearing all remaining connections in Socket.
[04/26 13:12:37] [DEBUG] [hifi.networking] Resetting current domain connection information.
[04/26 13:12:37] [DEBUG] [hifi.networking] Soft reset

Can anyone confirm the advantages of migrating?
And also, does anyone know how to solve Asset server issues? Are they related to the server configurations or to models/textures?

Thanks!


#2

You can bake models without having to put them on the ATP server.

Use the oven.exe tool included in the installation. It’s in the same folder as Interface.exe.
C:\Program Files\High Fidelity

However, you are correct on this point:
Contents will be more difficult to be stolen (because ATP urls works only on one domain)?
ATP server is currently the only way to protect URLs from being stolen.

But if your only goal was to make things load faster you don’t need the ATP server for that.


#3

Very helpful, thanks.

The oven tool seems really cool! I can’t find official docs about it though.
Do you know what does the “Bake domain” option mean?