Until yesterday, the refresh the domain record button worked perfectly. Today I went to test it and I got an error message.

File "class/flask_sockets.py", line 30, in call
handler, values = adapter.match()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match
raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "class/panelPlugin.py", line 2109, in a
return eval(execStr)
File "", line 1, in
File "/www/server/panel/plugin/mail_sys/mail_sys_main.py", line 357, in flush_domain_record
public.writeFile(self.session_conf, json.dumps(self.session))
File "/www/server/panel/pyenv/lib/python3.7/json/init.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/www/server/panel/pyenv/lib/python3.7/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/www/server/panel/pyenv/lib/python3.7/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/www/server/panel/pyenv/lib/python3.7/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.class.name} '
TypeError: Object of type A is not JSON serializable

I put some screenshots:

    aaP_satanity
    Hello, "Refresh domain record" As long as you add a valid domain name, it can be used normally, what is displayed when it cannot be used?
    There is an error, which seems to be caused by the failure to obtain the information of the domain name normally. This error was not reproduced in testing

    Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com