Linux: ConnectionError: Timeout while waiting for backend to be ready. #2503
-
|
When i am launching the geometry service in Linux. I am getting following error. Error " |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Hi @harikrushna171 ! Could you attempt to extract the logs from the server for a failed execution? If you are not aware of the default location, you can simply specify a folder for it as follows: modeler = launch_modeler_with_core_service(version=252, server_log_level=0, server_logs_folder="/path/to/your/folder")
Side questions:
|
Beta Was this translation helpful? Give feedback.
-
|
after adding, "launch_modeler_with_core_service(..., transport_mode="insecure"), everything is working fine now. Thank you so much @RobPasMue |
Beta Was this translation helpful? Give feedback.
As a summary (and coming from an offline conversation with @harikrushna171) . I am leaving here the rationale:
I think this part might be relevant for any of you hitting this issue: Securing connections
With the latest PyAnsys Geometry and Ansys SPs (for 24R2, 25R1 and 25R2) there is a breaking change. Consider the following scenarios:
If you are using the latest version of PyAnsys Geometry (+0.14) and the latest SPs, everything should be working fine by default when launching a local Core Service.
If you are not using the latest SPs but you are using the latest version of PyAnsys Geometry, you will need to adapt your launcher method as follows:
launch_modeler_with_core_service…