New Blynk Server Release

Ok. I created the ticket. Will take a look when I have free time. For now updating to 0.28.0 is not required as there were no changes on apps.

1 Like

No rush as the previous version is running my projects fine.

1 Like

Mmm… Java 9… I Will try to update my Orange Pi, not sure about the proper procedure… :disappointed_relieved: … for sure a good challenge for me due to my lack of knowledge about Linux… Fingers crossed!

Warning!! Linux No0b alert :stuck_out_tongue:

Even after running sudo apt-get update then sudo apt-get install oracle-java9-jdk, I get this error:

gunner@AspireOne ~ $ sudo apt-get install oracle-java9-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package oracle-java9-jdk

I am running Linux Mint (Ubuntu 14.04.5 LTS)

There is no Java9 for the ARM (e.g. Raspi) so it’s useless to try and update :slight_smile:

Ok guys. I found an easy way to make builds for Java 8 and Java 9. So we will release 2 builds every time.

For java 8

server-0.28.0-java8.jar

For java 9

server-0.28.0.jar

9 Likes

You sir, are the best!!!

Ok Bro thanks you very much

Thanks @Dmitriy - I was wondering why I couldn’t install Java9 on my Rpi.

No need to bother, just use a dedicated java8 version.

1 Like

Because there is no ARM version yet released. Keep an eye out on the Oracle website for updates :slight_smile:

@Dmitriy
The Source Files is for which one(Java8 or 9)?

@s.d.engineering Both should work. You may specify java8 profile as default in main pom.xml. (Right now default env is Java 9) - https://github.com/blynkkk/blynk-server/blob/master/pom.xml#L68

1 Like

I recently updated to the latest Java 8 version, but it seems to crash after a few (aprox 6-8) hours…

I just have default logging and this is all that shows… any ideas? or do I need to change logging options?

21:20:04.340 ERROR- Unexpected error!!!
21:20:54.801 ERROR- Unexpected error!!!
21:21:58.025 ERROR- Handler class : class cc.blynk.server.application.handlers.main.auth.AppLoginHandler. Name : ALogin
21:21:58.026 ERROR- Handler class : class cc.blynk.server.hardware.handlers.hardware.HardwareHandler. Name : HHArdwareHandler
21:22:18.174 ERROR- Unexpected error!!!

Same issue here but only once and without the “ALogin” line

@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 …