Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ParodosGames opened this issue Jan 27, 2024 · 13 comments

Comments

@ParodosGames
Copy link

ParodosGames commented Jan 27, 2024

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
Copy link
Owner

@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
Copy link

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
Copy link
Author

ParodosGames commented Feb 1, 2024

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

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

@ignvcito
Copy link

ignvcito commented Jun 6, 2024

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

@SW7616
Copy link

SW7616 commented Jun 6, 2024

@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
Copy link

ignvcito commented Jun 6, 2024

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

@SW7616
Copy link

SW7616 commented Jun 6, 2024

and your on windows correct?

@ignvcito
Copy link

ignvcito commented Jun 6, 2024

@SW7616 yes sir

@SW7616
Copy link

SW7616 commented Jun 6, 2024

@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
Copy link

ignvcito commented Jun 6, 2024

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

@SW7616
Copy link

SW7616 commented Jun 6, 2024

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

@ignvcito
Copy link

ignvcito commented Jun 6, 2024

@SW7616 no works

@SW7616
Copy link

SW7616 commented Jun 6, 2024

@SW7616 no works

then i have no clue what it is. sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants