You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the 2.6.1 rest client and I'm calling an API from Unity with it.
For a particular endpoint, for the very first time I'm calling it, it will be ok and the next calls too.
I then stop my application and re-run it and then, for an unknow reason, I will meet the following error
'Curl error 56: Receiving data failed with unitytls error code 1048578'
'Proyecto26.RequestException: Failed to receive data'
To be more precise about the repro steps.
Let's say I've got 2 website A & B with multiple endoints...
calling endpoint on A -->OK
calling another endpoint on A -->OK
calling auth endpoint on B->OK
// sequence of calls
calling some endpoint on B --> OK
....
calling some endpoint on B --> KO for some 500 errors...
while I meet an error during the "sequence of calls" I can rerun the app without be blocked at the auth phase.
Once all the calls are OK (and it should be), the next time I will run my app, the auth endpoint on B will be blocked with the curl error.... until I restart Unity.
Here is the auth call code.. but maybe the sequence is the problem... the weird thing is that only restarting Unity solves the problem... that supposes this is not due to some app persistence or memory allocation.
currentRequest = new RequestHelper
{
Uri = API3DVerseService.uriAPI + "authentication/login",
Body = new Account
{
username = this.username,
password = this.password
},
Headers = new Dictionary<string, string> {
{ "Content-Type", "application/json" },
{ "User-Agent", "MyApp" }
},
EnableDebug = true
};
return RestClient.Post<Login3DVerseResponse>(currentRequest);
What can explain that? I suppose something is wrong in the whole process. I'm not a C# expert.. if you could help me..
The text was updated successfully, but these errors were encountered:
Hi,
I'll try to explain my problem.
I'm using the 2.6.1 rest client and I'm calling an API from Unity with it.
For a particular endpoint, for the very first time I'm calling it, it will be ok and the next calls too.
I then stop my application and re-run it and then, for an unknow reason, I will meet the following error
To be more precise about the repro steps.
Let's say I've got 2 website A & B with multiple endoints...
// sequence of calls
while I meet an error during the "sequence of calls" I can rerun the app without be blocked at the auth phase.
Once all the calls are OK (and it should be), the next time I will run my app, the auth endpoint on B will be blocked with the curl error.... until I restart Unity.
Here is the auth call code.. but maybe the sequence is the problem... the weird thing is that only restarting Unity solves the problem... that supposes this is not due to some app persistence or memory allocation.
What can explain that? I suppose something is wrong in the whole process. I'm not a C# expert.. if you could help me..
The text was updated successfully, but these errors were encountered: