Reset password

I created a user but now I forgot the password.

How can I reset it or create new?

I found the link at bottom of the page, “Problem signing in?”
When I putted my email and clicked “Reset Password” an email arrived to me, from dispacther@blynk.cc.
Is this for cloud.blync.cc or my local server?

For “cloud.blynk.cc”. Making pass reset for local server requires more actions.

Thanks. How do I reset a password on a local server?

Run locally

java -jar admin-0.9.1.jar manualresetpassword email newpass

I have the same question. Is this still the correct password reset method for local server? If so, here would I find admin-0.9.1.jar (or whatever is the current version)?

I think it’s integrated now in the admin UI which you can reach via your webbrowser.

1 Like

@mnw @Lichtsignaal is right. You can do reset via admin page. Also in few weeks reset pass will be integrated with server and it also could be done via current in-app mechanism.

I’m sorry to be dense, but how to you access the admin page? I could not access it in the browser via the URL as described in the documentation. I also tried navigating to the admin.html file while on the host computer and opening it directly, but it displayed a blank page. Obviously I am doing something wrong. Any suggestions where to begin?

Have you read this? You need to add few properties before you can enable admin page.

@mnw I created ticket https://github.com/blynkkk/blynk-server/issues/122 so you can subscribe in order to get notification when it will be fixed.

Dmitriy,

My blynk project has been working great for months using a local server, but suddenly when I try to log in from my phone, I get the message “Can’t connect to server”. Because it had been a long time since I had entered the password, I assumed that I had forgotten it, which is why I asked you in this thread about how to reset.

(I could not get your proposed solution for password reset to work - I created a server.properties file according to the documentation, but I still cannot access the admin page.)

So I simply decided to start from scratch by creating a new user (new email address) and password. For a short time I could connect, but then I suddenly started getting the “Can’t connect to server” error again. So I created yet another new user, which is accessible, but it doesn’t work correctly - it will not email the authentication token. It gives the error message “Request Fail. Server busy. Try again later.” I’m running server-0.13.2.jar.

How can i even begin to debug this issue?

In folder where your jar is should be file “blynk.log” please look into it and try find any errors and show me those errors if any. Also what app version do you use and ios/android?

After my previous post, now I can’t access the latest user again. It says “Sorry, server can’t talk now. Try later.” Below are the recent contents of blynk.log. I’m using iOS 9.2.1 and latest version of blynk.

10:36:25.280 INFO - mwernick@ece.iit.edu app joined.
10:38:17.835 ERROR - User not logged. /10.0.1.12:9994. Closing.
10:38:17.835 ERROR - User not logged. /10.0.1.12:9994. Closing.
10:39:18.077 INFO - mwernick@ece.iit.edu app joined.
10:39:49.164 ERROR - User not logged. /10.0.1.12:10013. Closing.
10:39:49.165 ERROR - User not logged. /10.0.1.12:10013. Closing.
10:44:16.994 ERROR - User not logged. /10.0.1.12:10068. Closing.
10:50:41.882 ERROR - User not logged. /10.0.1.21:52331. Closing.
10:51:21.245 INFO - mwernick@ece.iit.edu hardware joined.
10:51:43.713 ERROR - User not logged. /10.0.1.21:52332. Closing.
10:52:47.900 ERROR - User not logged. /10.0.1.21:52335. Closing.
10:52:48.563 ERROR - User not logged. /10.0.1.21:52341. Closing.
10:53:22.032 ERROR - User not logged. /10.0.1.21:52347. Closing.
10:53:48.483 INFO - mwernick@ece.iit.edu hardware joined.
10:54:44.715 INFO - Using data dir ‘/var/folders/jq/839d947n1djdwrm0fs9rcdm00000gn/T/blynk’
10:54:45.057 INFO - Initializing mail transport. Username : example@gmail.com. SMTP host : smtp.gmail.com:587
10:54:45.269 INFO - Plain tcp/ip hardware server port 8442.
10:54:45.270 INFO - Enabling SSL for hardware.
10:54:45.271 WARN - ATTENTION. Certificate /Users/mileswernick/Documents/Blynk and key /Users/mileswernick/Documents/Blynk paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
10:54:45.597 INFO - SSL hardware port 8441.
10:54:45.635 INFO - Enabling SSL for application.
10:54:45.636 WARN - ATTENTION. Server certificate paths cert : ‘/Users/mileswernick/Documents/Blynk’, key : ‘/Users/mileswernick/Documents/Blynk’ - not valid. Using embedded server certs and one way ssl. This is not secure. Please replace it with your own certs.
10:54:45.702 INFO - Application server port 8443.
10:54:45.717 INFO - Enabling HTTP API.
10:54:45.717 INFO - HTTP API port 8080.
10:54:45.719 INFO - Enabling HTTPS API.
10:54:45.719 WARN - ATTENTION. Certificate /Users/mileswernick/Documents/Blynk and key /Users/mileswernick/Documents/Blynk paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
10:54:45.865 INFO - HTTPS API port 9443.
10:54:45.875 INFO - Enabling HTTPS for admin UI.
10:54:45.875 WARN - ATTENTION. Certificate /Users/mileswernick/Documents/Blynk and key /Users/mileswernick/Documents/Blynk paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
10:54:45.959 INFO - HTTPS admin UI port 7443.
10:54:45.960 INFO - Enabling Web Sockets.
10:54:45.960 INFO - Web Sockets port 8082.
10:54:45.961 INFO - Enabling Web SSL Sockets.
10:54:45.961 WARN - ATTENTION. Certificate /Users/mileswernick/Documents/Blynk and key /Users/mileswernick/Documents/Blynk paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
10:54:46.032 INFO - Web SSL Sockets port 8081.
10:54:49.629 INFO - mwernick@ece.iit.edu hardware joined.
10:54:53.495 ERROR - User not logged. /10.0.1.21:52349. Closing.
10:56:55.326 ERROR - User not logged. /10.0.1.21:52351. Closing.
11:00:32.781 ERROR - User not logged. /10.0.1.21:52408. Closing.

How do you run server? Show me please full command.

I’ve tried it a few ways. I believe when it was working originally I was using the following, because I think that’s what the documentation said:
java -jar server-0.13.2.jar

When it stopped working, I went back to the documentation, and see that it has a -datapath option, so I tried the following, which I ran while in the Blynk directory. This didn’t work…
java -jar server-0.13.2.jar -datapath .

The documentation doesn’t say what the data path should be, but it seemed reasonable to guess that it is the directory called “data”, so I tried the following, which just gives error messages and doesn’t start the server…
java -jar server-0.13.2.jar -datapath /data

This explains everything. You run server without specifying data folder. So all your data were stored in temp dir. Temp dir may be removed at any moment by OS. So look like you just stopped server and OS removed your temp folder. So you was not able to login anymore.

You need to run server with specified -dataFolder. It is just a folder where you want save all your data. That’s it. Just put full path to it.

Thanks, I will try that. FULL path to the data folder is the key?
In the meantime a new problem. While waiting for your reply about my problem with local server I switched back to using your server so that I could continue running the project. Worked well all day but now the iOS app crashes within about 4 seconds after launch on all my devices. I can log in but the app crashes before the project begins running.
Thank you for all the terrific help.

We just did new deployment so that could be a reason. Do you use latest ios app version?

Yes, iOS 9.2.1 on iPhone and iPad. App crashes almost immediately after log in on both devices. Was not doing that in the early part of yesterday.