Comments (14)
Hello,
From the debug output it seems that the connecion is correctly established (you receive the POST request). Also, you have the content-length set, but the actual content is missing. I think the problem is in the http server (the example is a simple less-than-minimal webserver). Maybe check if you received the full request before sending 404? If you test it from a web browser, what response do you get?
from tlse.
Hello,
From the debug output it seems that the connecion is correctly established (you receive the POST request). Also, you have the content-length set, but the actual content is missing. I think the problem is in the http server (the example is a simple less-than-minimal webserver). Maybe check if you received the full request before sending 404? If you test it from a web browser, what response do you get?
the result from browser is 404, and its work perfectly, but, on growtopia, it wont respond, i dont know why
from tlse.
is it problem on cipher? or the msg
header?
from tlse.
okay, so when i try to check the cipher using Node JS
and the result is this
Is it possible to change the cipher in TLSe?
from tlse.
Hello,
From the debug output it seems that the connecion is correctly established (you receive the POST request). Also, you have the content-length set, but the actual content is missing. I think the problem is in the http server (the example is a simple less-than-minimal webserver). Maybe check if you received the full request before sending 404? If you test it from a web browser, what response do you get?
btw, on browser is work
from tlse.
hmmmm... when i try to check the Server Hello
Length, its different
and the length between TLSe and Node JS (HTTPS Server) is different
is it okay or not?
from tlse.
Yes, it is perfectly fine. The difference is from the extension list (one is 23 bytes longer than the other). Most tls extensions are not mandatory, so no problem there.
from tlse.
Yes, it is perfectly fine. The difference is from the extension list (one is 23 bytes longer than the other). Most tls extensions are not mandatory, so no problem there.
ohh, is it possible to add that? so, i want to make the length byte same like node js
from tlse.
It is a little more complex than that. “Advertising” an extension implies support for it. The “renegotiation” extension is not required for a TLS connection. Also, keep in mind that the TLS layer is just fine, as shown in your first comment. The plain text data is fine. If you have had a problem with the TLS data and/or negotiation, you wouldn’t be able to see the plain text data (the POST data). Try to ensure that you read the whole data and your entire data is written before the socket is closed. I personally think that this is the problem. Keep in mind that the examples are not fully functional web servers (you need to write one or to use one).
As an experiment, add a sleep of about 1 second before closing the socket. Also, check the result of send/write APIs.
APPLICATION DATA MESSAGE (TLS VERSION: 303):
POST /growtopia/server_data.php HTTP/1.1
Host: www.growtopia1.com
User-Agent: UbiServices_SDK_2019.Release.27_PC64_unicode_static
Accept: /
Content-Type: application/x-www-form-urlencoded
Content-Length: 36
This means that your TLS negotiation and data layer are fine.
from tlse.
It is a little more complex than that. “Advertising” an extension implies support for it. The “renegotiation” extension is not required for a TLS connection. Also, keep in mind that the TLS layer is just fine, as shown in your first comment. The plain text data is fine. If you have had a problem with the TLS data and/or negotiation, you wouldn’t be able to see the plain text data (the POST data). Try to ensure that you read the whole data and your entire data is written before the socket is closed. I personally think that this is the problem. Keep in mind that the examples are not fully functional web servers (you need to write one or to use one).
As an experiment, add a sleep of about 1 second before closing the socket. Also, check the result of send/write APIs.
APPLICATION DATA MESSAGE (TLS VERSION: 303): POST /growtopia/server_data.php HTTP/1.1 Host: www.growtopia1.com User-Agent: UbiServices_SDK_2019.Release.27_PC64_unicode_static Accept: / Content-Type: application/x-www-form-urlencoded Content-Length: 36
This means that your TLS negotiation and data layer are fine.
i just add the sleep(1); before close the socket, its still doesnt work.
maybe i want to try to modify http library, like sandbird
from tlse.
I am using win32-c-http but, the growtopia still wont respond, i dont know why
from tlse.
I am using win32-c-http but, the growtopia still wont respond, i dont know why
even i add the Sleep(1000);
code
from tlse.
Oh finally, its fixed, so, you right, i must add the Sleep()
code, and make it to 0.5
from tlse.
Solved, thanks @eduardsui
from tlse.
Related Issues (20)
- certificate_verify() is not called when using a TSL 1.3 client HOT 1
- Connect (to wikipedia) with V13 succeeds, but cannot read data. V12 works HOT 4
- Failure to connect to SMTP server with STARTTLS HOT 1
- Failure to notice incorrect handshake on SSL_connect
- TLS 1.3 server incompatible with openssl
- LTC_ARGCHK 'b != NULL' HOT 3
- Support for latest libtomcrypt HOT 5
- SSL_read function strange behavior vs openssl's SSL_read HOT 1
- Merge into tomcrypt HOT 2
- what is "for semantic compatibility" means? HOT 1
- Examples expects testcert folder. HOT 1
- HTTPS Server wont respond when using ECDHE-RSA-AES256GCM-SHA384 cipher HOT 1
- Async sockets. HOT 5
- Tomcrypt version HOT 2
- Is its possible to make HTTPS Proxy using TLSe? HOT 3
- A website using Cloudflare is giving me 403 when using test client code, but works with Chrome, why? HOT 5
- TLSE fails to contact Cloudflare server, where curl works fine, I eliminated every cause I could think of HOT 8
- How do i set TLSe Client Cipher? HOT 2
- TLS 1.3: Early data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tlse.