Not able to configure server.properties file in local rpi zero w server

Problem getting connected on server

Soooo, what is your problem exactly? :wink:

The problem is I am not able to signup on blynk app using custom ip and don’t know how to generate certificates in pi

Does the local server run on your Pi then?

Yes the terminal shows up that the server started up successfully

Certificates should be automatically, but it could be needed to forward port 80 to the Raspberry Pi because Lets Encrypt needs to connect to the web server over port 80 to generate the certficates (this is one time only I believe).

If you change the IP on your phone to the local server and the phone is on the same network, by all means it should work.

Are you getting any errors?

-edit

It might be prudent to post the blynk.log file here, from the logs/ directory on the pi.

Server.properties should be in the same directory as the server.jar file.

Edit and update your first post not to use template. Or it will be flagged and deleted.

I will post it soon

15:42:01.416 DEBUG- Using SLF4J as the default logging framework
15:42:01.607 INFO - Using data dir '/home/pi/Blynk'
15:42:01.884 DEBUG- -Dio.netty.noUnsafe: false
15:42:01.888 DEBUG- Java version: 8
15:42:01.899 DEBUG- sun.misc.Unsafe.theUnsafe: available
15:42:01.909 DEBUG- sun.misc.Unsafe.copyMemory: available
15:42:01.915 DEBUG- java.nio.Buffer.address: available
15:42:01.921 DEBUG- direct buffer constructor: available
15:42:01.931 DEBUG- java.nio.Bits.unaligned: available, false
15:42:01.932 DEBUG- jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable prior to Java9
15:42:01.934 DEBUG- java.nio.DirectByteBuffer.<init>(long, int): available
15:42:01.936 DEBUG- sun.misc.Unsafe: available
15:42:01.949 DEBUG- -Dio.netty.tmpdir: /tmp (java.io.tmpdir)
15:42:01.952 DEBUG- -Dio.netty.bitMode: 32 (sun.arch.data.model)
15:42:01.969 DEBUG- -Dio.netty.noPreferDirect: false
15:42:01.971 DEBUG- -Dio.netty.maxDirectMemory: 111542272 bytes
15:42:01.973 DEBUG- -Dio.netty.uninitializedArrayAllocationThreshold: -1
15:42:01.987 DEBUG- java.nio.ByteBuffer.cleaner(): available
15:42:09.698 DEBUG- Starting reading user DB.
15:42:15.298 DEBUG- Reading user DB finished.
15:42:15.300 INFO - Region : local. Host : 127.0.1.1.
15:42:15.549 DEBUG- -Dio.netty.eventLoopThreads: 2
15:42:15.859 DEBUG- -Dio.netty.noKeySetOptimization: false
15:42:15.861 DEBUG- -Dio.netty.selectorAutoRebuildThreshold: 512
15:42:16.020 DEBUG- org.jctools-core.MpscChunkedArrayQueue: available
15:42:16.096 TRACE- instrumented a special java.util.Set into: sun.nio.ch.EPollSelectorImpl@1167f58
15:42:16.114 TRACE- instrumented a special java.util.Set into: sun.nio.ch.EPollSelectorImpl@b27cdc
15:42:16.117 TRACE- instrumented a special java.util.Set into: sun.nio.ch.EPollSelectorImpl@139e7aa
15:42:16.378 DEBUG- -Dio.netty.leakDetection.level: disabled
15:42:16.387 DEBUG- -Dio.netty.leakDetection.targetRecords: 4
15:42:16.420 DEBUG- Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@19be66c
15:42:19.975 DEBUG- Default protocols (JDK): [TLSv1.2, TLSv1.1, TLSv1] 
15:42:19.978 DEBUG- Default cipher suites (JDK): [TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA]
15:42:20.113 TRACE- instrumented a special java.util.Set into: sun.nio.ch.EPollSelectorImpl@276594
15:42:20.116 TRACE- instrumented a special java.util.Set into: sun.nio.ch.EPollSelectorImpl@1a114
15:42:20.355 DEBUG- -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024
15:42:20.357 DEBUG- -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096
15:42:20.515 DEBUG- -Dio.netty.allocator.numHeapArenas: 1
15:42:20.534 DEBUG- -Dio.netty.allocator.numDirectArenas: 1
15:42:20.534 DEBUG- -Dio.netty.allocator.pageSize: 8192
15:42:20.535 DEBUG- -Dio.netty.allocator.maxOrder: 11
15:42:20.535 DEBUG- -Dio.netty.allocator.chunkSize: 16777216
15:42:20.535 DEBUG- -Dio.netty.allocator.tinyCacheSize: 512
15:42:20.536 DEBUG- -Dio.netty.allocator.smallCacheSize: 256
15:42:20.536 DEBUG- -Dio.netty.allocator.normalCacheSize: 64
15:42:20.536 DEBUG- -Dio.netty.allocator.maxCachedBufferCapacity: 32768
15:42:20.537 DEBUG- -Dio.netty.allocator.cacheTrimInterval: 8192
15:42:20.537 DEBUG- -Dio.netty.allocator.useCacheForAllThreads: true
15:42:20.639 DEBUG- -Dio.netty.allocator.type: pooled
15:42:20.645 DEBUG- -Dio.netty.threadLocalDirectBufferSize: 65536
15:42:20.647 DEBUG- -Dio.netty.maxThreadLocalCharBufferSize: 16384
15:42:21.448 INFO - Initializing gmail smtp mail transport. Username : voidsetup13@gmail.com. SMTP host : smtp.gmail.com:587
15:42:21.792 INFO - Didn't find custom user certificates.
15:42:21.807 INFO - Didn't find Let's Encrypt certificates.
15:42:21.809 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.
15:42:21.811 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.
15:42:31.412 DEBUG- -Dio.netty.buffer.bytebuf.checkAccessible: true
15:42:31.413 DEBUG- Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@1018107
15:42:31.780 DEBUG- hard.socket.idle.timeout = 15
15:42:31.811 DEBUG- Created allowed user list : voidsetup00013@gmail.com
15:42:31.845 DEBUG- app.socket.idle.timeout = 600
15:42:33.412 DEBUG- hard.socket.idle.timeout = 15
15:42:33.572 DEBUG- -Dio.netty.processId: 1496 (auto-detected)
15:42:33.598 DEBUG- -Djava.net.preferIPv4Stack: false
15:42:33.600 DEBUG- -Djava.net.preferIPv6Addresses: false
15:42:33.609 DEBUG- Loopback interface: lo (lo, 0:0:0:0:0:0:0:1%lo)
15:42:33.616 DEBUG- /proc/sys/net/core/somaxconn: 128
15:42:33.631 DEBUG- -Dio.netty.machineId: b8:27:eb:ff:fe:40:20:fc (auto-detected)
15:42:33.942 INFO - Hardware plain tcp/ip server listening at 8442 port.
15:42:33.956 INFO - Hardware SSL server listening at 8443 port.
15:42:33.961 INFO - Application server listening at 8441 port.
15:42:33.965 INFO - HTTP API and WebSockets server listening at 8080 port.
15:42:33.969 INFO - HTTPS API, WebSockets and Admin page server listening at 9443 port.
15:42:33.974 INFO - Mqtt hardware server listening at 8440 port.
15:48:51.428 DEBUG- Using SLF4J as the default logging framework
15:48:51.571 INFO - Using data dir '/home/pi/Blynk'
15:48:51.816 DEBUG- -Dio.netty.noUnsafe: false
15:48:51.830 DEBUG- Java version: 8
15:48:51.846 DEBUG- sun.misc.Unsafe.theUnsafe: available
15:48:51.866 DEBUG- sun.misc.Unsafe.copyMemory: available
15:48:51.872 DEBUG- java.nio.Buffer.address: available
15:48:51.886 DEBUG- direct buffer constructor: available
15:48:51.895 DEBUG- java.nio.Bits.unaligned: available, false
15:48:51.897 DEBUG- jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable prior to Java9
15:48:51.899 DEBUG- java.nio.DirectByteBuffer.<init>(long, int): available
15:48:51.901 DEBUG- sun.misc.Unsafe: available
15:48:51.906 DEBUG- -Dio.netty.tmpdir: /tmp (java.io.tmpdir)
15:48:51.909 DEBUG- -Dio.netty.bitMode: 32 (sun.arch.data.model)
15:48:51.922 DEBUG- -Dio.netty.noPreferDirect: false
15:48:51.924 DEBUG- -Dio.netty.maxDirectMemory: 111542272 bytes
15:48:51.926 DEBUG- -Dio.netty.uninitializedArrayAllocationThreshold: -1
15:48:51.938 DEBUG- java.nio.ByteBuffer.cleaner(): available
15:48:59.561 DEBUG- Starting reading user DB.
15:49:05.299 DEBUG- Reading user DB finished.
15:49:05.308 INFO - Region : local. Host : 127.0.1.1.
15:49:05.576 DEBUG- -Dio.netty.eventLoopThreads: 2
15:49:05.874 DEBUG- -Dio.netty.noKeySetOptimization: false
15:49:05.877 DEBUG- -Dio.netty.selectorAutoRebuildThreshold: 512
15:49:06.020 DEBUG- org.jctools-core.MpscChunkedArrayQueue: available
15:49:06.080 TRACE- instrumented a special java.util.Set into: sun.nio.ch.EPollSelectorImpl@1167f58
15:49:06.094 TRACE- instrumented a special java.util.Set into: sun.nio.ch.EPollSelectorImpl@b27cdc
15:49:06.096 TRACE- instrumented a special java.util.Set into: sun.nio.ch.EPollSelectorImpl@139e7aa
15:49:06.339 DEBUG- -Dio.netty.leakDetection.level: disabled
15:49:06.347 DEBUG- -Dio.netty.leakDetection.targetRecords: 4
15:49:06.381 DEBUG- Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@19be66c
15:49:10.715 DEBUG- Default protocols (JDK): [TLSv1.2, TLSv1.1, TLSv1] 
15:49:10.719 DEBUG- Default cipher suites (JDK): [TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA]
15:49:10.929 TRACE- instrumented a special java.util.Set into: sun.nio.ch.EPollSelectorImpl@276594
15:49:10.932 TRACE- instrumented a special java.util.Set into: sun.nio.ch.EPollSelectorImpl@1a114
15:49:11.085 DEBUG- -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024
15:49:11.086 DEBUG- -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096
15:49:11.251 DEBUG- -Dio.netty.allocator.numHeapArenas: 1
15:49:11.267 DEBUG- -Dio.netty.allocator.numDirectArenas: 1
15:49:11.267 DEBUG- -Dio.netty.allocator.pageSize: 8192
15:49:11.268 DEBUG- -Dio.netty.allocator.maxOrder: 11
15:49:11.268 DEBUG- -Dio.netty.allocator.chunkSize: 16777216
15:49:11.269 DEBUG- -Dio.netty.allocator.tinyCacheSize: 512
15:49:11.269 DEBUG- -Dio.netty.allocator.smallCacheSize: 256
15:49:11.269 DEBUG- -Dio.netty.allocator.normalCacheSize: 64
15:49:11.270 DEBUG- -Dio.netty.allocator.maxCachedBufferCapacity: 32768
15:49:11.270 DEBUG- -Dio.netty.allocator.cacheTrimInterval: 8192
15:49:11.271 DEBUG- -Dio.netty.allocator.useCacheForAllThreads: true
15:49:11.400 DEBUG- -Dio.netty.allocator.type: pooled
15:49:11.402 DEBUG- -Dio.netty.threadLocalDirectBufferSize: 65536
15:49:11.407 DEBUG- -Dio.netty.maxThreadLocalCharBufferSize: 16384
15:49:12.306 INFO - Initializing gmail smtp mail transport. Username : voidsetup13@gmail.com. SMTP host : smtp.gmail.com:587
15:49:12.594 INFO - Didn't find custom user certificates.
15:49:12.610 INFO - Didn't find Let's Encrypt certificates.
15:49:12.611 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.
15:49:12.613 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.
15:49:15.991 DEBUG- -Dio.netty.buffer.bytebuf.checkAccessible: true
15:49:15.993 DEBUG- Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@1018107
15:49:16.324 DEBUG- hard.socket.idle.timeout = 15
15:49:16.355 DEBUG- Created allowed user list : voidsetup00013@gmail.com
15:49:16.388 DEBUG- app.socket.idle.timeout = 600
15:49:17.967 DEBUG- hard.socket.idle.timeout = 15
15:49:18.106 DEBUG- -Dio.netty.processId: 1559 (auto-detected)
15:49:18.134 DEBUG- -Djava.net.preferIPv4Stack: false
15:49:18.135 DEBUG- -Djava.net.preferIPv6Addresses: false
15:49:18.144 DEBUG- Loopback interface: lo (lo, 0:0:0:0:0:0:0:1%lo)
15:49:18.151 DEBUG- /proc/sys/net/core/somaxconn: 128
15:49:18.166 DEBUG- -Dio.netty.machineId: b8:27:eb:ff:fe:40:20:fc (auto-detected)
15:49:18.699 INFO - Hardware plain tcp/ip server listening at 8442 port.
15:49:18.724 INFO - Hardware SSL server listening at 8443 port.
15:49:18.741 INFO - Application server listening at 8441 port.
15:49:18.754 INFO - HTTP API and WebSockets server listening at 8080 port.
15:49:18.759 INFO - HTTPS API, WebSockets and Admin page server listening at 9443 port.
15:49:18.769 INFO - Mqtt hardware server listening at 8440 port.

I updated my server just now and I am able to access admin page by not able to sign up on app it’s showing please check authentication token

Have you created a new account, via the App, while it is connected to your server? Followed by new projects… If not, you must… all Blynk servers (Cloud or LS) are separate entities from each other.

Well I figured it out I was required to configure the server.properties file

So just checking, everything working fine for you now?

Yes finally everything is working else for the emails