Risport Service: The remote server returned an error: (502) Bad Gateway

Unanswered Question
Jun 19th, 2009

Hi All.

I am using the CUCM (System version: Risport function to get device information.

When trying to connect to the service (https://<CUCM_IP>:8443/realtimeservice/services/RisPort) I receive the folowing error:

The remote server returned an error: (502) Bad Gateway

When entering the same URL into the browser on the same application server I get a Security Alert, user prompt and eventually the expected screen. So the service is running, but somhow I can not connect to it using the application.

Does anyone know how to solve this?

Thanks in advance

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
stephan.steiner Tue, 06/23/2009 - 06:10

Do you use any proxies (could be transparent, too)? Proxies can give you a lot of grief especially if you're not aware of them... .NET automatically uses your IE's proxy configuration.. there's no equivalent for other programming languages and browsers though. E.g. if you're using Java, you have to configure java to use the proxy (and provide credentials if required).

Mike-1985 Thu, 07/02/2009 - 02:19

It is an C#.NET Windows Service.

I have solved "the problem". The service was running with "local system account". That user did not had the right proxy rights to connect to the CUCM service.

So I changed the Windows Service user to the account that I use to login on that machine (with the right proxy rights) and now it is working ;-)

I figured this out because when I logged into that machine, with my account, I could connect to the CUCM service without any problems with my browser.


This Discussion