Can't download the .CSV History Graph data from Local Server?

i’m new there and can’t download .csv file on local server and my log is here :

12:11:58.852 WARN - Problem resolving current host IP.
12:11:58.852 INFO - Using data dir ‘.\data’
12:11:59.242 INFO - Region : local
12:11:59.712 INFO - Initializing gmail smtp mail transport. Username : *****@gmail.com. SMTP host : smtp.gmail.com:587
12:11:59.732 INFO - Didn’t find Let’s Encrypt certificates.
12:11:59.732 INFO - Automatic certificate generation is turned ON.
12:12:00.542 WARN - Problem resolving current host IP.
12:12:00.692 WARN - Problem resolving current host IP.
12:12:00.952 INFO - Hardware plain tcp/ip server listening at 8442 port.
12:12:00.952 INFO - Hardware SSL server listening at 8441 port.
12:12:00.952 INFO - Application server listening at 8443 port.
12:12:00.952 INFO - HTTP API and WebSockets server listening at 80 port.
12:12:00.952 INFO - HTTPS API, WebSockets and Admin page server listening at 9443 port.
12:12:00.952 INFO - Mqtt hardware server listening at 8440 port.

i used this command foe cert

openssl req -x509 -nodes -days 1825 -newkey rsa:2048 -keyout server.key -out server.crt
openssl pkcs8 -topk8 -inform PEM -outform PEM -in server.key -out server.pem

and server.properties config to :

server.ssl.cert=./server.crt
server.ssl.key=./server.pem
server.ssl.key.pass=******

server.host=test.blynk.cc

contact.email=*******@gmail.com

mail.properties config:

mail.smtp.auth=true
mail.smtp.starttls.enable=true
mail.smtp.host=smtp.gmail.com
mail.smtp.port=587
mail.smtp.username=********@gmail.com
mail.smtp.password=*******

is it true ? with api command we can access to all history Vpin’s data and export them. But for how long it’s stored?

help me please

You need to specify correct host here. Your own host or IP.

new log after add my ip :

server.host=192.168.1.2

13:01:25.315 WARN - Problem resolving current host IP.
13:01:25.315 INFO - Using data dir ‘.\data’
13:01:25.636 INFO - Region : local
13:01:26.107 INFO - Initializing gmail smtp mail transport. Username : ********@gmail.com. SMTP host : smtp.gmail.com:587
13:01:26.127 INFO - Didn’t find Let’s Encrypt certificates.
13:01:26.127 INFO - Automatic certificate generation is turned ON.
13:01:26.924 WARN - Problem resolving current host IP.
13:01:27.045 WARN - Problem resolving current host IP.
13:01:27.305 INFO - Hardware plain tcp/ip server listening at 8442 port.
13:01:27.305 INFO - Hardware SSL server listening at 8441 port.
13:01:27.305 INFO - Application server listening at 8443 port.
13:01:27.305 INFO - HTTP API and WebSockets server listening at 80 port.
13:01:27.305 INFO - HTTPS API, WebSockets and Admin page server listening at 9443 port.
13:01:27.305 INFO - Mqtt hardware server listening at 8440 port.

:expressionless:

What server version do you have?

1 Like

G:\BlynkLocalServer>java -jar server-0.24.4.jar -dataFolder ./data

Blynk Server 0.24.4 successfully started.
All server output is stored in folder ‘G:\BlynkLocalServer.\logs’ file.

i try do it on windows 7

This error possible only in case you didn’t specify server.host or you are using wrong server.properties where you didn’t put server.host. Also please try yo use latest server I don’t remember exactly in which version this poroperty was changed.

1 Like

i used latest version on this test.

on server properties i just modified the :

server.host=192.168.1.2
and
contact.email=******@gmail.com
and
define crt and pem files and the pass

0.24.6?

1 Like

ok i try this
thanks dear Friend.

G:\BlynkLocalServer>java -jar server-0.24.6.jar -dataFolder ./data

Blynk Server 0.24.6 successfully started.
All server output is stored in folder ‘G:\BlynkLocalServer.\logs’ file.

same Error again om my log

13:30:47.202 WARN - Problem resolving current host IP.
13:30:47.202 INFO - Using data dir ‘.\data’
13:30:47.512 INFO - Region : local
13:30:47.982 INFO - Initializing gmail smtp mail transport. Username : ******@gmail.com. SMTP host : smtp.gmail.com:587
13:30:48.002 INFO - Didn’t find Let’s Encrypt certificates.
13:30:48.002 INFO - Automatic certificate generation is turned ON.
13:30:48.812 WARN - Problem resolving current host IP.
13:30:48.952 WARN - Problem resolving current host IP.
13:30:49.212 INFO - Hardware plain tcp/ip server listening at 8442 port.
13:30:49.212 INFO - Hardware SSL server listening at 8441 port.
13:30:49.212 INFO - Application server listening at 8443 port.
13:30:49.212 INFO - HTTP API and WebSockets server listening at 80 port.
13:30:49.212 INFO - HTTPS API, WebSockets and Admin page server listening at 9443 port.
13:30:49.212 INFO - Mqtt hardware server listening at 8440 port.

ma admin page is not secure
:expressionless:

Where is your server.properties? How exactly do you run the server?

on same folder .jar file

inside the .bat file is :
java -jar server-0.24.6.jar -dataFolder ./data

Just to be sure… the IP 192.168.1.2 you are using is the same one used for your PC, running Win7 (on which you have installed Blynk Server), and NOT the IP for your router?

Please try to add -serverConfig FULL_PATH_SERVER_PROPERTIES to your bat file. Seems like properties are picked from wrong location because of bat file.

For example c:/server.properties

1 Like

14:00:15.080 WARN - Problem resolving current host IP.
14:00:15.090 INFO - Using data dir ‘.\data’
14:00:15.450 INFO - Region : local
14:00:15.928 INFO - Initializing gmail smtp mail transport. Username : ********@gmail.com. SMTP host : smtp.gmail.com:587
14:00:15.938 INFO - Didn’t find Let’s Encrypt certificates.
14:00:15.938 INFO - Automatic certificate generation is turned ON.
14:00:16.770 WARN - Problem resolving current host IP.
14:00:16.910 WARN - Problem resolving current host IP.
14:00:17.160 INFO - Hardware plain tcp/ip server listening at 8442 port.
14:00:17.160 INFO - Hardware SSL server listening at 8441 port.
14:00:17.160 INFO - Application server listening at 8443 port.
14:00:17.160 INFO - HTTP API and WebSockets server listening at 80 port.
14:00:17.160 INFO - HTTPS API, WebSockets and Admin page server listening at 9443 port.
14:00:17.160 INFO - Mqtt hardware server listening at 8440 port.

i don’t know what can i do
this is so bad. i can’t use and get data and ssl