This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

HTTP send errno -1163019603

Dear Community;

I am using this code provided by a Nordic engineer to make some HTTP request in order to use Telegram Bot API. It works fine but after 1-2 days working I am getting an error at this part of the code: 

int num_bytes = send(client_fd, send_buf, send_data_len, 0);
if (num_bytes < 0) {
	printk("send errno: %d\n", errno);
	goto clean_up;
}

This is the error: "send errno: -1163019603"

The problem is that after first time this happens never recovers its normal functionality.

What is causing this error? How can be solved?

Any idea or suggestion is welcomed. Thanks.

Parents Reply Children
  • Hi;

    My program checks if the Telegram Bot has any receiving message. If so, the program replies to that message and then disconnects LTE connection. It repeats the process over and over again. So it does not send a lot of messages,  but it is checking every minute if it has messages. The process is:

    1.-Establish LTE connection. (modem_configure())

    2.-Check for messages.

        2.1.-Reply for messages

    3.-Disconnect LTE. (lte_lc_offline())

    4.-Sleep 1 minute.

    It would be nice to know that does "-1163019603" errno mean.

    I have also reflashed lastest modem firmware but nothing changed.

    I have also try to make an HTTP request for IFTTT service and works fine.

    Thanks.

  • I don't know what that error code means, but  -1163019603 in hex is  FFFF FFFF BAAD BAAD‬ which looks like a generic error message.

Related