I created IOS app. After expiration of token http client send request to backend, but it’s not receive any respose.
It’s my method for creating request:
private createRequest(method: RequestMethod, url: string, body?: any, options?: RequestOptionsArgs) : Promise<Request> {
return this.createDefaultHeaders().then(headers => {
console.log('Auth headers');
console.log(headers);
let baseOptions = new BaseRequestOptions();
baseOptions.method = method;
baseOptions.headers = headers;
baseOptions.body = body;
baseOptions.url = url;
return new Request(baseOptions.merge(options));
});
}
In console i find that:
CredStore - performQuery - Error copying matching creds. Error=-25300, query={
class = inet;
"m_Limit" = "m_LimitAll";
ptcl = htps;
"r_Attributes" = 1;
sdmn = "apps.medicalteam.com";
srvr = "apps.medicalteam.com";
sync = syna;
Ionic Info:
Ionic:
ionic (Ionic CLI) : 4.1.2
Ionic Framework : ionic-angular 3.7.1
@ionic/app-scripts : 2.1.4
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : ios 4.5.5
Cordova Plugins : no whitelisted plugins (20 plugins total)
System:
NodeJS : v8.12.0 (/usr/local/bin/node)
npm : 6.4.1
OS : macOS
Xcode : Xcode 10.0 Build version 10A255
How to resolve this problem?