Skip to content

Error: Socket already opened #1

@arpitdalal

Description

@arpitdalal

Heya!
Umami is awesome!! Thank you for working on this great project and providing it as open source, appreciate it 😄

I self-hosted umami and tried to connect upstash redis by adding the env variable as documented here but I hit this error:

15021044 ERROR  Error: Socket already openedFeb 7, 10:33:29 AM: 15021044
15021044 ERROR      at RedisSocket.connect (/var/task/node_modules/@redis/client/dist/lib/client/socket.js:48:19)
15021044 ERROR      at Commander.connect (/var/task/node_modules/@redis/client/dist/lib/client/index.js:184:70)
15021044 ERROR      at UmamiRedisClient.connect (/var/task/node_modules/@umami/redis-client/dist/index.js:47:25)
15021044 ERROR      at UmamiRedisClient.get (/var/task/node_modules/@umami/redis-client/dist/index.js:53:16)
15021044 ERROR      at UmamiRedisClient.fetch (/var/task/node_modules/@umami/redis-client/dist/index.js:86:31)
15021044 ERROR      at d (/var/task/.next/server/chunks/6711.js:1:17133)
15021044 ERROR      at b (/var/task/.next/server/chunks/6711.js:1:20401)
15021044 ERROR      at u (/var/task/.next/server/chunks/6711.js:957:482)
15021044 ERROR      at Object.prisma (/var/task/.next/server/chunks/6711.js:957:304)
15021044 ERROR      at u (/var/task/.next/server/chunks/6711.js:1:13692)

It looks like the connections were made multiple times.

Unrelated to this issue:
I looked at the data stored on upstash redis and there was none at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions