Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ddp] Call error: [ddp] sending without open connection #5

Open
emikolajczak opened this issue Jun 4, 2020 · 0 comments
Open

[ddp] Call error: [ddp] sending without open connection #5

emikolajczak opened this issue Jun 4, 2020 · 0 comments

Comments

@emikolajczak
Copy link

emikolajczak commented Jun 4, 2020

Hi,

I try to use your tool to perform load test of rocketch chat. But for 350 users app crash with error:

joining room: GENERAL
opening rooms

sending messages
done!
[ '[ddp] Call error: [ddp] sending without open connection' ]
/home/emikolajczak/rocket.chat.load.tester/src/server.js:65
        throw up;
        ^
Error: [ddp] sending without open connection
    at Promise (/home/emikolajczak/rocket.chat.load.tester/node_modules/@rocket.chat/src/lib/drivers/ddp.ts:212:35)
    at new Promise (<anonymous>)
    at Socket.<anonymous> (/home/emikolajczak/rocket.chat.load.tester/node_modules/@rocket.chat/src/lib/drivers/ddp.ts:211:12)
    at Generator.next (<anonymous>)
    at /home/emikolajczak/rocket.chat.load.tester/node_modules/@rocket.chat/sdk/lib/drivers/ddp.js:11:71
    at new Promise (<anonymous>)
    at __awaiter (/home/emikolajczak/rocket.chat.load.tester/node_modules/@rocket.chat/sdk/lib/drivers/ddp.js:7:12)
    at Socket.send (/home/emikolajczak/rocket.chat.load.tester/node_modules/@rocket.chat/sdk/lib/drivers/ddp.js:198:16)
    at Socket.<anonymous> (/home/emikolajczak/rocket.chat.load.tester/node_modules/@rocket.chat/src/lib/drivers/ddp.ts:256:33)
    at Generator.next (<anonymous>)
[nodemon] app crashed - waiting for file changes before starting...

My configuration is:

export HOST_URL=xxx
export PORT=3000
export REDIS_HOST=redis
export TRY_REGISTER=yes
export HOW_MANY=350
export SEATS_PER_ROOM=20000
export LOGIN_BATCH=10
export MESSAGE_SENDING_RATE=0.017
export ROOM_ID=GENERAL
export OPEN_ROOM=yes
export SSL_ENABLED=yes
export SEND_MESSAGES=yes
export CLIENT_TYPE=web
export USERS_USERNAME=tester-%s
export USERS_PASSWORD=tester-%s
export USERS_EMAIL=tester-%[email protected]
export JOIN_ROOM=GENERAL
export LOG_IN=yes
export NO_SUBSCRIBE=no
export INITIAL_LOGIN_OFFSET=1
export LOGIN_OFFSET=1

Error occurs regardless number of running instances.

Server Setup Information:

  • Version of Rocket.Chat Server: 3.0.12
  • Operating System: Centos7
  • Deployment Method: docker-compose
  • Number of Running Instances: 25
  • DB Replicaset Oplog: YES
  • NodeJS Version: v12.14.0
  • MongoDB Version: 4.0.16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant