Problem with connection on Windows #10
	
		Labels
		
	
	
	
	
		No Label
		
			
	
	
	Memory leak
		
			Skript-bug
		
			Suggestion
		
			bug
		
			completed
		
			documentation
		
			duplicate
		
			enhancement
		
			good first issue
		
			help wanted
		
			invalid
		
			investigating
		
			question
		
			wontfix
		
			work in progress
		
		
	
		No Milestone
		
			
		
	
	
		
		
		
			No project
			
				
			
		
	
	
	
	
	
		No Assignees
		
			
		
	
	
	
		1 Participants
		
	
	
		
		
			Notifications
			
				
			
		
	
	
		
		
	
	
	Due Date
	No due date set.
			
				Dependencies
				
				
		
	
	
	No dependencies set.
			Reference: Limework/RediSkript#10
			
		
	
		Loading…
	
		Reference in New Issue
	
	Block a user
	
	No description provided.
		
		Delete Branch "%!s()"
	 
	Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi i install REDIS from https://github.com/dmajkic/redis/downloads (lastest) for windows and i have problem. On start REDIS and first start server with RediSkript i have this:
[12:24:27 INFO]: [RediSkript] Connecting to redis... [12:24:27 WARN]: [RediSkript] Connection to redis has failed! Reconnecting...Than i close server and go to config RediSkript. I change useTLS to true and start again server. Server stuck on:
[12:26:26 INFO]: [RediSkript] Enabling RediSkript v1.3.1and REDIS change to:
[4140] 18 Dec 12:26:47 - 1 clients connected (0 slaves), 1188800 bytes in usefrom 0 clients.I wait minute and:
[4140] 18 Dec 12:27:22 - 2 clients connected (0 slaves), 1197704 bytes in usechange to 2 but RediSkript don't allow start server and stuck. I am waiting 3 minutes and i have this again but server start:[12:29:30 INFO]: [RediSkript] Connecting to redis... [12:29:30 WARN]: [RediSkript] Connection to redis has failed! Reconnecting...and in REDIS:
[4140] 18 Dec 12:29:26 - Client closed connection [4140] 18 Dec 12:29:29 - 1 clients connected (0 slaves), 1188800 bytes in use30 seconds later:
[4140] 18 Dec 12:30:24 - 0 clients connected (0 slaves), 1179896 bytes in useand this repeat from 0 to 1.
Than i give command /reloadredis in server.
[12:31:39 INFO]: [RediSkript] Connecting to redis... [12:31:39 WARN]: [RediSkript] Connection to redis has failed! Reconnecting...this stop and REDIS give this:[4140] 18 Dec 12:30:24 - 0 clients connected (0 slaves), 1179896 bytes in use [4140] 18 Dec 12:30:26 - Accepted 127.0.0.1:50627 [4140] 18 Dec 12:30:29 - 1 clients connected (0 slaves), 1188800 bytes in use [4140] 18 Dec 12:30:34 - 1 clients connected (0 slaves), 1188800 bytes in use [4140] 18 Dec 12:30:39 - 1 clients connected (0 slaves), 1188800 bytes in use [4140] 18 Dec 12:30:44 - 1 clients connected (0 slaves), 1188800 bytes in use [4140] 18 Dec 12:30:49 - 1 clients connected (0 slaves), 1188800 bytes in use [4140] 18 Dec 12:30:54 - 1 clients connected (0 slaves), 1188800 bytes in use [4140] 18 Dec 12:30:59 - 1 clients connected (0 slaves), 1188800 bytes in use [4140] 18 Dec 12:31:04 - 1 clients connected (0 slaves), 1188800 bytes in use [4140] 18 Dec 12:31:09 - 1 clients connected (0 slaves), 1188800 bytes in use [4140] 18 Dec 12:31:14 - 1 clients connected (0 slaves), 1188800 bytes in use [4140] 18 Dec 12:31:19 - 1 clients connected (0 slaves), 1188800 bytes in use [4140] 18 Dec 12:31:24 - 1 clients connected (0 slaves), 1188800 bytes in use [4140] 18 Dec 12:31:29 - 1 clients connected (0 slaves), 1188800 bytes in use [4140] 18 Dec 12:31:34 - 1 clients connected (0 slaves), 1188800 bytes in use [4140] 18 Dec 12:31:39 - 1 clients connected (0 slaves), 1188800 bytes in use [4140] 18 Dec 12:31:44 - 1 clients connected (0 slaves), 1188800 bytes in use [4140] 18 Dec 12:31:49 - 1 clients connected (0 slaves), 1188800 bytes in use [4140] 18 Dec 12:31:50 - Accepted 127.0.0.1:50670 [4140] 18 Dec 12:31:54 - 2 clients connected (0 slaves), 1197704 bytes in useBut its only for few minutes and plugin can't save variables.
could you post your server log?
and i almost forgot the config of the plugin and and redis config aswell
Logs: https://pastebin.com/C43LEf9T
Redis conf: https://pastebin.com/CBpsnwCq
RediSkript conf: https://pastebin.com/yWjmrn1v
as I see you're using an older version of Redis, only 6.0.6+ supports TLS properly, set TLS to false
and try disable EncryptMessages
I do it, disbale EncryptMessages and TLS and i do it on clear server with only skript and RediSkript.

your password in the config seems to be the same as default - I think it is likely failing to connect due to wrong password
Without TLS, it doesn't want to connect for a while. It just makes a connection and breaks it off at the same time.
could you post your log from this situation? that shouldn't be happening
https://pastebin.com/JNhqX2uz
and where i can change password of redis in config file? i can't saw line of password 0.o
we only work with Redis 6, so I don't know, but in Redis 6 there's an entry called "requirepass"
I recommend updating Redis
yes, that should work
he is using redis 2 i think for windows since that redis version was last release for windows?
After changing the password in REDIS and RediSkript, the problem remains unchanged. As for the REDIS version, at least I haven't found a newer one for Windows.
I will setup redis on windows and see if it's a problem in redis version
Okay, I'm waiting :)
it works, you just need to run it from command line with redis config directory specified
in my case:
Than run CMD as admin and paste directory of REDIS?

redis-server must be redis-server.exe and you must add 2nd directory that would be directory to the config
That works! Amazing :) thanks for very fast help!
@Govindass should i count this docs problem?
not sure, it's a redis usage issue, in linux the same problem happens too, that you must specify config directory (I don't know why it doesn't auto-specify if unspecified)