XMLHttpRequest error in progress.session.js login method aft

Posted by mihai_neagoe on 24-Apr-2017 01:59

Hi,

The client updated his browser to latest chrome version (58.0.3029) and after this the login page and all other client requests do not work anymore. We do a connection to a OpenEdge mobile service from the browser to get the default user location.

We receive a DOMException

The code is the following:

<script src="scripts/progress.js"></script>
<script src="scripts/progress.session.js"></script>

<script type="text/javascript">
var sessionSetContext = new progress.data.Session();
sessionSetContext.login(mobile_service, "", "");
sessionSetContext.addCatalog(mobile_service + "/static/mobile/ExtraUserService.json");

function OnLeaveUserField (){
var usrId = document.getElementById("loginName").value;
var userloadjsdo = new progress.data.JSDO({ name: 'SIUser' });
userloadjsdo.subscribe('afterInvoke', 'GetLocationId', onAfterFillLocation);
userloadjsdo.GetLocationId({PersonId:usrId});
}

function onAfterFillLocation(jsdo, success, request){
document.getElementById("location").value = request.response.LocationId;
}

</script>

The error is directly at sessionSetContext.login.

Do you have any ideas on this?

Thank you,

Mihai

All Replies

Posted by mihai_neagoe on 25-Apr-2017 08:24

Issue with certificate on client side. Updated certificate and the problem is solved.

This thread is closed