New Blynk Server Release

@Gunner please take latest server version 0.28.1. Do you see the same? Also, yes DEBUG level may help find a reason.

OK, system had crashed again last night… so I just updated to 0.28.1 and DEBUG level… will see how it goes.

1 Like

Well, it seemed to last about 11 hours this time… however I have no idea what the debug logging says about the issue.

It is apparently too long to post here in its entirety so this was the only clear error message I could see:

12:39:12.751 ERROR- Error reading reporting data. For user XXXXXXXX@gmail.com. Error: null

And this was from the last few hours of the Blynk log:

21:11:28.418 DEBUG- Re registering hard channel. [id: 0xd9ca9a77, L:/10.10.3.50:8442 - R:/10.10.3.45:11241]
21:11:28.434 DEBUG- completeLogin. [id: 0xd9ca9a77, L:/10.10.3.50:8442 - R:/10.10.3.45:11241]
21:11:28.438 INFO - XXXXXXXX@gmail.com hardware joined.
21:11:28.459 DEBUG- Returning devices : [{"id":0,"name":"Wemos D1 Mini Pro","boardType":"WeMos D1 mini","token":"2a54f40f73134ace892436d7264e8467","connectionType":"WI_FI","status":"ONLINE","disconnectTime":1507166344893,"lastLoggedIP":"10.10.3.45","hardwareInfo":{"version":"0.4.8","boardType":"Arduino","build":"Sep 30 2017 17:55:33","heartbeatInterval":10}}]
21:11:28.476 DEBUG- Returning devices : [{"id":0,"name":"Wemos D1 Mini Pro","boardType":"WeMos D1 mini","token":"2a54f40f73134ace892436d7264e8467","connectionType":"WI_FI","status":"ONLINE","disconnectTime":1507166344893,"lastLoggedIP":"10.10.3.45","hardwareInfo":{"version":"0.4.8","boardType":"Arduino","build":"Sep 30 2017 17:55:33","heartbeatInterval":10}}]
21:11:28.507 DEBUG- Changing read timeout interval to 23
21:48:50.491 DEBUG- [id: 0xe0dd125d, L:/10.10.3.50:8443 - R:/209.126.136.4:48660] HANDSHAKEN: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
21:48:57.358 DEBUG- Discarded inbound message PooledUnsafeDirectByteBuf(ridx: 0, widx: 195, cap: 195) that reached at the tail of the pipeline. Please check your pipeline configuration.
22:50:10.449 DEBUG- [id: 0xae7de92d, L:/10.10.3.50:8443 - R:/10.10.3.10:25527] HANDSHAKEN: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
22:50:10.467 DEBUG- Re registering app channel. [id: 0xae7de92d, L:/10.10.3.50:8443 - R:/10.10.3.10:25527]
22:50:10.481 INFO - XXXXXXXX@gmail.com Blynk-app joined.
23:04:58.866 DEBUG- [id: 0x680ec817, L:/10.10.3.50:8443 - R:/10.10.3.22:37269] HANDSHAKEN: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
23:04:58.958 INFO - XXXXXXXX@gmail.com Blynk-app joined.
23:05:13.877 DEBUG- [id: 0xf5f74f05, L:/10.10.3.50:8443 - R:/10.10.3.10:25569] HANDSHAKEN: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
23:05:13.887 DEBUG- Re registering app channel. [id: 0xf5f74f05, L:/10.10.3.50:8443 - R:/10.10.3.10:25569]
23:05:13.913 INFO - XXXXXXXX@gmail.com Blynk-app joined.
23:05:35.458 DEBUG- Discarded inbound message PooledUnsafeDirectByteBuf(ridx: 0, widx: 2, cap: 2) that reached at the tail of the pipeline. Please check your pipeline configuration.
23:05:35.469 DEBUG- completeLogin. [id: 0x68b388df, L:/10.10.3.50:8442 - R:/10.10.3.42:28556]
23:05:35.474 INFO - XXXXXXXX@gmail.com hardware joined.
23:05:35.477 DEBUG- Returning devices : [{"id":0,"name":"Wemos ESP32","boardType":"ESP32 Dev Board","token":"6335b1ad51174950b8e586c699fee82a","connectionType":"WI_FI","status":"ONLINE","disconnectTime":1507356335454,"lastLoggedIP":"10.10.3.42","hardwareInfo":{"version":"0.4.8","boardType":"Arduino","build":"Sep 30 2017 17:47:16","heartbeatInterval":40}}]
23:05:35.493 DEBUG- Returning devices : [{"id":0,"name":"Wemos ESP32","boardType":"ESP32 Dev Board","token":"6335b1ad51174950b8e586c699fee82a","connectionType":"WI_FI","status":"ONLINE","disconnectTime":1507356335454,"lastLoggedIP":"10.10.3.42","hardwareInfo":{"version":"0.4.8","boardType":"Arduino","build":"Sep 30 2017 17:47:16","heartbeatInterval":40}}]
23:05:35.507 DEBUG- Returning devices : [{"id":0,"name":"Wemos ESP32","boardType":"ESP32 Dev Board","token":"6335b1ad51174950b8e586c699fee82a","connectionType":"WI_FI","status":"ONLINE","disconnectTime":1507356335454,"lastLoggedIP":"10.10.3.42","hardwareInfo":{"version":"0.4.8","boardType":"Arduino","build":"Sep 30 2017 17:47:16","heartbeatInterval":40}}]
23:05:35.513 DEBUG- Returning devices : [{"id":0,"name":"Wemos ESP32","boardType":"ESP32 Dev Board","token":"6335b1ad51174950b8e586c699fee82a","connectionType":"WI_FI","status":"ONLINE","disconnectTime":1507356335454,"lastLoggedIP":"10.10.3.42","hardwareInfo":{"version":"0.4.8","boardType":"Arduino","build":"Sep 30 2017 17:47:16","heartbeatInterval":40}}]
23:05:35.521 DEBUG- Changing read timeout interval to 92
23:06:03.417 DEBUG- Discarded inbound message PooledUnsafeDirectByteBuf(ridx: 0, widx: 4, cap: 4) that reached at the tail of the pipeline. Please check your pipeline configuration.
23:06:08.433 DEBUG- [id: 0x98eafd85, L:/10.10.3.50:8443 - R:/10.10.3.10:25572] HANDSHAKEN: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
23:06:08.451 DEBUG- Re registering app channel. [id: 0x98eafd85, L:/10.10.3.50:8443 - R:/10.10.3.10:25572]
23:06:12.331 DEBUG- Returning devices : [{"id":0,"name":"Mega","boardType":"Arduino Mega","token":"d1e516ca1d8b4d57a172dac786907a90","connectionType":"WI_FI","status":"OFFLINE","disconnectTime":1507356363415,"lastLoggedIP":"10.10.3.41","hardwareInfo":{"version":"0.4.8","boardType":"Arduino Mega","cpuType":"ATmega2560","connectionType":"ESP8266","build":"Oct  4 2017 01:38:03","heartbeatInterval":20}}]
23:06:12.334 INFO - XXXXXXXX@gmail.com Blynk-app joined.
23:06:44.430 DEBUG- [id: 0xac0c3cfd, L:/10.10.3.50:8443 - R:/10.10.3.22:40373] HANDSHAKEN: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
23:06:44.484 INFO - XXXXXXXX@gmail.com Blynk-app joined.
23:06:48.824 DEBUG- completeLogin. [id: 0x23e71139, L:/10.10.3.50:8442 - R:/10.10.3.41:41962]
23:06:48.834 INFO - XXXXXXXX@gmail.com hardware joined.
23:06:48.868 DEBUG- [id: 0x28e0140d, L:/10.10.3.50:8443 - R:/10.10.3.10:25575] HANDSHAKEN: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
23:06:48.878 DEBUG- Re registering app channel. [id: 0x28e0140d, L:/10.10.3.50:8443 - R:/10.10.3.10:25575]
23:06:52.969 INFO - XXXXXXXX@gmail.com Blynk-app joined.
23:06:57.907 DEBUG- Returning devices : [{"id":0,"name":"Mega","boardType":"Arduino Mega","token":"d1e516ca1d8b4d57a172dac786907a90","connectionType":"WI_FI","status":"OFFLINE","disconnectTime":1507356412970,"lastLoggedIP":"10.10.3.41","hardwareInfo":{"version":"0.4.8","boardType":"Arduino Mega","cpuType":"ATmega2560","connectionType":"ESP8266","build":"Oct  4 2017 01:38:03","heartbeatInterval":20}}]
23:06:57.912 DEBUG- Returning devices : [{"id":0,"name":"Mega","boardType":"Arduino Mega","token":"d1e516ca1d8b4d57a172dac786907a90","connectionType":"WI_FI","status":"OFFLINE","disconnectTime":1507356412970,"lastLoggedIP":"10.10.3.41","hardwareInfo":{"version":"0.4.8","boardType":"Arduino Mega","cpuType":"ATmega2560","connectionType":"ESP8266","build":"Oct  4 2017 01:38:03","heartbeatInterval":20}}]
23:07:06.215 DEBUG- Returning devices : [{"id":0,"name":"Mega","boardType":"Arduino Mega","token":"d1e516ca1d8b4d57a172dac786907a90","connectionType":"WI_FI","status":"OFFLINE","disconnectTime":1507356412970,"lastLoggedIP":"10.10.3.41","hardwareInfo":{"version":"0.4.8","boardType":"Arduino Mega","cpuType":"ATmega2560","connectionType":"ESP8266","build":"Oct  4 2017 01:38:03","heartbeatInterval":20}}]
23:07:33.807 DEBUG- [id: 0x8b466500, L:/10.10.3.50:8443 - R:/10.10.3.22:47177] HANDSHAKEN: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
23:07:33.843 DEBUG- Re registering app channel. [id: 0x8b466500, L:/10.10.3.50:8443 - R:/10.10.3.22:47177]
23:07:33.991 INFO - XXXXXXXX@gmail.com Blynk-app joined.
23:07:34.007 DEBUG- completeLogin. [id: 0x03148e7b, L:/10.10.3.50:8442 - R:/10.10.3.41:45564]
23:07:34.011 INFO - XXXXXXXX@gmail.com hardware joined.
23:07:38.062 DEBUG- Returning devices : [{"id":0,"name":"Mega","boardType":"Arduino Mega","token":"d1e516ca1d8b4d57a172dac786907a90","connectionType":"WI_FI","status":"OFFLINE","disconnectTime":1507356454014,"lastLoggedIP":"10.10.3.41","hardwareInfo":{"version":"0.4.8","boardType":"Arduino Mega","cpuType":"ATmega2560","connectionType":"ESP8266","build":"Oct  4 2017 01:38:03","heartbeatInterval":20}}]
23:07:38.072 DEBUG- Returning devices : [{"id":0,"name":"Mega","boardType":"Arduino Mega","token":"d1e516ca1d8b4d57a172dac786907a90","connectionType":"WI_FI","status":"OFFLINE","disconnectTime":1507356454014,"lastLoggedIP":"10.10.3.41","hardwareInfo":{"version":"0.4.8","boardType":"Arduino Mega","cpuType":"ATmega2560","connectionType":"ESP8266","build":"Oct  4 2017 01:38:03","heartbeatInterval":20}}]
23:07:46.458 DEBUG- [id: 0x5fe21de1, L:/10.10.3.50:8443 - R:/10.10.3.10:25577] HANDSHAKEN: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
23:07:46.468 DEBUG- Re registering app channel. [id: 0x5fe21de1, L:/10.10.3.50:8443 - R:/10.10.3.10:25577]
23:07:46.589 INFO - XXXXXXXX@gmail.com Blynk-app joined.
23:08:25.162 DEBUG- [id: 0x09b4f32f, L:/10.10.3.50:8443 - R:/10.10.3.22:49126] HANDSHAKEN: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
23:08:25.242 DEBUG- completeLogin. [id: 0x8c0516da, L:/10.10.3.50:8442 - R:/10.10.3.41:48025]
23:08:25.246 INFO - XXXXXXXX@gmail.com hardware joined.
23:08:25.254 DEBUG- Re registering app channel. [id: 0x09b4f32f, L:/10.10.3.50:8443 - R:/10.10.3.22:49126]
23:08:33.651 INFO - XXXXXXXX@gmail.com Blynk-app joined.
23:08:51.462 DEBUG- Re registering hard channel. [id: 0x8014aa97, L:/10.10.3.50:8442 - R:/10.10.3.41:7107]
23:08:51.595 DEBUG- Returning devices : [{"id":0,"name":"Mega","boardType":"Arduino Mega","token":"d1e516ca1d8b4d57a172dac786907a90","connectionType":"WI_FI","status":"OFFLINE","disconnectTime":1507356513654,"lastLoggedIP":"10.10.3.41","hardwareInfo":{"version":"0.4.8","boardType":"Arduino Mega","cpuType":"ATmega2560","connectionType":"ESP8266","build":"Oct  4 2017 01:38:03","heartbeatInterval":20}}]
23:08:51.598 DEBUG- completeLogin. [id: 0x8014aa97, L:/10.10.3.50:8442 - R:/10.10.3.41:7107]
23:08:51.601 INFO - XXXXXXXX@gmail.com hardware joined.
23:09:03.773 DEBUG- [id: 0x00d30ac1, L:/10.10.3.50:8443 - R:/10.10.3.10:25579] HANDSHAKEN: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
23:09:12.253 INFO - XXXXXXXX@gmail.com Blynk-app joined.
23:09:20.360 DEBUG- [id: 0xda5e54bc, L:/10.10.3.50:8443 - R:/10.10.3.22:33019] HANDSHAKEN: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
23:09:28.874 DEBUG- Re registering hard channel. [id: 0xef1184c1, L:/10.10.3.50:8442 - R:/10.10.3.41:33027]
23:09:28.896 DEBUG- completeLogin. [id: 0xef1184c1, L:/10.10.3.50:8442 - R:/10.10.3.41:33027]
23:09:28.898 INFO - XXXXXXXX@gmail.com hardware joined.
23:09:37.836 INFO - XXXXXXXX@gmail.com Blynk-app joined.
23:10:34.426 DEBUG- [id: 0xbeaa2a0e, L:/10.10.3.50:8443 - R:/10.10.3.22:57024] HANDSHAKEN: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
23:10:39.167 DEBUG- Re registering app channel. [id: 0xbeaa2a0e, L:/10.10.3.50:8443 - R:/10.10.3.22:57024]
23:10:51.391 DEBUG- Re registering hard channel. [id: 0xd6a98d42, L:/10.10.3.50:8442 - R:/10.10.3.41:44978]
23:12:12.543 DEBUG- Re registering hard channel. [id: 0x459c824f, L:/10.10.3.50:8442 - R:/10.10.3.41:24682]
23:13:43.585 DEBUG- Re registering hard channel. [id: 0x17fd1a23, L:/10.10.3.50:8442 - R:/10.10.3.41:5963]
23:15:04.397 DEBUG- Re registering hard channel. [id: 0x06d576ca, L:/10.10.3.50:8442 - R:/10.10.3.41:49917]

@Gunner could you please check with this build - https://github.com/blynkkk/blynk-server/releases/download/v0.28.1/server-0.28.2-SNAPSHOT-java8.jar and send me full log to my email?

I am a beginner and I ask for help:
I installed the latest version of the server on a Raspberry following the instructions. From the terminal I get this error:

pi@raspberrypi:~/Blynk $ java -jar server-0.28.1.jar -dataFolder /home/pi/Blynk
Java HotSpot(TM) Client VM warning: You have loaded library /tmp/libnetty_tcnative5958483406063671453.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.

Despite this error, it seems to me that the server works …

@Franchelli I have noticed the same error using server 0.28.2-SNAPSHOT (Java8 version)… I have Googled it, but I don’t understand the results :blush:

I am still trying to determine if it is related to my server seemingly hogging CPU and apparently running out of memory (even though the server hardware still has roughly 1/3 availed) then basically becoming unresponsive… usually within 8-12 hours.

You can run the command top on your RPI and it will show you what is running and the resources it is using… I use it to monitor my server right now, while I work with @Dmitriy (OK, I just dump a lot of stuff his way and await his enlightenment :stuck_out_tongue: ) to determine if the issue is something on my end or an issue with the latest java8 version of Blynk server.

Of course, this error may have absolutely nothing to do with my issue… or even be a problem… time will tell.

Let us know if your server seems to slow down until it stops working all together.

@Franchelli please try latest server version 0.28.2

And let know if the warning is gone.

@Dmitriy does the server to server cloning fix also require an update to the app or should it work just with version 0.28.2 of the server?

Yes. App update is also required.

perfect, now does not return any error.
Thank you

1 Like

@Gunner,
Are you still facing issues with the new release? At the moment mine stopped working once since I updated to v0.28.2 and I’m wondering if this is related my operating system or the Local Server itself… Not at home now to check the log file.

Update:
I have checked the log file:

“Unexpected error! Handler class : class cc.blynk.server.application.handlers.main.AppHandler. Name : AApphandler. Reason : Java heap space”

No idea about the meaning…

@Dmitriy, could you please help here? Is this related my operating system or Blynk??

If this is related my operating system any help will be appreciated!!

Thanks in advance

@psoro While it may not have been the only thing wrong?.. In my case, I apparently had DB enabled in server.properties, but had never installed PostgreSQL. So I would get that long list of errors at startup and after about 10-12 hours server would grind to a halt.

I don’t really need DB, so I have disabled in in server.properties and will see how long it goes (last test that way was great after 24 hours).

Hi @Gunner, many thanks for this tip, I have also DB enabled in server.properties, I have disabled it and restarted the server…let’s see what happens.
Thanks again!!

@Gunner, you the man!
2 days up running without issues, thanks again!

1 Like

It was all @Dmitriy… I just dumped logs and screenshots at him untill he said Uncle (another idiom :slight_smile: ) and he came up with the suggestion.

1 Like

@psoro @Gunner did possible fix https://github.com/blynkkk/blynk-server/issues/764

2 Likes

@Dmitriy

i do this with this command:

mvn clean install -Dmaven.test.skip=true

Do you mean i must to config pom files for build server with Java8?(jave must to updated to the latest or just any version of java8 i.e jdk 8u131) if i should to config the pom file so how can i do it?

Is that latest code from github? Could you please attach all log?


I think you have outdated source code. As this error was fixed many days ago.