#Setting up Redis

40 messages · Page 1 of 1 (latest)

versed sinew
#

What am I doing wrong? My Redis server 1:C 03 Jun 2023 17:14:32.011 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 03 Jun 2023 17:14:32.011 # Redis version=6.2.12, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 03 Jun 2023 17:14:32.011 # Configuration loaded 1:M 03 Jun 2023 17:14:32.012 * monotonic clock: POSIX clock_gettime 1:M 03 Jun 2023 17:14:32.013 * Running mode=standalone, port=6379. 1:M 03 Jun 2023 17:14:32.013 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 03 Jun 2023 17:14:32.013 # Server initialized 1:M 03 Jun 2023 17:14:32.013 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. 1:M 03 Jun 2023 17:14:32.014 * DB loaded from append only file: 0.000 seconds 1:M 03 Jun 2023 17:14:32.014 * Ready to accept connections
And on my Backend server

at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)```
sour hemlockBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

latent topazBOT
#

Project ID: 388adc7a-71d5-4f5d-80e2-eae18821712f

night galleon
#

show me your service variables please?

#

dont do that!!

#

please go and regenerate the credentials right now

versed sinew
#

yeah sure thought maybe with the support guy will be okay lol

night galleon
#

im not gonna do anything, but this is still a public thread

#

let me know when you have re-gen'ed

versed sinew
#

done

night galleon
#

show me a screenshot of your service variables with the values kept hidden!

versed sinew
night galleon
#

a screenshot of your service variables

#

thats the plugin

versed sinew
night galleon
#

thats your code

#

a screenshot of your service variables

versed sinew
#

um so I think I know what im doing wrong lol

night galleon
#

can i have the screenshot please

versed sinew
#

Obviously have to add them here too

#

sorry

#

ty really apreciate

night galleon
#

well hold on

versed sinew
#

ok

night galleon
#

you only need to add a reference to REDIS_URL

night galleon
# versed sinew

then instead of all those enviroment variables you can just use process.env.REDIS_URL

night galleon
versed sinew
#

its deploying

#

and it seems to work

night galleon
#

show me a screenshot of the service variables please

versed sinew
night galleon
#

nope

versed sinew
night galleon
#

yay

versed sinew
#

ah makes sense so when I regen my variables in redis I dont have to change anything here again

#

ty @night galleon really apreciate it man!