Setting Tekla Structures to work with HTTP proxy that requires authentication

Tekla Structures
2021
Tekla Structures
2020
Tekla Structures
2019i
Tekla Structures
2019
Tekla Structures
2018i
Tekla Structures
2018
Tekla Structures
2022
Tekla Structures
2023
Tekla Structures
model sharing
TMS
sharing
proxy
Environment
Not environment-specific

Question:
I would like to know how to configure Tekla Structures so for example the Model Sharing and other Online Services  can be used with our company’s proxy. There doesn’t seem to be any setting to configure Tekla Structures so that it can work through a proxy.


Answer:
If all the http(s) communication is routed through a http proxy that requires authentication, the following http proxy related settings must be added to the settings in the TeklaStructures.exe.config file located in the TeklaStructures\<Version>/nt/bin folder.
Note: Set the correct http proxy hostname and port depending on the actual environment.

<?xml version ="1.0"?>
<configuration>
<runtime>
...
</runtime>

<startup>
...
</startup>

<!-- BEGIN HTTP PROXY SETTINGS -->
<system.net>
<defaultProxy enabled="true" useDefaultCredentials="true">
        <proxy proxyaddress="http://DEFINE_IP_ADDRESS_HERE:DEFINE_PORT_HERE" usesystemdefault="False" />
</defaultProxy>
</system.net>
<!-- END HTTP PROXY SETTINGS -->

</configuration>

So you need to change the DEFINE_IP_ADDRESS_HERE:DEFINE_PORT_HERE part with the IP address (or hostname) and port number for example: "http://10.0.0.200:8080"

Was this helpful?