inlife / nexrender

📹 Data-driven render automation for After Effects

Home Page:https://www.nexrender.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aerender error an existing connection was forced closed by the remote host. : unable to receive at line 502

477174 opened this issue · comments

When I try to render with the -reuse option set to true and with an open instance of After Effects, the render completes successfully, but when I try to render in the background with aerender.exe, I get:

Running Script: C:\my\absolute\path\nexrender-T7hx2ykRnouJJzsphfb-3-script.jsx [0] aerender ERROR An existing connection was forced closed by the remote host. : Unable to receive at line 500.

I tried disabling the firewall and nothing changed, I also tested running my script manually in After Effects and it worked normally.

Hey @477174

Did you figure out the problem?

@inlife

Yes, the problem was in these two lines of my script:

var presetFile = new File('C:\\Users\\Windows 10\\Documents\\bot-video\\after\\presets\\Imagem Ajust Comp.ffx'); newLayer.applyPreset(presetFile);

When running render with an open instance of After Effects with "-reuse" as true, the preset was being imported without any problems and the rendering ran fine until the end, but when I was trying to render in the background, importing this preset was apparently crashing aerender.exe.

Oh I see, very interesting. Thanks for sharing!