Skip to main content



      Home
Home » Eclipse Projects » Paho » AWS publish problem(When I publish a message I got close connection form server)
AWS publish problem [message #1840902] Wed, 28 April 2021 09:13 Go to next message
Eclipse UserFriend
Hi,
I use Paho C library version:
#define BUILD_TIMESTAMP "2021-01-19T11:55:46Z"
#define CLIENT_VERSION "1.3.8"

I have this strange problem only with AWS (Azure and other Brokers works fine):
I successfully connect to a AWs broker server
I successfully subscribe on a topic
I successfully receive data from the subscribe
but when i publish a message I got
r c = SOCKET_ERROR; /* The return value from recv is 0 when the peer has performed an orderly shutdown. */
into the SSLSocket_getch(SSL* ssl, int socket, char* c)
Any Idea
Thanks
Re: AWS publish problem [message #1841719 is a reply to message #1840902] Wed, 26 May 2021 10:07 Go to previous message
Eclipse UserFriend
About a month and no reply.
I venture to say that you will not get one unless you post your code for minimal reproduction.
It could be too many reasons.
Since you have a working subscribe, it should be trivial to deduce what you are doing wrong.
With a working example, eg. https://mqttlab.iotsim.io/aws , it should not take more than
15 minutes to solve.
Previous Topic:Paho connection/disconnection freezing
Next Topic:Large MQTT Payload publish and Subscribe
Goto Forum:
  


Current Time: Sat Jun 14 14:07:02 EDT 2025

Powered by FUDForum. Page generated in 0.05965 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top