-
Notifications
You must be signed in to change notification settings - Fork 29
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
BUG: Failure to connect to server #375
Comments
Hi @bjoernsteinhagen, |
Hey, DesktopWindows: Windows 11 Pro (Version: 23H2) Further DiggingI run the following code on port 8081.
It gave me Passing Questions / Ideas I had to solve the problem
Possible Solution / Quick FixClosing RFEM and killing the process that runs my localhost as described here During writing this comment I came to this idea. Currently this works. For me this is not the most elegant solution. Hope this helps other users and leads to a possible solution where no such quick-fixes are needed. Kind regards |
Hey @JohannesSchorr, I guess your issue was related to ports selection and their associated methods. Port 8081 is for the Application methods and port 8082 is for the Model methods which you may find in wiki of this repo. So, in your case you were getting active model with port 8081 which generally throws port 8082 and when rerunning code by changing port 8082 which is for model methods and in 8082, there is no such method like get_active_model() which is the cause of the error. I hope this clarifies your issue. |
Hey @heetrojivadiya, thanks for investing your time. For clarification
Further Questions
Thanks again for the clarification. Allways happy to learn something new. Kind regards |
Describe the bug
The
connectToServer
function withininitModel.py
fails with the following message in terminal:Desktop (please complete the following information):
Additional context
Working on other machines just not mine. RFEM6 has been uninstalled and reinstalled, Python Client has been uninstalled and reinstalled. Older version of Python client yielded following error:
The text was updated successfully, but these errors were encountered: