I'm trying to setup distributed rendering between two different networks linked by internet. I've forwarded 51000 and 51001 port to my server, and the distant computer can now register. It appears in the "renders" list. But when I start a job, the distant computer doesn't do its task. I got this error in log : "{
"error": "Can't get file:\nc:/temp/afanasy\jobs\0\25.tmp.blendbcvcv\tasks\0.10\output\1.txt\nNo such file or directory\nCheck task log.\nIf there is 'update timeout' check firewall.\nClient should listen a port and server should be able to connect to it."
}"
But maybe afanasy can't work like this...
Last edit: Jf Sarazin 2014-08-31
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you launch several clients (afrender and afwatch) and port is already bind, it tries to listen next free port. Client prints in stdout port number that it listens.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've just found "port 51001" in the info of the renders computer. But... if I forward this port from my router to a computer, I can't use another computer on this network?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
But, of course, you can't use one router and one port for several clients.
( but you can try to setup clients to use different ports and forward them all )
I thing better to setup VPN for this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok)
btw
better to ask questions here: http://cgru.info/rules/#/Ask_Questions_Here/AFANASY
this is an attempt to joint questions (users) from different sources, sourceforge, github, email, skype, linked-in and other forums
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to setup distributed rendering between two different networks linked by internet. I've forwarded 51000 and 51001 port to my server, and the distant computer can now register. It appears in the "renders" list. But when I start a job, the distant computer doesn't do its task. I got this error in log : "{
"error": "Can't get file:\nc:/temp/afanasy\jobs\0\25.tmp.blendbcvcv\tasks\0.10\output\1.txt\nNo such file or directory\nCheck task log.\nIf there is 'update timeout' check firewall.\nClient should listen a port and server should be able to connect to it."
}"
But maybe afanasy can't work like this...
Last edit: Jf Sarazin 2014-08-31
Hi. Afanasy clients listening a port too. When server wants render to do something, it connect to its open port.
So I should forward this port to my client computer? How can I know the port number?
By default client listens 50001 port:
https://github.com/CGRU/cgru/blob/master/afanasy/config_default.json#L7
If you launch several clients (afrender and afwatch) and port is already bind, it tries to listen next free port. Client prints in stdout port number that it listens.
I've just found "port 51001" in the info of the renders computer. But... if I forward this port from my router to a computer, I can't use another computer on this network?
May be i did not got you enough...
But, of course, you can't use one router and one port for several clients.
( but you can try to setup clients to use different ports and forward them all )
I thing better to setup VPN for this.
I've forwaded 51001 port to my computer. It works now. So if I wan to add another computer, I add a new forward 51002 to the new computer?
yes, and setup its client to listen 51002
I'll try this! thanks a lot, you're solution is really helpfull, and it's a surprise to see someone answer so quickly.
Ok)
btw
better to ask questions here:
http://cgru.info/rules/#/Ask_Questions_Here/AFANASY
this is an attempt to joint questions (users) from different sources, sourceforge, github, email, skype, linked-in and other forums