cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

How to solve Proxy Script based configuration issues for Thingworx Studio.docx

No ratings

Often issues connecting to the Thingworx Experience Service from Thingworx Studio are related to more complex proxy configurations. One such configuration uses a .pac script that dynamically resolves the proxy based on the requested URL. Thingworx Studio has the ability to configure a proxy server but you have to explicitly specify one server URL, you can't replicate the settings in your internet connections when these use a .pac script. No worries - there is a workaround - Proxy-Vole at your rescue!

 

You can find Proxy Vole (https://proxy-vole.kenai.com/ ) on the Internet. It is a little java-based application that can be used to auto-resolve your proxy configuration. It has a command line and a UI frontend. The documentation is somewhat unstructured - for the test you only need a few of the steps:

  1. Download the Proxy Vole jar-with-dependencies
  2. Start the proxy vole application in a command shell using the following command:

    java -cp ./proxy-vole-1.0.1-jar-with-dependencies.jar com.github.markusbernhardt.proxy.ui.ProxyTester
  3. Enter the following in the dialog box:ProxyVole.jpg4. Specify the resulting proxy URL in Thingworx Studio:

studio.jpg

That's it!

If you still have issues, please post the log on the Developer Forum site.

 

Comments

A couple of changes are needed:

  1. Proxy-Vole is now available from here: https://github.com/MarkusBernhardt/proxy-vole. The kenai.com domain has been closed by Oracle.
  2. Download the latest  jar-with-dependencies (version 1.0.5 instead of 1.0.1 linked in the article above).
  3. The corresponding command is then: 
    java -cp ./proxy-vole-1.0.5-jar-with-dependencies.jar com.github.markusbernhardt.proxy.ui.ProxyTester
  4. The Settings dialog in Studio has evolved and now provides the ability to specify user name and password beside the proxy server URL.
    Settings dialog with proxy URL/User/PasswordSettings dialog with proxy URL/User/Password
Version history
Last update:
‎Jun 05, 2019 08:42 AM
Updated by:
Labels (1)
Contributors