-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Launched the game properly, but when chose the first room, I encountered a 500 error when trying to set my username for the first time.
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Console logs:
Dispatching request: /Room_100_UltraPlay_Gaming_Platform/
Path parts: ['Room_100_UltraPlay_Gaming_Platform']
Looking for room: Room_100_UltraPlay_Gaming_Platform
Original room name: Room_100_UltraPlay Gaming Platform
Creating room app for: Room_100_UltraPlay Gaming Platform
Clean name: Room_100_UltraPlay_Gaming_Platform
Returning room app for: Room_100_UltraPlay Gaming Platform
Dispatching to room app: Room_100_UltraPlay Gaming Platform
RoomMiddleware __call__: original_dir=/Users/.../hackademia
Changed directory to room_path: /Users/.../hackademia/Room_100_UltraPlay Gaming Platform
PATH_INFO before modification: /Room_100_UltraPlay_Gaming_Platform/
Path parts: ['Room_100_UltraPlay_Gaming_Platform']
Removed room name from path parts: []
PATH_INFO after modification: /
Set SCRIPT_NAME to: /room/Room_100_UltraPlay_Gaming_Platform
Calling room_app.wsgi_app with modified environ
ERROR: Exception on / [POST]
Traceback (most recent call last):
File "/Users/.../hackademia/hackademiaENV/lib/python3.11/site-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/.../hackademia/hackademiaENV/lib/python3.11/site-packages/flask/app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/.../hackademia/hackademiaENV/lib/python3.11/site-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/.../hackademia/hackademiaENV/lib/python3.11/site-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/.../hackademia/Room_100_UltraPlay Gaming Platform/vulnerable_app.py", line 34, in index
user_data = base64.b64encode(pickle.dumps(user)).decode()
^^^^^^^^^^^^^^^^^^
_pickle.PicklingError: Can't pickle <class 'room_Room_100_UltraPlay_Gaming_Platform.User'>: import of module 'room_Room_100_UltraPlay_Gaming_Platform' failed
wrapped_start_response: status=500 INTERNAL SERVER ERROR
Reverted directory back to /Users/.../hackademia
127.0.0.1 - - [09/Apr/2025 23:42:00] "POST /room/Room_100_UltraPlay_Gaming_Platform/ HTTP/1.1" 500 -
Metadata
Metadata
Assignees
Labels
No labels