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

"Authentication failed" errors are seen in rair-node logs just by visiting Home page #265

Open
sarora180673 opened this issue Oct 16, 2024 · 0 comments
Assignees
Labels
backend relates to backend APIs

Comments

@sarora180673
Copy link
Collaborator

Latest dev branch

Test case: Open Home page of RAIR Dapp

Observation : "Authentication failed" errors are seen in rair-node logs just by visiting Home page

Rair node logs:

1:35:40 PM web.1 | GET /api/auth/me 304 1.139 ms - -
1:35:40 PM web.1 | GET /api/auth/me 304 1.344 ms - -
1:36:02 PM web.1 | GET /api/auth/me 304 1.827 ms - -
1:36:02 PM web.1 | 2024-10-16T13:36:02.340Z [error] : [errors/mainErrorHandler.js] Authentication failed, please login again - Error: Authentication failed, please login again
1:36:02 PM web.1 | at Object.callback (/usr/src/rairnode/bin/middleware/verifyUserSession.js:8:47)
1:36:02 PM web.1 | at /usr/src/rairnode/node_modules/@redis/client/dist/lib/client/index.js:461:39
1:36:02 PM web.1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
1:36:02 PM web.1 | AppError: Authentication failed, please login again
1:36:02 PM web.1 | at Object.callback (/usr/src/rairnode/bin/middleware/verifyUserSession.js:8:47)
1:36:02 PM web.1 | at /usr/src/rairnode/node_modules/@redis/client/dist/lib/client/index.js:461:39
1:36:02 PM web.1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
1:36:02 PM web.1 | statusCode: 500,
1:36:02 PM web.1 | status: 'error',
1:36:02 PM web.1 | isOperational: true,
1:36:02 PM web.1 | level: 'error',
1:36:02 PM web.1 | [Symbol(level)]: 'error'
1:36:02 PM web.1 | }
1:36:02 PM web.1 | GET /api/notifications 500 3.455 ms - 465
1:36:02 PM web.1 | GET /api/files/list?itemsPerPage=20&pageNum=1 304 13.417 ms - -
1:36:03 PM web.1 | GET /api/settings/featured 304 16.409 ms - -
1:36:03 PM web.1 | GET /api/settings 304 10.604 ms - -
1:36:03 PM web.1 | GET /api/contracts/full?itemsPerPage=20&pageNum=1 304 40.236 ms - -
1:36:03 PM web.1 | GET /api/categories 304 5.277 ms - -
1:36:03 PM web.1 | GET /api/auth/me 304 1.055 ms - -
1:36:03 PM web.1 | GET /api/auth/logout 304 1.558 ms - -
1:36:03 PM web.1 | GET /api/auth/logout 304 2.199 ms - -

Screenshot from 2024-10-16 19-08-32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend relates to backend APIs
Projects
Status: No status
Development

No branches or pull requests

2 participants