Hi, team.
We’re working with the Milestone XProtect 2023R2 Professional Plus system.
Our colleagues on the development team have set up an integration via WebAPI.
When requests to connect to the Mobile Server are sent from another system, a connection is established and requests to export video recordings are sent.
In some cases, we receive an error that looks like this: ERROR (fetch failed)
When connecting via software to Milestone Mobile Server
[MobileServerURL] + /XProtectMobile/Communication they are sent here, all to a single endpoint using the POST method
to this URL http://our-company-server:8081/XProtectMobile/Communication
Sometimes a connection error occurs—“fetch failed”
Here is the code for the connection program:
const res = await fetch( this.settings.MobileServerURL + this.settings.communicationChanel, {
method: ‘POST’,
headers: {
‘Content-Type’: ‘text/xml; charset=UTF-8’
},
body
});