The agent failed to create a session which left me with this page: Failed to create new session: error=4 Password: [ ] [Login] Entering the password again brings me back to the original login page without any message. Error messages should be the same as for the native client. And we should be brought to either a special error page, or back to the login page rather than this broken one.
Fixed in revision 28432.
2014-03-19 14:08:39 ERROR tlwebaccess[2515]: File "/opt/thinlinc/modules/thinlinc/tlwebaccess/main.py", line 147, in do_POST 2014-03-19 14:08:39 ERROR tlwebaccess[2515]: self . _POST_METHODS . get ( page_name , self . error_404 ) ( query ) ) 2014-03-19 14:08:39 ERROR tlwebaccess[2515]: File "/opt/thinlinc/modules/thinlinc/tlwebaccess/main.py", line 297, in home 2014-03-19 14:08:39 ERROR tlwebaccess[2515]: return self . check_authenticated ( o0O , Oo0O , II1III , O0o0 ) 2014-03-19 14:08:39 ERROR tlwebaccess[2515]: File "/opt/thinlinc/modules/thinlinc/tlwebaccess/main.py", line 338, in check_authenticated 2014-03-19 14:08:39 ERROR tlwebaccess[2515]: return self . thinlinc_login ( username , ooOOoooooo , screen_size_array ) 2014-03-19 14:08:39 ERROR tlwebaccess[2515]: File "/opt/thinlinc/modules/thinlinc/tlwebaccess/main.py", line 468, in thinlinc_login 2014-03-19 14:08:39 ERROR tlwebaccess[2515]: iiiI1I11i1 = "Failed to create new session with reason: %s" % vsmcommon . err_to_string [ OOOoo0OO ] 2014-03-19 14:08:39 ERROR tlwebaccess[2515]: AttributeError: 'module' object has no attribute 'err_to_string' 2014-03-19 14:08:39 ERROR tlwebaccess[2515]: ----------------------------------------
(In reply to comment #2) > 2014-03-19 14:08:39 ERROR tlwebaccess[2515]: File > "/opt/thinlinc/modules/thinlinc/tlwebaccess/main.py", line 147, in do_POST > 2014-03-19 14:08:39 ERROR tlwebaccess[2515]: self . _POST_METHODS . get ( > page_name , self . error_404 ) ( query ) ) > 2014-03-19 14:08:39 ERROR tlwebaccess[2515]: File > "/opt/thinlinc/modules/thinlinc/tlwebaccess/main.py", line 297, in home > 2014-03-19 14:08:39 ERROR tlwebaccess[2515]: return self . > check_authenticated ( o0O , Oo0O , II1III , O0o0 ) > 2014-03-19 14:08:39 ERROR tlwebaccess[2515]: File > "/opt/thinlinc/modules/thinlinc/tlwebaccess/main.py", line 338, in > check_authenticated > 2014-03-19 14:08:39 ERROR tlwebaccess[2515]: return self . thinlinc_login ( > username , ooOOoooooo , screen_size_array ) > 2014-03-19 14:08:39 ERROR tlwebaccess[2515]: File > "/opt/thinlinc/modules/thinlinc/tlwebaccess/main.py", line 468, in > thinlinc_login > 2014-03-19 14:08:39 ERROR tlwebaccess[2515]: iiiI1I11i1 = "Failed to create > new session with reason: %s" % vsmcommon . err_to_string [ OOOoo0OO ] > 2014-03-19 14:08:39 ERROR tlwebaccess[2515]: AttributeError: 'module' object > has no attribute 'err_to_string' > 2014-03-19 14:08:39 ERROR tlwebaccess[2515]: > ---------------------------------------- Revision 28671 prevents the global variable err_to_string from becoming obfuscated.
Verified using build 4294, string is now displayed as it should. Tested using /vsmserver/allowed_groups and provoked following error: "Failed to create new session with reason: You are not allowed to use ThinLinc"
Created attachment 530 [details] Trying to connect to a stopped vsmserver The same broken page appears when you try to login to a stopped vsmserver. I'm currently rewriting the error message as part of bug 5027 but the lone password field must go.
(In reply to comment #5) > Created an attachment (id=530) [details] > Trying to connect to a stopped vsmserver > > The same broken page appears when you try to login to a stopped vsmserver. I'm > currently rewriting the error message as part of bug 5027 but the lone password > field must go. Fixed in commit 28848.
Some code cleanup in commit 28852.
Tested using build 4325, works as expected.