You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Executing the example: Ansys Fluent workflow as presented in the documentation fails to run to completion.
Execution halts at step "Launch Fluent & Connect to Fluent" with a seemingly failure to by pyfluent.connect_to_fluent method, however it seems that the issue is with wb.start_fluent_server where a server fails to start altogether despite a server_info_file being generated correctly.
Exception thrown by pyfluent.connect_to_fluent:
Exception has occurred: RuntimeError
failed to connect to all addresses; last error: UNKNOWN: ipv4:192.168.68.73:57548: socket is null
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses; last error: UNKNOWN: ipv4:192.168.68.73:57548: socket is null"
debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"failed to connect to all addresses; last error: UNKNOWN: ipv4:192.168.68.73:57548: socket is null", grpc_status:14, created_time:"2024-11-14T15:12:50.3409939+00:00"}"
>
During handling of the above exception, another exception occurred:
File "D:\Testing\pyWorkbench\pyworkbench-examples\examples\pyfluent-workflow\main.py", line 54, in <module>
fluent_session = pyfluent.connect_to_fluent(server_info_file_name=server_info_file)
RuntimeError: failed to connect to all addresses; last error: UNKNOWN: ipv4:192.168.68.73:57548: socket is null
Further more, while trying to start a fluent web server manually in the app launched by main.py, web server parameters where disabled:
However these parameters are enabled if launching fluent as a standalone:
📝 Steps to reproduce
Clone pyworkbench-examples.
Create virtual environment using provided cpython in ansys installation: "$ANSYS_PATH"+"v251"+"\commonfiles\CPython\3_10\winx64\Release\python\python.exe"
🔍 Before submitting the issue
🐞 Description of the bug
Executing the example: Ansys Fluent workflow as presented in the documentation fails to run to completion.
Execution halts at step "Launch Fluent & Connect to Fluent" with a seemingly failure to by pyfluent.connect_to_fluent method, however it seems that the issue is with wb.start_fluent_server where a server fails to start altogether despite a server_info_file being generated correctly.
Exception thrown by pyfluent.connect_to_fluent:
Further more, while trying to start a fluent web server manually in the app launched by main.py, web server parameters where disabled:
However these parameters are enabled if launching fluent as a standalone:
📝 Steps to reproduce
python -m pip ansys-workbench-core ansys-fluent-core
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
Fluent: Build Time: Oct 30 2024 02:44:03 EST Build Id: 203 Revision: 5ab3dd04f9 Branch: releases/release-25.1
Workbench: 2025R1 File Date: Wednesday, October 30, 2024 2:07:43 PM, File Version: 25.1.0.0
Unified Package Name: 2024-10-31 01:13 P00
🐍 Which Python version are you using?
3.10
📦 Installed packages
The text was updated successfully, but these errors were encountered: