Access Nucleus on Host from Replicator inside Docker

I run replicator using the provided Docker image on my Ubuntu 20 Workstation. There is a Nucleus on the Workstation, and I set up the container in a way that it can access the host network. I checked that using telnet 127.0.0.1 3180 inside the container.

I try to reference the Reallusion Worker from the Nucleus like in this tutorial:
https://docs.omniverse.nvidia.com/prod_extensions/prod_extensions/ext_replicator/shrubs_and_worker_example.html

I basically want to prove that I can access Nucleus Assets from within the container.

Right now, I get a log like this:

Blockquote
2022-09-22 14:54:05 [16,530ms] [Warning] [omni.usd] Warning: in _ReportErrors at line 2830 of /buildAgent/work/ca6c508eae419cf8/USD/pxr/usd/usd/stage.cpp – Could not open asset @omniverse://localhost/NVIDIA/Ass
ets/Characters/Reallusion/Worker/Worker.usd@ for reference on prim @anon:0x7f796c002670:World1.usd@,@anon:0x7f796c004680:World1-session.usda@</Replicator/Ref_Xform/Ref>. (recomposing stage on stage @anon:0x7f796
c002670:World1.usd@ <0x7f796c0079d0>)
Blockquote

I guess I have to authenticate against the nucleus, but might be wrong. If so, how do I do that within scripting, does the replicator API provide any function?

Thanks
Bruno

Hello @bruno.vetter! I alerted the Replicator team of this post. I will let you know when I have more information for you!

Hi! I believe you should be able to use environment variables to pass credentials to Nucleus to satisfy the authenticated connection requirement. These work in both Linux and Windows:

OMNI_USER
OMNI_PASS

Please give this a try and report back to us.

Thanks!

This works, thanks a lot!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.