Problems with iray server outside localnetwork
Hi there,
For a couple of days now I'm struggling working with iray servers. I want to be able to hold a server on a rendering machine while I'm preparing the scenes on another one, so the iray server is just what I need, I managed to make it work on localnetwork, however outside the local network it's a different story.
I'm able to connect to the iray_server(I can see in the server log that I'm connected), but when I try to do the render inside daz after checking the Rendering box, I get a blank image and when I add the render to the queue, it starts loading but after 30% I receive an error that the iray server cannot create snapshot.
I'm not sure what is the problem. My license for the server is trial, could this be the problem?
Comments
What are the limits on the trial?
As far as I know the only limitation is the 30 days. Beside the 30 days there shouldn't be any limit.
Then probably the error isn't that.
I'd make sure you have the right ports opened on both firewalls.
The port is open on the router because I can connect to the iray_server interface, but as for the firewall, not sure what else should I do.
Unless you set it up differently the router is the firewall. What about the other end though?
I'm not sure what you mean by the other end?
The macvhine iRay server is running on is off your local network. So it has to be behind a different router/firewall. Does that end have the correct ports open?
Oh... Yes it does. When I try to connect to the server while in Daz Studio I'm able and I can see it in the log, even though I'm not in the local network, so I guess the ports are open and also I can connect to the browser interface where I can see all the renders I've done and what is right now rendering.
This is the server I'm using.
https://www.irayplugins.com/iray-server/
Just being able to log in is not enough. Sometimes an application will use different ports for login vs. data transfer.
The iRay server documentation should specify what port(s) have to be open.
Doesn't say anything else about other ports. The only possible port I have found was 30300 which is for the cache. I opened that port too, but still, I get the error that "Cannot reach server to create snapshots'
Then you need to contact Nvidia CS. iRay, and iRay server, are their products not Daz's.
Okay, I'll do that, thank you for your help...
Just posting that here, if somebody also face the problem later, they can find a solution.
The Iray server uses a port for the main web server (that's the one you define, either 9090 or whatever you want). After that the workers that are needed to upload the scenes (one for each different bridge protocols they support) will take the following ports.
In the end if you set your iray server on port 80, then port 81, 82, 83, 84 will be used by the workers (one for each protocol level). On DAZ 4.15 where DAZ is using the latest set of bridge protocols, you will get a communication on port 80 to authenticate and then the webserver will inform DAZ to open a socket on port 84. So remember to open at least both port 80 and 84 if you want this work on current DAZ/Iray setup.
If you use the usual port then, 9090, and 9094...
Hope this helps.
Happy rendering.