Community discussions

MikroTik App
 
1001001
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 70
Joined: Mon Sep 24, 2012 12:46 pm

Serverlet error handling

Thu Aug 22, 2013 11:57 am

Hello everybody,

we're getting constant complaint about the fact that if a user tries to login providing invalid credentials the serverlets allways just display the error 'Radius server is not responding'. Well I checked both our radiusserver appenrently do not send any answer to an invalid access-request so the routerOS just assumes that the radius server timedout and displays that particular error-message.

Is there a away to get more precise error-messages or conditional error handling?
I tried this approach which obviously doesn't do any good
$(if error)
			<div class="alert alert-error">
			<button type="button" class="close" data-dismiss="alert">&times;</button>
			<strong>Oops!</strong> $(error)
			</div>
		  $(elif error-orig)
			<div class="alert alert-error">
			<button type="button" class="close" data-dismiss="alert">&times;</button>
			<strong>Oops!</strong> $(error-orig)
			</div>
		  $(endif)
Is there a way to do this that would tell the user that e.g. the internet connection is down oder his inout was somehow wrong?

Best Regards

1001001

Who is online

Users browsing this forum: No registered users and 46 guests