Skip to content

Http_client cannot retrieve a file from the Http_server #530

@SonProCode

Description

@SonProCode

Hello, I am facing an issue with deploying both the http_client and http_server on the same VM. Currently, I want to implement a client-server model where the client can retrieve a file from the server. Below are the commands I am using:

./bin/http_server -c hust-cv-thson-20210744-web-app.id.vn,fullchain.pem,privkey.pem -s 0.0.0.0:5443 -W -o base_plpmtu=65535 -r /home/sontran/testquic/ -L debug 2>server_log.txt

./bin/http_client -p /home/sontran/testquic/endgame.txt -H hust-cv-thson-20210744-web-app.id.vn -s 127.0.0.1:5443 -L debug 2>client_log.txt

I am using these two commands, but the http_client is not printing the result for the endgame.txt file. I have attached the debug logs from both the server and the client in this post. According to the server’s log, I see the following error:

10:39:58.091 [DEBUG] [QUIC:378E1F2D339D215E] mini-conn: cannot send packet 1 of size 65381: client address has not been validated

When I use Wireshark to capture packets, I see the error in the image below:

Image

Image

I’m not sure if the errors I’ve pointed out are causing the client to not receive the file, or if there could be another underlying issue.

I would appreciate it if you could help clarify.

Here are my server log and client log:
server_log.txt
client_log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions