liblwip logs

mariuszb
Posts: 12
Joined: Tue Jun 16, 2015 2:51 pm

liblwip logs

Postby mariuszb » Wed Aug 12, 2015 4:52 am

Is there a possibility to have logs from the library liblwip ?? (SDK 1.3.0)

eriksl
Posts: 159
Joined: Fri May 22, 2015 6:22 pm

Re: liblwip logs

Postby eriksl » Wed Aug 12, 2015 2:44 pm

I don't think liblwip generates any logging. A well-designed library shouldn't be logging anyway.

mariuszb
Posts: 12
Joined: Tue Jun 16, 2015 2:51 pm

Re: liblwip logs

Postby mariuszb » Wed Aug 12, 2015 2:56 pm

too often I get the error: TCP connection error: -8 ( Connection aborted) , I would like to know why

eriksl
Posts: 159
Joined: Fri May 22, 2015 6:22 pm

Re: liblwip logs

Postby eriksl » Wed Aug 12, 2015 3:00 pm

That's probably not the library itself but the "espconn" "glue" that Espressif added.

It probably means the connection was refused; that "other site" (aka the "foreign host") sent a RST instead of a SYN+ACK in response to the SYN from the esp8266, which usually means it doesn't have an application listening on that port. Next step is the use of a network sniffer like tcpdump or wireshark.

mariuszb
Posts: 12
Joined: Tue Jun 16, 2015 2:51 pm

Re: liblwip logs

Postby mariuszb » Wed Aug 12, 2015 5:06 pm

Its not only may problem, and not problem of one server
I am using Sming framework btw. very nice work


It may sming, maybe some other reason, but to find solution logs would be welcome

eriksl
Posts: 159
Joined: Fri May 22, 2015 6:22 pm

Re: liblwip logs

Postby eriksl » Wed Aug 12, 2015 5:31 pm

It may also mean that the "other side" aborts a connection that already has been established, in a rude way by sending a RST instead of the normal polite way using FIN+ACK. Webservers seem to do that often. In that case it's actually not an error.

Who is online

Users browsing this forum: No registered users and 28 guests