Though the Blynk (local) server starts and seems to be running AOK, the log contains these messages at startup. How to interpret/remediate?
ERROR - Error parsing file ‘/home/pi/Blynk/mail.properties’. Error : Unrecognized token ‘mail’: was expecting (‘true’, ‘false’ or ‘null’)
at [Source: /home/pi/Blynk/mail.properties; line: 1, column: 6]
ERROR - Error parsing file ‘/home/pi/Blynk/server.properties’. Error : Unexpected character (‘#’ (code 35)): expected a valid value (number, String, array, object, ‘true’, ‘false’ or ‘null’)
at [Source: /home/pi/Blynk/server.properties; line: 1, column: 2]
ERROR - Error parsing file ‘/home/pi/Blynk/db.properties’. Error : Unrecognized token ‘jdbc’: was expecting (‘true’, ‘false’ or ‘null’)
at [Source: /home/pi/Blynk/db.properties; line: 1, column: 6]
ERROR - Error parsing file ‘/home/pi/Blynk/server-0.18.3.jar’. Error : Unrecognized token ‘PK’: was expecting (‘true’, ‘false’ or ‘null’)
How does your mail.properties file look? mine is like this:
Could be weird line endings and such. Try UltraEdit or SublimeText to see if it’s a proper file.
pretty much precisely the same as yours (with some obvious differences: username!)
and I also include the password property.
BTW, enabling password generated an Enable Insecure Apps action on my Google Mail account. Might be a good point for the docs.
Editors: Use joe - and sometimes nano - as they’re the very spirit of clean, non-intrusive editors. Double-checked mail.properties in both; checked for extra whitespace, etc. Nothing.
Finally, note that Java itself(?) is reporting these parsing errors, even on the server jar: /home/pi/Blynk/server-0.18.3.jar
What hardware and OS are you running the server on? The insecure apps notification should be in the docs btw, I found that out a couple months ago.
What log? Where this messages come from?
RaspberryPi 3 - Raspian Jessie
Log is standard: blynk/blynk.log. Java parsing errors arise almost immediately at server boot. Then seems to proceed, and run, normally. eMail functions work just fine, eg.
This errors because you are specified
dataFolder as folder with properties files.