Android Question Error:okhttp3.internal.http2.StreamResetException: stream was reset: HTTP_1_1_REQUIRED in webservice

netsistemas

Active Member
Licensed User
Longtime User
when i connect with a webservice, i recibe this error after jobdone:
Error:eek:khttp3.internal.http2.StreamResetException: stream was reset: HTTP_1_1_REQUIRED

In explorer show a message requesting a certificate.

there are any solution for this?

(i put HU2_ACCEPTALL in conditional simbol, but this is not solution for this)

1610725530957.png
 
Last edited:

drgottjr

Expert
Licensed User
Longtime User
okhttputils uses HTTP1.1 already ...

if the error appears "after jobdone", the job is done. you have
your payload. it appears the server has closed the socket
abruptly. you would have no control over what the server does.
such network issues do occur. if the socket is closed during the
download, that would be something serious. do you have the
payload or not?

it's hard to say exactly what kind of certificate you're looking at.
my guess: it was issued by the server to authenticate users.
you seem to have 2 such certificates. the server wants to know
who you are today. you might want to ask the website why
you have 2.
 
Upvote 0

netsistemas

Active Member
Licensed User
Longtime User
Thanks, you confirme my think. ( it appears the server has closed the socket
abruptly. )

i send the error to web admin.
i think that is no correct that this url asked me about my certificates.
if navegator show he message, your message make me think that is normal the error. The solution is not in my hands. I Wait to Wservice Admin.
All implementations are news, in b4x and .net and iis.
 
Upvote 0

drgottjr

Expert
Licensed User
Longtime User
ok, if you say so. but it's pretty clear to me that the FNMT issues certificados for users' access. let me know if you get it:)
 
Upvote 0
Top