Exception while adding Orchestrator queue using XMLHttpRequest script

Hi All,

Getting below exception when i try to add a orchestrator queue using XMLHttpRequest script.

SCRIPT7002: XMLHttpRequest: Network Error 0x2ee4, Could not complete the operation due to error 00002ee4.

Below is the query i am using for adding queue item in orchestrator

xhr.open("POST", "https://XX.XX.XX.XX/odata/Queues/UiPathODataSvc.AddQueueItem");

It’s working with hostname, but not working with IP address. I want to use ip instead of hostname, because of dns issue facing in production environment.

xhr.open("POST", "https://Hostname/odata/Queues/UiPathODataSvc.AddQueueItem");

  • Working

xhr.open("POST", "https://XX.XX.XX.XX/odata/Queues/UiPathODataSvc.AddQueueItem");

  • Not working and getting ‘XMLHttpRequest: Network Error 0x2ee4’ exception

Can you please suggest any solution to use ip address for adding orchestrator queue item?

Thanks in advance.


Hi @bhavana

It might be a certificate problem for your IP address, see here:

Thank you for response.