0

Exporting and Printing Files from Pyramid Does Not Work

Issue:

Printing and exporting fails with the following error:

Get Item Error

System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http://BIOFFICE_URL/Services/ClientRouter.svc that could accept the message...

...No connection could be made because the target machine actively refused it IP_ADDRESS:PORT...

Scenario:

This issue might occur when a load balancer is in use.

Solution:

The solution for this issue would be to modify the hosts file on the IIS servers so that the virtual name (the web address for the Pyramid website on the load balancer) points to the local IP of the server.

Meaning the pyramid virtual name on each webserver should point to its own local IP, instead of the loadbalancers IP.

To do this, an entry must be added to the host file.

 The host file is located here:

C:\Windows\System32\drivers\etc\hosts

In the host file of each web server you should create an entry that has
the local IP of the webserver and then the virtual name.
e.g
192.168.10.2 mypyramidwebsite

After making the above changes, do an IISRESET and flush the dns.
This should be done on each Pyramid webserver that is in the Pyramid  deployment.

Reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
Like Follow
  • 3 yrs agoLast active
  • 823Views
  • 2 Following