arcsikex / cascadeur_bridge

This Blender addon is aimed to help you integrate Cascadeur into your workflow.
GNU General Public License v3.0
277 stars 12 forks source link

Couldn't create socket. Error: [WinError 10061] No connection could be made because the target machine actively refused it #52

Open ParodosGames opened 5 months ago

ParodosGames commented 5 months ago

Describe the bug I've installed the addon according to instructions, I think, and can start cascadeur from blender via the addon. But when I try to export a scene to cascadeur I get this error message (in Cascadeur):
"Couldn't create socket. Error: [WinError 10061] No connection could be made because the target machine actively refused it"

There's no error message in blender from what I can see.

Steps to reproduce the behavior: Started Blender as admin Started Cascadeur from blender Clicked "export to cascadeur" in blender

Environment: Cascadeur_bridge version 1.0.1 Blender 3.6 (installed via Steam) Cascadeur 2023.2.1 (basic) Windows

arcsikex commented 5 months ago

@ParodosGames thank you for the report. Can you please check if the port 53169 is allowed through the firewall?

I will check if I can reproduce this issue with Steam.

forcestatus commented 5 months ago

Hi, I'm using the Free License: Basic version of Cascadure and blender 4.0.

I was running into the same issue.

To fix this I followed this and opened up port 53169 via command line.

I was then able to import and export from blender the sample DRACOREX walk cycle.

I found that there are some restrictions with the Basic version of Casadure like only being able to export 300 frames at a time or supporting rigs with 150 bones. If I see
"Couldn't create socket. Error: [WinError 10061] No connection could be made because the target machine actively refused it" I know I have to restart blender and open a fresh version of Cascadeur from blender for the port to be open again.

I'm using Unity's UMA rig and experimenting with workflows at this stage. To get this to import properly I removed all face bones so the rig was under 150 bones. And now it imports.

Hope this is helpful..

ParodosGames commented 5 months ago

@arcsikex
Hi, it seems 53169 is closed for me.

I will try @forcestatus forcestatus solution, thank you for sharing.

ignvcito commented 1 month ago

@forcestatus @arcsikex Hi! i created the rule with the port 53169 and sill not working and showing the same error

SW7616 commented 1 month ago

@forcestatus @arcsikex Hi! i created the rule with the port 53169 and sill not working and showing the same error

do you by any chance have an apple service installed on your device?

ignvcito commented 1 month ago

@SW7616 i think no, dont have install itunes or something

SW7616 commented 1 month ago

and your on windows correct?

ignvcito commented 1 month ago

@SW7616 yes sir

SW7616 commented 1 month ago

@ignvcito well, there goes my initial theory. I made a post a couple of days ago with my own solution, try that and maybe it'll work. (you have to change the server.py file and client.py file to use a different port. I suggest 2121)

ignvcito commented 1 month ago

@SW7616 in cascadeur files or addon files, sorry my ignorance

SW7616 commented 1 month ago

in cascadeur change the client.py, in blender addons (so your blender addon directory) server.py and change something like "_port"

ignvcito commented 1 month ago

@SW7616 no works

SW7616 commented 1 month ago

@SW7616 no works

then i have no clue what it is. sorry.