Blynk local server not starting automatically on reboot on respberry pi3

hi,
i installed blynk local server in respberry pi 3, and i had two issues,

  1. i can log in/ create a new account and generate the auth code but unable to send via email.
  2. even after crontab -e
    @reboot java -jar /home/pi/server-0.33.4.jar -dataFolder /home/pi/Blynk &
    my blynk server not starting auto on reboot. every time i need to start server every time i rebooted.

log file as following…please help me out

06:29:54.275 INFO - anushaviswanathnehru@gmail.com Blynk-app (iOS-21800) joined.
06:29:54.316 ERROR- Error sending email auth token to user : anushaviswanathnehru@gmail.com. Error: Couldn't connect to host, port: smtp.gmail.com, 587; timeout 30000
06:54:41.675 INFO - Using data dir '/home/pi/Blynk'
06:54:43.868 INFO - Region : local. Host : 127.0.1.1.
06:54:45.367 INFO - Initializing gmail smtp mail transport. Username : anuviswanathnehru@gmail.com. SMTP host : smtp.gmail.com:587
06:54:45.450 INFO - Didn't find custom user certificates.
06:54:45.454 INFO - Didn't find Let's Encrypt certificates.
06:54:45.454 WARN - You didn't specified 'server.host' or 'contact.email' properties in server.properties file. Automatic certificate generation is turned off. Please specify above properties for automatic certificates retrieval.
06:54:45.455 WARN - ATTENTION. Server certificate paths (cert : '/home/pi/Blynk', key : '/home/pi/Blynk') not valid. Using embedded server certs and one way ssl. This is not secure. Please replace it with your own certs.
06:54:47.568 INFO - Hardware SSL server listening at 8441 port.
06:54:47.572 INFO - Application server listening at 8443 port.
06:54:47.575 INFO - HTTP API and WebSockets server listening at 8080 port.
06:54:47.577 INFO - HTTPS API, WebSockets and Admin page server listening at 9443 port.
06:54:47.579 INFO - Mqtt hardware server listening at 8440 port.
07:07:59.153 INFO - Using data dir '/home/pi/Blynk'
07:08:01.230 INFO - Region : local. Host : 127.0.1.1.
07:08:02.757 INFO - Initializing gmail smtp mail transport. Username : anuviswanathnehru@gmail.com. SMTP host : smtp.gmail.com:587
07:08:02.840 INFO - Didn't find custom user certificates.
07:08:02.845 INFO - Didn't find Let's Encrypt certificates.
07:08:02.845 WARN - You didn't specified 'server.host' or 'contact.email' properties in server.properties file. Automatic certificate generation is turned off. Please specify above properties for automatic certificates retrieval.
07:08:02.845 WARN - ATTENTION. Server certificate paths (cert : '/home/pi/Blynk', key : '/home/pi/Blynk') not valid. Using embedded server certs and one way ssl. This is not secure. Please replace it with your own certs.
07:08:04.281 INFO - Hardware SSL server listening at 8441 port.
07:08:04.285 INFO - Application server listening at 8443 port.
07:08:04.287 INFO - HTTP API and WebSockets server listening at 8080 port.
07:08:04.289 INFO - HTTPS API, WebSockets and Admin page server listening at 9443 port.
07:08:04.291 INFO - Mqtt hardware server listening at 8440 port.
07:08:47.728 INFO - anushaviswanathnehru@gmail.com Blynk-app (iOS-21800) joined.
07:31:53.033 INFO - Using data dir '/home/pi/Blynk'
07:31:54.936 INFO - Region : local. Host : 127.0.1.1.
07:31:56.235 INFO - Initializing gmail smtp mail transport. Username : anuviswanathnehru@gmail.com. SMTP host : smtp.gmail.com:587
07:31:56.318 INFO - Didn't find custom user certificates.
07:31:56.323 INFO - Didn't find Let's Encrypt certificates.
07:31:56.323 WARN - You didn't specified 'server.host' or 'contact.email' properties in server.properties file. Automatic certificate generation is turned off. Please specify above properties for automatic certificates retrieval.
07:31:56.324 WARN - ATTENTION. Server certificate paths (cert : '/home/pi/Blynk', key : '/home/pi/Blynk') not valid. Using embedded server certs and one way ssl. This is not secure. Please replace it with your own certs.
07:31:57.746 INFO - Hardware SSL server listening at 8441 port.
07:31:57.751 INFO - Application server listening at 8443 port

hi problem solved. now both email and auto start of server on boot working fine.
its my mistake… mail credentials error and in command missing java8 for auto start

A post was split to a new topic: Am trying my Pi 3 to make auto start for blynk server