Skip to content

BUG: Failure to connect to server #375

@bjoernsteinhagen

Description

@bjoernsteinhagen

Describe the bug
The connectToServer function within initModel.py fails with the following message in terminal:

  File "c:\Users\bsteinhagen\Documents\GitHub\tcc-toolbox\tcc_toolbox\analysis\rfem.py", line 30, in __init__
    Model(True, model_name, True, True)
  File "C:\Users\bsteinhagen\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\RFEM\initModel.py", line 123, in __init__
    connectToServer()
  File "C:\Users\bsteinhagen\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\RFEM\initModel.py", line 49, in connectToServer
    new_wsdl = request.urlopen(urlAndPort+'/wsdl')
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Lib\urllib\request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Lib\urllib\request.py", line 525, in open
    response = meth(req, response)
               ^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Lib\urllib\request.py", line 634, in http_response
    response = self.parent.error(
               ^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Lib\urllib\request.py", line 563, in error
    return self._call_chain(*args)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Lib\urllib\request.py", line 496, in _call_chain
    result = func(*args)
             ^^^^^^^^^^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Lib\urllib\request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

Desktop (please complete the following information):

  • Version of WIN10 OS: [WIN 10 20H2]
  • Version of RFEM6.05.0008
  • Version of Python Client 1.20.0

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:

Connecting to server...
Error: Connection to server failed!
Please check:
- If you have started RFEM application
- If all RFEM dialogs are closed
- If server port range is set correctly
- If you have a valid Web Services license
- Check Program Options & Settings > Web Services
On remote PC please check:
- If the firewall enables you to listen to selected port.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugExisting feature isn't working properly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions