-
Notifications
You must be signed in to change notification settings - Fork 268
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
RustDesk WebUi - HOME tab gives error 500 #161
Comments
Code apiserver.error Internal Server Error: /api/work XXXXXXX - ID Client |
u can print something, eg peers.keys |
tell me how to change the request? |
That's it, I solved the problem! To do this I slightly modified the views_front.py code
|
cool! |
Hmmmm, I analyzed the logs - I discovered that connection and file transfer logs are not written to the MYSQL table `Internal Server Error: /api/audit/conn During handling of the above exception, another exception occurred: Traceback (most recent call last): `Internal Server Error: /api/audit/file During handling of the above exception, another exception occurred: Traceback (most recent call last): |
That's it, I solved the problem!))) To do this, I ran these commands in MYSQL
|
cool! |
There were 500 errors related to the fact that the database was locked (on SQLite3) due to multiple calls to the database (I need this and it is used in another application in the same way, so SQLite3 is not suitable for me due to its limitations) otherwise the errors were minor ( I guess because of the special characters in the UUID - after processing this exception, the errors went away) - I switched the database to MYSQL (mysql Ver 8.0.40-0ubuntu0.22.04.1 for Linux on x86_64 ((Ubuntu)))
![image](https://private-user-images.githubusercontent.com/103854962/388423941-21d718ff-1ea3-4c81-8f33-c7e5e13f9ce0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NDczMjMsIm5iZiI6MTczOTQ0NzAyMywicGF0aCI6Ii8xMDM4NTQ5NjIvMzg4NDIzOTQxLTIxZDcxOGZmLTFlYTMtNGM4MS04ZjMzLWM3ZTVlMTNmOWNlMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QxMTQzNDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hZjdmMjU3MDIwNjU5YWQ1NzRmYmU4MGU5OTUzYmYwMDA5OWM2NDE3ODk0NzZmYTA1YTRiOTA2Y2Y3NDM3MmM3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.uBPaHer80571HQtzpBioA7oE5D_Np6RXy-NFq3AN9ZM)
![image](https://private-user-images.githubusercontent.com/103854962/388424059-c04aae4d-9b31-4281-8476-18ec9ad3cc8c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NDczMjMsIm5iZiI6MTczOTQ0NzAyMywicGF0aCI6Ii8xMDM4NTQ5NjIvMzg4NDI0MDU5LWMwNGFhZTRkLTliMzEtNDI4MS04NDc2LTE4ZWM5YWQzY2M4Yy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QxMTQzNDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wYjUxZTczMGM5Mzk1OTBiYjNmOWNjMTU2NjVlM2ZmOGYyNmJhOGRiODIwOWM1NzYwNDJmMWYzNDdjOWQxNjM3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.rO6lahEd_lASpg5xVJidpTctaMW54jNn_Hw7wVRZLJY)
![image](https://private-user-images.githubusercontent.com/103854962/388424340-a4c27ae5-8fa8-48ca-acef-6e7f777f3fb9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NDczMjMsIm5iZiI6MTczOTQ0NzAyMywicGF0aCI6Ii8xMDM4NTQ5NjIvMzg4NDI0MzQwLWE0YzI3YWU1LThmYTgtNDhjYS1hY2VmLTZlN2Y3NzdmM2ZiOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QxMTQzNDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04YzQwMmNlNGEyYTUyNWJjZjgyYjllODJmM2MyODVhYTA2OGYwOTEzNmI2OWVlNjc5MjVlOGRmNmE0MTQ0YTFjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.SDup0hj4_ug5iq7EAkugssdIg88Nn1EjNpDiNeyhtG4)
![image](https://private-user-images.githubusercontent.com/103854962/388426992-76eadaa5-d98f-45f1-8fbc-e822105a80b7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NDczMjMsIm5iZiI6MTczOTQ0NzAyMywicGF0aCI6Ii8xMDM4NTQ5NjIvMzg4NDI2OTkyLTc2ZWFkYWE1LWQ5OGYtNDVmMS04ZmJjLWU4MjIxMDVhODBiNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QxMTQzNDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kMGFhNzk3NzI3NTkyODRmMmViOThkMTJiYzFhZmI4ZWQwNWQxNmNhODExNjgzZjhjNmFiOWRhNDQ1MmJmZDIwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.UiW9Eb5U7kpZ0o0uOQJS6FSwZJMEu-M4b_qj_Iz4Mk4)
locking errors are gone, everything works except the HOME button (The page - which opens automatically after authorization in WEBUi) while all other pages and tabs work perfectly and without failures (including the admin panel)
Below are screenshots of the errors.
The text was updated successfully, but these errors were encountered: