Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

error:0D06B08E:asn1 encoding routines:ASN1_D2I_READ_BIO:not enough data while doing SSL_read

1,255 views
Skip to first unread message

handshak3

unread,
Oct 5, 2013, 3:13:47 PM10/5/13
to
Hi,

I am facing an intermittent issue while doing SSL_read on a non blocking socket.

Some times the SSL_read fails with following error:
error:0D06B08E:asn1 encoding routines:ASN1_D2I_READ_BIO:not enough data

I also ran ssldump and figured that the server is sending the data properly. Here is the last few lines in the ssldump:

42 51 1380959307.9872 (0.0001) S>CV3.1(2768) application_data
---------------------------------------------------------------
2733:0 11:3 649068864,21:3 6124902931923853573,2464:3
...
..
US,1:3,1:3,1:3,1:6,,---------------------------------------------------------------
42 52 1380959308.0236 (0.0363) C>SV3.1(32) Alert
level warning
value close_notify
42 1380959308.0236 (0.0000) C>S TCP RST


On top of it this happens when we a PKCS7 decrypt & verify in our code somewhere earlier during the execution. I am not sure if there is any link between this error on SSL_read and PKCS7 decrypt & verify

Any clue on what could be going wrong will be highly appreciated.

Thanks,
Rohit Bansal

handshak3

unread,
Oct 7, 2013, 2:38:57 PM10/7/13
to
Hello experts,

Any clue or pointers will be highly appreciated.

Regards,
Rohit Bansal

Ali Said

unread,
Dec 5, 2022, 4:27:44 AM12/5/22
to
Hi Rohit,

I am experiencing the same problem. How did you resolve it

I am getting error:

base64: invalid input
139933101430600:error:0D06B08E:asn1 encoding routines:ASN1_D2I_READ_BIO:not enough data:a_d2i_fp.c:251:


Thanks

Robert Rodriguez

unread,
Feb 12, 2023, 3:49:57 PM2/12/23
to
Pretty nice post. I just stumbled upon your weblog and wanted to say that I have really enjoyed browsing your blog posts. After all I’ll be subscribing to your feed and I hope you write again soon!
https://simpletax.ch/

Goku Zeus

unread,
Jun 18, 2023, 10:28:43 AM6/18/23
to
Our lease agreements have standard terms such as rent being due on the first of each month, with late fees applicable if payment is received after the third. https://themanagementpros.com/
0 new messages