EvolutionAPI / evolution-api

Evolution API is an open-source WhatsApp integration API
https://evolution-api.com
GNU General Public License v3.0
901 stars 479 forks source link

Redis not working #652

Open rodrigocabraln opened 1 week ago

rodrigocabraln commented 1 week ago

Bem-vido!

O que você fez?

Once the .env is configured as the documentation shows to activate Redis, it is not possible to create an instance from the api or from evolutionManager

https://doc.evolution-api.com/pt/optional-resources/redis

O que você esperava?

Activate redis as the documentation shows

O que vc observou ao invés do que esperava?

EvolutionApi not working and always loading

Capturas de Tela/Vídeos

No response

Qual versão da API você está usando?

1.8.1

Qual é o seu ambiente?

Linux

Outras expecificações do ambiente

AWS Instance

Se aplicável, cole a saída do log

[Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:21 VERBOSE [Redis] [string] connecting new redis client [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:21 VERBOSE [Redis] [string] connected to new redis client [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:21 INFO [Redis] [string] RedisCache initialized for groups [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:21 VERBOSE [CacheService] [string] cacheservice created using cache engine: RedisCache [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:21 VERBOSE [RepositoryBroker] [string] initializing repository without db [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:21 VERBOSE [RepositoryBroker] [string] creating store path: /evolution/store [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:21 INFO [Redis] [string] RedisCache initialized for instance [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:21 VERBOSE [CacheService] [string] cacheservice created using cache engine: RedisCache [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:21 INFO [Redis] [string] RedisCache initialized for ChatwootService [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:21 VERBOSE [CacheService] [string] cacheservice created using cache engine: RedisCache [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:21 INFO [Redis] [string] RedisCache initialized for baileys [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:21 VERBOSE [CacheService] [string] cacheservice created using cache engine: RedisCache [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:21 VERBOSE [WAMonitoringService] [string] instance created [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:21 VERBOSE [WAMonitoringService] [string] checking instances without connection [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:21 INFO [WA MODULE] [string] Module - ON [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:21 VERBOSE [WAMonitoringService] [string] Loading instances [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:21 VERBOSE [WAMonitoringService] [string] Redis enabled [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:21 VERBOSE [CacheService] [string] cacheservice getting all keys [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:21 LOG [SERVER] [string] HTTP - ON: 8080 [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:24 VERBOSE [InstanceRouter] [string] request received in fetchInstances [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:24 VERBOSE [InstanceRouter] [string] request body:
[Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:24 VERBOSE [InstanceRouter] [object]
{}

[Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:24 VERBOSE [InstanceRouter] [string] request query:
[Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:24 VERBOSE [InstanceRouter] [object]
{}

[Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:24 VERBOSE [InstanceController] [string] requested fetchInstances (all instances) [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:24 VERBOSE [WAMonitoringService] [string] get instance info [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:24 VERBOSE [WAMonitoringService] [string] return instance info: 0 [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:26 ERROR [Redis] [string] redis disconnected [Evolution API] v1.8.1 1 - Mon Jun 17 2024 16:02:28 VERBOSE [CacheService] [string] cacheservice has key: grggfdgdf

Notas Adicionais

No response