For an app in our production environment we are using an IDEA Statica calculation, however at the moment we are experiencing an issue. When we start a calculation an ConnectionError is raised which it didn’t do before. The app has not been updated so we don’t know what is going wrong. The traceback is the following:
Traceback (most recent call last):
File "viktor/core.pyx", line 558, in viktor.core._ResponseStream._create_iterator
File "/usr/local/lib/python3.12/site-packages/viktor/_vendor/requests/models.py", line 953, in raise_for_status
raise HTTPError(http_error_msg, response=self)
viktor._vendor.requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api-bam.viktor.ai/workspaces/46/files/3359/download/
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "viktor_connector/connector.pyx", line 298, in connector.Job.execute
File "viktor/core.pyx", line 1936, in viktor.core._handle_job
File "viktor/core.pyx", line 1921, in viktor.core._handle_job._handle_view
File "viktor/views.pyx", line 2047, in viktor.views.View._wrapper
File "/home/user/src/app/viktor_entities/pile_reinforcement/pile_reinforcement_controller.py", line 646, in view_idea_summary
core = self.create_core_entity(entity_params=entity_params, builder=PileRCSModelBuilder.CONCRETE_CHECK_SECTION)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/src/app/viktor_entities/pile_reinforcement/pile_reinforcement_controller.py", line 111, in create_core_entity
return builder(entity_params=entity_params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/src/app/viktor_entities/pile_reinforcement/pile_rcs_model_builders.py", line 462, in build_concrete_check_section
core.add_internal_forces(internal_forces=entity_params.get_internal_forces)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/src/app/viktor_entities/pile_reinforcement/pile_reinforcement_params.py", line 229, in get_internal_forces
excel_data = parse_excel_internal_forces_tab(tab_names=tab_names, file=self.excel_file())
^^^^^^^^^^^^^^^^^
File "/home/user/src/app/viktor_entities/pile_reinforcement/pile_reinforcement_params.py", line 177, in excel_file
return file_resource.file.getvalue_binary()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "viktor/core.pyx", line 998, in viktor.core.File.getvalue_binary
File "viktor/core.pyx", line 987, in viktor.core.File.open_binary
File "viktor/core.pyx", line 815, in viktor.core._URLFileManager.create_binary_file
File "viktor/core.pyx", line 687, in viktor.core._BinaryURLFile.__init__
File "viktor/core.pyx", line 684, in viktor.core._BinaryURLFile.__init__
File "viktor/core.pyx", line 552, in viktor.core._ResponseStream.__init__
File "viktor/core.pyx", line 566, in viktor.core._ResponseStream._create_iterator
ConnectionError: Could not connect to url 'https://api-bam.viktor.ai/workspaces/46/files/3359/download/'.