cloudflare / quiche

🥧 Savoury implementation of the QUIC transport protocol and HTTP/3
https://docs.quic.tech/quiche/
BSD 2-Clause "Simplified" License
9.4k stars 709 forks source link

quiche_conn_send results -10 error #1597

Open arjune123 opened 1 year ago

arjune123 commented 1 year ago

Hi, I am trying to use the c++ api of quiche for a plugin that I am writing in unreal engine. For testing purpose, I have written a simple client code which sends a string to a quic-go echo server. The result I get from quiche_conn_send() is a -10 error. I haven't yet passed it to a socket yet because I believe that this function generates a quic packet which can then be passed to the socket but it fails here.

I referenced issues #488 and #467 but I believe my case is different.

I have the updated boringSSL (since its pulled by quiche as a submodule).

medcelerate commented 1 year ago

We are also experiencing a similar issue in a similar situation as well. Unsure where exactly the root cause of the issue on windows at the moment.

arjune123 commented 7 months ago

I took a break from this project and have picked it up again recently. I was able to get past the -10 error by correcting the ALPNs. However I am still unable to ensure a handshake between the client and the server. I have posted the entire description along with the code on stackoverflow (https://stackoverflow.com/questions/78191225/troubleshooting-unreal-engine-integration-with-quiche-library-for-quic-client-de)

I am still new to quiche and unreal engine and have been struggling with this for a while now. Any help is highly appreciated.