• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
We are proud to announce new Poly Studio Series video bars and remote room control with Poly Connect. Read more about the solutions!
HP Recommended

Hi

 

I am using following xml to get login to MCU through http post. Most of the time i am getting connection refuced by server message and sometime same xml works properly. Let me know what may be the problem.

 

Here is the XML i am posting

 

  <TRANS_MCU><!-- The root Is the transaction name. --><TRANS_COMMON_PARAMS> <MCU_TOKEN>0</MCU_TOKEN><MCU_USER_TOKEN>0</MCU_USER_TOKEN><MESSAGE_ID>1</MESSAGE_ID></TRANS_COMMON_PARAMS><!-- The next element Is the action (Login), And below it are the action's parameters, in this case, the Login parameters. --> <ACTION> <LOGIN><!-- The next parameters are the MCU IP And the port number. --><MCU_IP><IP>10.1.253.119</IP><LISTEN_PORT>80</LISTEN_PORT><HOST_NAME/></MCU_IP><!-- The user And password strings.--><USER_NAME>PMC</USER_NAME><PASSWORD>PMC</PASSWORD><STATION_NAME>EMA.F3-JUDITHS</STATION_NAME><COMPRESSION>false</COMPRESSION></LOGIN></ACTION></TRANS_MCU>

1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

Ok i solve the problem by disabling the proxy during post request

 

request.Proxy = Nothing

View solution in original post

4 REPLIES 4
HP Recommended

Hello vinodkotiya,

welcome to the Polycom Community.

It is always useful to include the currently used Software version as issues experienced may already be addressed in a newer release.

This also allows yourself and others to check against current software release notes.

Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

Polycom Global Services

------------------------------------------------
Notice: I am an HP Poly employee but all replies within the community are done as a volunteer outside of my day role. This community forum is not an official HP Poly support resource, thus responses from HP Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge.
If you need immediate and/or official assistance for former Poly\Plantronics\Polycom please open a service ticket through your support channels
For HP products please check HP Support.

Please also ensure you always check the General VoIP , Video Endpoint , UC Platform (Microsoft) , PSTN
HP Recommended

There is no software version. I am just posting this xml to Polycom MCU through javascript. Sometime Polycom MCU respond and most of the time refuse the connection.

HP Recommended

Ok i solve the problem by disabling the proxy during post request

 

request.Proxy = Nothing

HP Recommended

Hi

 

I'm using cURL via PHP 5 to login to the RMX server.  RMX 8.7.1.492.

 

When I use a HTTP client tool (Postman for Chrome) it works perfectly and I see the connection in the RMX manager for 15 seconds as expected.  

 

When I use cURL via PHP - I receive a token from the server and a response but the connection does not appear in RMX manager and I cannot use the token for the next request transaction as I get the response 'User not found'. 

 

I've tried the adding the header - Connection: Keep-Alive but to avail.

 

Please can someone advise whether this is a known problem?

 

$url = '10.200.13.51';
		  $ch = curl_init();
		  curl_setopt( $ch, CURLOPT_URL, $url );
		  curl_setopt( $ch, CURLOPT_POST, true );
		  curl_setopt( $ch, CURLOPT_HTTPHEADER, [
		  	'connection: keep-alive'
		  ]);
		  curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
		  curl_setopt( $ch, CURLOPT_POSTFIELDS, "<TRANS_MCU><TRANS_COMMON_PARAMS><MCU_TOKEN>0</MCU_TOKEN><MCU_USER_TOKEN>0</MCU_USER_TOKEN><MESSAGE_ID>234324</MESSAGE_ID></TRANS_COMMON_PARAMS><ACTION><LOGIN><MCU_IP><IP>10.200.13.51</IP><LISTEN_PORT>80</LISTEN_PORT><HOST_NAME/></MCU_IP><USER_NAME>API</USER_NAME><PASSWORD>******</PASSWORD><STATION_NAME>VPortal-App</STATION_NAME><COMPRESSION/></LOGIN></ACTION></TRANS_MCU>" );
 		  $result = curl_exec($ch);
 		  curl_close($ch);

 

Thanks,

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.