Server:
Client:
Server logs:
New connection from 10.42.0.91:57596
Client logs:
Starting server...
Trying initial connection...
Initial connection succeeded!
Channel closed. Reconnecting...
Successfully connected to server!
{"data":"Failed to check Java version","type":"info"}
Listening on http://127.0.0.1:8080
Repo:
Repoducability:
Just comment out this part:
if BUILD_DOCKER_IMAGE {
docker::build_docker_image().await?;
}
if BUILD_DEPLOYMENT {
kubernetes::create_k8s_deployment(&client).await?;
}
and run both of them seprately (gameserver-rs at root and gameserver), and diffrent addresses on localhost (you might need to clone my repo), but i suspect that the issue can be determined by just reading the code
My issue:
So I am trying to make a gameserver, that, you would click create server, on axum, and it sends a post to receive_message, which is then de-serialized, the message is received from the JSON struct, sent through the tx channel, then whatever goes in the tx channel should go to the server, and logs indicate that writer is given the data, but it confuses me why the server isnt actually given the data, or it isnt being processed, but its definitely the former due to the fact it didnt log the message