moloch-- / RootTheBox

A Game of Hackers (CTF Scoreboard & Game Manager)
http://root-the-box.com/
Apache License 2.0
939 stars 301 forks source link

Cant export game configuration #606

Open ktravnik opened 6 months ago

ktravnik commented 6 months ago

Hello I am getting "404 - Glitch in the Matrix

It looks like you typed a URL incorrectly, or were attempting to find something you ought not have access to. The only other possibility is that I messed up some of the code, and that doesn't seem very likely." if I want to do export of game configuration, also I am not able to register new users due to error "Invalid bank password lenght"

Ive used docker.

Anyone having same trouble ?

Thanks, Chris.

eljeffeg commented 2 weeks ago

We may need more information to reproduce this for troubleshooting. Could you explain your setup a bit more?

dansibleadm commented 4 days ago

I dont have the same problem but similar. If in some place I have characters and words on latin - exception is raised when im trying to export:

   Traceback (most recent call last):
      File "/usr/local/lib/python3.8/site-packages/tornado/web.py", line 1788, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/opt/rtb/libs/SecurityDecorators.py", line 113, in wrapper
        return method(self, *args, **kwargs)
      File "/opt/rtb/libs/SecurityDecorators.py", line 68, in wrapper
        return method(self, *args, **kwargs)
      File "/opt/rtb/libs/SecurityDecorators.py", line 152, in wrapper
        return method(self, *args, **kwargs)
      File "/opt/rtb/handlers/AdminHandlers/AdminGameHandlers.py", line 553, in post
        self.write_xml(xml_dom.toprettyxml())
      File "/opt/rtb/handlers/AdminHandlers/AdminGameHandlers.py", line 565, in write_xml
        self.finish()
      File "/usr/local/lib/python3.8/site-packages/tornado/web.py", line 1238, in finish
        future = self.flush(include_footers=True)
      File "/usr/local/lib/python3.8/site-packages/tornado/web.py", line 1175, in flush
        return self.request.connection.write_headers(
      File "/usr/local/lib/python3.8/site-packages/tornado/http1connection.py", line 450, in write_headers
        lines.extend(line.encode("latin1") for line in header_lines)
      File "/usr/local/lib/python3.8/site-packages/tornado/http1connection.py", line 450, in <genexpr>
        lines.extend(line.encode("latin1") for line in header_lines)
    UnicodeEncodeError: 'latin-1' codec can't encode characters in position 42-52: ordinal not in range(256)

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/usr/local/lib/python3.8/site-packages/tornado/web.py", line 1285, in send_error
        self.finish()
      File "/usr/local/lib/python3.8/site-packages/tornado/web.py", line 1239, in finish
        self.request.connection.finish()
      File "/usr/local/lib/python3.8/site-packages/tornado/http1connection.py", line 510, in finish
        raise httputil.HTTPOutputError(
    tornado.httputil.HTTPOutputError: Tried to write 887928 bytes less than Content-Length