martin-markovic / learn-connect

Multi-feature platform designed to enhance the online learning experience.
MIT License
0 stars 0 forks source link

There are unresolved issues with joining a classroom and socket.io connection. #29

Closed martin-markovic closed 3 weeks ago

martin-markovic commented 4 weeks ago

Errors:

Current Logs:

POST 403 (Forbidden)
  | joinClassroom | @ | chatService.js:23 -- | -- | -- | --   | (anonymous) | @ | chatSlice.js:68   | dispatch | @ | VM1028:6   | handleJoinClassroom | @ | Classroom.jsx:36   | Show 27 more frames
martin-markovic commented 3 weeks ago

have commented out the unused routes, as there seems to be a conflict in API endpoints. This change has helped narrow down the issue, but I am still in the process of identifying which specific route is causing the conflict. I will update the issue once I have a complete solution or need further assistance.

martin-markovic commented 3 weeks ago

The 403 Forbidden Error and 400 Bad Request issues have been resolved through the following changes:

These changes have resolved the authorization and validation issues, as well as the Socket.io misconfiguration, leading to the successful connection and functionality of the classroom joining process.

With these fixes in place, I am closing this issue.