Failed to connect to event hub
1 1

6 posts in this topic

Hello,


Not quite sure what's happening here.  I'm getting the error 

EventHubConnectionError: Failed to connect to event server at https://mystudio.ftrackapp.com.

when I try to run an action plugin.

 

The same code works fine from a windows machine on our network but not on this linux machine.  The python environment it is running in is the same albeit on a linux box. I can ping the url in question and it connects fine so I don't think it's a firewall issue. Are there specific ports that need to be open or is there something else that would cause this error?


Dan

Share this post


Link to post
Share on other sites

All sorted now. My virtualenv had picked the Centos base version of python (2.7.5) instead of the my alternate version (2.7.14). Now I have told virtualenv to use 2.7.14 everything works as expected.

Share this post


Link to post
Share on other sites

it connects without problems now ... 

no changes in the code or version of python - we're running python 2.7.11

code as following:

session = ftrack_api.Session(auto_connect_event_hub=True)

Might have been network shortage or something, but our IT guy diagnosed further and said there was no reply from the server, although FTrack in browser was working fine

Cheers, Vit

Share this post


Link to post
Share on other sites

Testing again now and it works fine in Nuke/NukeStudio 11.2v1,  but stopped working in Nuke 10.5.... I'll investigate further and write a support ticket, when I have time.. Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
1 1