test no working
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- docker-compose, node.js, typescript
- Ambito
- testing-qa
Direzione di ricerca
Inizia riproducendo il malfunzionamento con l’ambiente Docker Compose mostrato e ispeziona /app/cjs/profile.js alle righe 184 e 227. Traccia le risposte di accesso 401 insieme agli errori getRandomSubscription undefined. Il lavoro è completato quando l’esecuzione di load-scale crea gli utenti e consente loro di accedere senza gli errori ripetuti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hello! Test no working. Please help
Docker-compose logs:
load-scale_1 | error during login {
load-scale_1 | status: 401,
load-scale_1 | data: { status: 'error', error: 'Unauthorized', message: 'Unauthorized' }
load-scale_1 | } {
load-scale_1 | username: 'user.uid-21c0f6f74e3dce56c5074717c465c02c-8',
load-scale_1 | password: 'performance',
load-scale_1 | email: 'user.uid-21c0f6f74e3dce56c5074717c465c02c-8test-%[email protected]'
load-scale_1 | }
load-scale_1 | Error during log in {
load-scale_1 | status: 401,
load-scale_1 | data: { status: 'error', error: 'Unauthorized', message: 'Unauthorized' }
load-scale_1 | }
load-scale_1 | Logged users total: 0
load-scale_1 | Starting sending messages
load-scale_1 | (node:1) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'getRandomSubscription' of undefined
load-scale_1 | at /app/cjs/profile.js:184:43
load-scale_1 | at step (/app/cjs/profile.js:48:23)
load-scale_1 | at Object.next (/app/cjs/profile.js:29:53)
load-scale_1 | at /app/cjs/profile.js:23:71
load-scale_1 | at new Promise (<anonymous>)
load-scale_1 | at __awaiter (/app/cjs/profile.js:19:12)
load-scale_1 | at /app/cjs/profile.js:178:42
load-scale_1 | at /app/node_modules/@rocket.chat/emitter/dist/index.js:1:1003
load-scale_1 | at Array.forEach (<anonymous>)
load-scale_1 | at class_1.i.emit (/app/node_modules/@rocket.chat/emitter/dist/index.js:1:982)
load-scale_1 | (Use `node --trace-warnings ...` to show where the warning was created)
load-scale_1 | (node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
load-scale_1 | (node:1) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
load-scale_1 | (node:1) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'getRandomSubscription' of undefined
load-scale_1 | at /app/cjs/profile.js:227:35
load-scale_1 | at step (/app/cjs/profile.js:48:23)
load-scale_1 | at Object.next (/app/cjs/profile.js:29:53)
load-scale_1 | at /app/cjs/profile.js:23:71
load-scale_1 | at new Promise (<anonymous>)
load-scale_1 | at __awaiter (/app/cjs/profile.js:19:12)
load-scale_1 | at /app/cjs/profile.js:223:52
load-scale_1 | at /app/node_modules/@rocket.chat/emitter/dist/index.js:1:1003
load-scale_1 | at Array.forEach (<anonymous>)
load-scale_1 | at class_1.i.emit (/app/node_modules/@rocket.chat/emitter/dist/index.js:1:982)
load-scale_1 | (node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
load scale environment:
environment:
- HOST_URL=http://127.0.0.1:3000
- HOW_MANY_USERS=${HOW_MANY_USERS:-10}
- USERS_PER_ROOM=${SEATS_PER_ROOM:-5}
- LOGIN_BATCH=${LOGIN_BATCH:-5}
- SSL_ENABLED=${SSL_ENABLED:-no}
- DATABASE_URL=${DATABASE_URL}
- DATABASE_NAME=${DATABASE_NAME}
- TASK_ID=1
- CLIENT_TYPE=web
- USERS_USERNAME=test-%s
- USERS_PASSWORD=test-%s
- USERS_EMAIL=test-%[email protected]
Errors are repeated, new users do not appear in rocket chat
- Lingua principale
- TypeScript
- Stelle
- 11
- Fork
- 7
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di RocketChat/rocket.chat.load.tester
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
RocketChat/rocket.chat.load.tester#8 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
Tutte le issue di RocketChat/rocket.chat.load.tester
Issue simili
-
Bug: Broken RTL / BiDi text rendering when mixing Persian (Farsi) with English or numbersForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 2/5 Mezza giornata Idoneità per principianti 68/100
amosblomqvist/learnharness#758 ·
I maintainer di solito rispondono entro 2 giorni
-
Change WorkspacesAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
bitfocus/companion-module-renewedvision-propresenter-api#134 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
rcpch/digital-growth-charts-react-component-library#304 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
dsh-market/dsh-market#1210 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
trustjonathan/STUDY-HUB#13 ·