TCP connection issue

2 views
Skip to first unread message

Petr Kalis

unread,
Jun 10, 2025, 9:01:28 AMJun 10
to Royal Render Knights Tavern
I am seeing errors
`Encoded TCP traffic not supported by this rrServer.
                       9.1.15a`
and `configGetGlobalInfo: Could not get global config`

on my new demo instance when using my previously working Python script: (to get info about render job)
```
tcp = rr._rrTCP("")
tcp.setServer(rrGlobal.rrServer(), 7773) # noqa: F821
tcp.setLogin("", "")
tcp.configGetGlobal()
```
I tried to add 7773 to my inbound rules of firewall, as I found in documentation, but didn't have any effect.

Would that TCP error has anything with global config issue, or it is just red herring?
Thanks for reply.

PK

RR, Schoenberger

unread,
Jun 10, 2025, 3:07:55 PMJun 10
to rrKn...@googlegroups.com

Hi

 

The message is not that you cannot connect to the rrServer.

The message states “Encoded … not supported…”.

This feature requires a RR license.

 

Please use tcp.connectAndAuthorizeDemo() after setServer():
https://www.royalrender.de/help/SDK/sdk/python_reference/libpyRR_tcp.html#libpyRR39._rrTCP.connectAndAuthorizeDemo


And remove the setLogin() line.

 

 


Note:

We provide some helper scripts/module you can use.
It works with any Python version, no need to update any script if you switch the python app (Maya/Houdini version).
Please see RR\SDK\External\Python\rr_python_utils

 

 

Code snipplet:

 

# set search path to “RR\SDK\External\Python”.

# You can either copy the module folder to your script to use this snipplet

# Or use os.environ[“RR_ROOT”] to set the right folder.

import sys

import os

mod_dir = os.path.dirname(__file__)

if mod_dir not in sys.path:

    sys.path.append(mod_dir)

 

 

#import helper

from rr_python_utils.load_rrlib import rrLib 

import rr_python_utils.connection as rr_connect

 

 

#connect to the rrServer

rrTcp = rr_connect.server_connect(user_name=None)

 

 

 

 

regards,
Holger Schönberger

 

Please use the rrKnights Tavern
or our support system for new questions.

Reply all
Reply to author
Forward
0 new messages