Menu

Bugs SVN1796 and almost every svn for the past 12 months

arbit3r
2016-05-26
2016-10-14
  • arbit3r

    arbit3r - 2016-05-26

    I have a version of RadiusDesk that was deployed over 12 months ago, this version was certainly not perfect but seemed to be reasonably stable. I have over the past year periodically attempted to update but have always faced bugs in the newer releases.

    I'm not sure if I am the only one experiencing these issues but it seems like RadiusDesk has been seriously broken over the last few revs, updating to the latest svn I always have thought was like a game of Russian roulette.

    I refuse to believe that I am the only one having these issues. I can only imagine that people have lost interest in reporting them due to lack of response or interest but I will go ahead anyway in blind faith.

    Some of the latest bugs.

    • Freeradius info pie charts broken (Not so important but its been like this for a long time)
    • Activity monitor graphs broken and cause huge mysql process spike when requested (Not so important)
    • Some voucher users being incorrectly reported as Depleted after minimal usage (Extremely important and has caused enormous doubt and lost of faith in the sysem by customers)
    • RadiusClient not displaying vouchers in drop down menu and cannot be entered in manually but vouchers can be tested if browsing through the vouchers tab and then hitting Test RADIUS (Very important going through thousands of vouchers to find the right one and then having to test manually is a real headache)

    Allot of other smaller bugs

    I have always understood that radiusdesk was not a plug and play solution and does require some technical knowledge on the users side but its getting to a stage now where I feel like i cannot run a business using the radiusdesk platform.

    I feel like most of the attention is now being funneled into new features such as APdesk and MeshDesk rather then on the core functionality which is a real shame.

     

    Last edit: arbit3r 2016-05-26
  • Dirk van der Walt

    Hi,

    Most people give positve reports about the improvements and changes we make and we try to listen to their suggestions. So my feel is that in general the users are positive about the future of RADIUSdesk and there is a great community which help with the support and reporting and fixing of issues

    I would suggest that it might be a better option to first upgrade on a seperate test environment before doing a production upgrade.

    If there were no changes, I'm sure there would be less bugs but we try to stay current in terms of the software versions of the components used.

    That said, the past 12 months seen us going from ExtJs 4.2 to ExtJs 6 and from FreeRADIUS 2.x to FreeRADIUS 3.x.

    OK back to your list. Thanks for reporting these issues. Let's see how much we can fix.

    RadiusClient not displaying vouchers but vouchers can be tested if browsing through the vouchers tab and then hitting Test RADIUS (Very important going through thousands of vouchers to find the right one and then having to test manually is a real headache)

    Can you please upgrade to the latest SVN and see if it now work as intended. Keep in mind that it only sends a query to the back end on the start of the fouth character that you type.

    I'm following with the rest soon...

     
    • arbit3r

      arbit3r - 2016-05-26

      Latest SVN 1798 has indeed resolved the issue with the vouchers not appearing in the RADIUS client. The drop down menu is now working. However you cannot paste a voucher number in there and search for it, you must sort through the pages and find it.

       

      Last edit: arbit3r 2016-05-26
      • Dirk van der Walt

        Hi,

        I'm not to clear about this statement:

        However you cannot paste a voucher number in there and search for it, you must sort through the pages and find it.

        Can you please test the following on this server (default credentials)

        http://rd01.wificity.asia/rd/build/production/Rd/index.html

        Select Tools ->RADIUS Client
        Select User Type : Voucher
        Paste 'vast' in Voucher.

        Since it has four letters a list of vouchers starting with vast should appear.

        Is this not the functionlatity that you are looking for?
        If so, does your system behave different or did I perhaps understood your requirement wrong?

         
        • arbit3r

          arbit3r - 2016-05-27

          Yes this is the exact functionality i am looking for however and works well on this install however it does not seem to work for me. Maybe I will post a video showing you exactly what happens.

           
  • arbit3r

    arbit3r - 2016-05-26

    Dirk, don't take my criticism the wrong way. I am usually the very first to applaud any changes and the first to show my excitement and support on facebook and leave positive comments. I have been super impressed with some of the changes over the past year despite some of my doubts about the future of RadiusDesk. I think ultimately it comes down to my frustration with small ongoing bugs which have ruined the functionality of the system to a point where I have not been able to update and take advantage of the latest changes. It seems as though for every bug that is removed another two appear somewhere else. I have been careful to check things over before applying anything to the production environment but it always seems that something slips through and then its back to square one.

    I really do appreciate your reply. I think part of my vices with the project are that you are the only dev so when you do/cannot reply I fell like there is no interest from your end to resolve the issue leaving me feeling lost and frustrated.

     

    Last edit: arbit3r 2016-05-26
  • Dirk van der Walt

    Hi,

    I think this bug you reported:

    Activity monitor graphs broken and cause huge mysql process spike when requested (Not so important)

    Should be fixed now. Please update to the latest SVN and let me know.

    Just a bit of background why it appeared.

    • We use to unclude a user type filed in the activty viewer.
    • To determine the user type however took a hard knock on the system especialy with people that has large deployments (some poeple have 700+ active sessions)
    • We removed this but forgot to adapt the query for the graphs. This was fixed and the grap tab should now be tha same as in Permenent Users or Vouchers
     

    Last edit: Dirk van der Walt 2016-05-27
  • Dirk van der Walt

    Hello,

    Some voucher users being incorrectly reported as Depleted after minimal usage (Extremely important and has caused enormous doubt and lost of faith in the sysem by customers)

    I do agree about this.

    Just a couple of questions around this.

    • Are these data based vouchers?
    • Are you able to see the Accounting Data of these vouchers and how do they compare with what the user claim they were using.
    • We had an interresting observation with a WISP I'm working with. Windows 10 are extremely data hungry at times and people depleted their 5G vouchers in no time.
    • Are these depleted vouchers perhaps not related to upgrades or updates from Micorsoft. (I know this week end they also again pushed people to upgrade to Windows 10)

    Regards

     
    • arbit3r

      arbit3r - 2016-05-27
      • Yes, all my vouchers are databased.
      • The accounting tab is showing low usage 1.2GB usage for a 10GB ticket (I think I have found a bug there is only data IN showing, I have looked into the column section to enable data OUT but it is not available) Either way I can still see the total which is 1.2GB in the bottom right.
      • I agree but this would usually show in the accounting data.
       
  • arbit3r

    arbit3r - 2016-05-27

    I've uploaded a video here. Right as I was doing so the voucher search stopped working again. After the latest svn update the dropdown menu came back but i could still not search. Any voucher search would fail and just show the vouchers on the first page.

    Hopefull this give you some insight into how the system is acting for me. This is the latest svn 8000.#

    https://youtu.be/nptFPlLIHJE

    There is also another video here were you can see the radius client acting up before it broke again.

    https://www.youtube.com/watch?v=N7hnZx4Cb3k

     

    Last edit: arbit3r 2016-05-27
  • Dirk van der Walt

    Perfect,

    Thanks for the video's. A couple of things which will hopefully take us forward.

    • I see you use /rd which is fine but using /rd/build/production/Rd/ is faster especially if the server sits somewhere in the cloud.
    • When you ran svn update you updated the files under /usr/share/nginx/html and /usr/shar/nginx/html/cake2/rd_cake. The GUI is under /usr/share/nginx/html/rd and was thus not updated.
    • Be sure to run this as well
    cd /usr/share/nginx/html/rd
    sudo svn update
    

    The video is definately showing still old GUI code since I very recently fixed the code that turns the voucher's progressbar from green to red when it reaches 100%. Those in the video were still green despite the fact that the voucher's have been listed as 100% used.

    (An indication that you have the latest code in the GUI is when the Activity monitor lists the online users as 3 minutes online instead of 00:03:40:20)

     
  • Dirk van der Walt

    Then the Maximum usage exceeded problem I think will be the easiest if I can work with you on that one.
    Please drop me an email dirkvanderwalt at gmail

    I think it is related to the Time limit included and introduced with FreeRADIUS 3

    Regards

     
  • arbit3r

    arbit3r - 2016-05-27

    Yes you are right. I did not update the /rd/ directory as I incorrectly assumed that most of the processing happened in /rd_cake/ and /html/ directories.

    I can confirm that the radiusclient searching of vouchers now works very well when using rd/build/production/Rd/ it does not working in /rd/ which might be due to caching.

    This is already a huge improvement and will really speed up the process of testing vouchers that have been reported as bad.

    Also some very nice touches to the online activity monitor timestamp, I always found it very cryptic.

    I suppose now the biggest issue is why vouchers are being incorrectly shown as depleted. This is really the only thing holding me back from deploying the system onto the production server. I might go through every voucher one at a time and see if there is a pattern.

     
  • arbit3r

    arbit3r - 2016-05-27

    Thank you. I've emailed you.

     
  • arbit3r

    arbit3r - 2016-05-27

    Thanks again for the help, I am testing the system over the next three days to make completely sure that it is bug free before the big move to the production server.

    So far its looking very good. My accountant has been checking over the tickets and comparing the accounting data to the graphs and cross referencing the data usage against the production server which has checked out nicely.

    All accounts which were previously being prematurely reported as depleted are now working correctly.

    I have noticed a small bug still with the radiusclient when searching for vouchers, after the fourth character is entered into the search box, the list of matching vouchers appears below as expected however when the next fifth character is entered the list disappears.

    Thanks again for your help, I can’ thank you enough. After 12 months of waiting for a usable release I feel like I may soon be able to move forwards. Very exciting!

     

    Last edit: arbit3r 2016-05-27
    • arbit3r

      arbit3r - 2016-10-14

      I would just like to post an update 5 months down the road. Since the last upgrade the system has been very reliable with no crashes. Great work.

       

      Last edit: arbit3r 2016-10-14

Log in to post a comment.

MongoDB Logo MongoDB