TimeOut with pop up windows



  • Hi,

    I have a problem when accessing data coming through a pop up. Although it happens in various situation, the most relevant one is when trying to access guest details.

    FireShot Capture 018 - Guests.png

    The server is only running Unifi and Spotipo.

    Any idea what I need to adjust ?

    Thanks,

    Dominique



  • i also have the same problem @rakesh-mukundan



  • Can you please have a look at /usr/share/nginx/spotipo/logs/spotipo.log when this issue occurs? That might show some hints on the reason behind it.



  • @rakesh-mukundan

    what i see is this:

    ERROR:flask.app:Exception on /s/api/guest/details/1/2593/ [GET]
    Traceback (most recent call last):
    File "/usr/share/nginx/spotipo/.env/local/lib/python2.7/site-packages/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
    File "/usr/share/nginx/spotipo/.env/local/lib/python2.7/site-packages/flask/app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
    File "/usr/share/nginx/spotipo/.env/local/lib/python2.7/site-packages/flask/app.py", line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
    File "/usr/share/nginx/spotipo/.env/local/lib/python2.7/site-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
    File "/usr/share/nginx/spotipo/.env/local/lib/python2.7/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functionsrule.endpoint
    File "/usr/share/nginx/spotipo/.env/src/flask-classful/flask_classful.py", line 274, in proxy
    response = view(**request.view_args)
    File "spotipo/unifispot/core/utils.pyx", line 56, in unifispot.core.utils.accountlogin_required.decorated_function
    File "spotipo/unifispot/core/utils.pyx", line 204, in unifispot.core.utils.validate_site_ownership.decorated_function
    File "spotipo/unifispot/utils/options.pyx", line 406, in unifispot.utils.options.populate_current_license.decorated_function
    File "spotipo/unifispot/utils/options.pyx", line 349, in unifispot.utils.options.site_activation_required.decorated_function
    File "spotipo/unifispot/utils/options.pyx", line 484, in unifispot.utils.options.pro_site_required.decorated_function
    File "spotipo/unifispot/core/utils.pyx", line 237, in unifispot.core.utils.validate_site_permission.dummy_decorator.decorated_function
    File "/usr/share/nginx/spotipo/.env/src/flask-classful/flask_classful.py", line 245, in inner
    return fn(*args, **kwargs)
    File "spotipo/unifispot/core/views.pyx", line 879, in unifispot.core.views.GuestDetailsAPI.get
    AttributeError: type object 'Radiussessions' has no attribute 'siteid'
    [pid: 1347|app: 0|req: 23140/23140] 192.168.178.9 () {56 vars in 1247 bytes} [Wed Nov 27 14:46:15 2019] GET /s/api/guest/details/1/2593/?startdate=&enddate= => generated 2410 bytes in 56 msecs (HTTP/1.0 500) 3 headers in 145 bytes (1 switches on core 0)



  • Here is the extract you requested. As I mentioned in the original post, it affects more than just the guest info.
    The log covers from the dashboard, down to the detail window in different options: guest, clientrole, client.
    The underlying OS is either Ubuntu server 16.04 LTS or Ubuntu 18.04 LTS with standard Apache2 and MySQL packages.

    [pid: 31248|app: 0|req: 2606/2606] 192.168.1.5 () {56 vars in 1436 bytes} [Wed Nov 27 14:51:20 2019] GET /s/1/dashboard/ => generated 41032 bytes in 266 msecs (HTTP/1.1 200) 2 headers in 82 bytes (1 switches on core 0)
    [pid: 31248|app: 0|req: 2607/2607] 192.168.1.5 () {54 vars in 1237 bytes} [Wed Nov 27 14:51:20 2019] GET /site/ => generated 102 bytes in 12 msecs (HTTP/1.1 200) 2 headers in 72 bytes (1 switches on core 0)
    [pid: 31248|app: 0|req: 2608/2608] 192.168.1.5 () {54 vars in 1367 bytes} [Wed Nov 27 14:51:20 2019] GET /s/analytics/api/1?start=29-10-2019&end=27-11-2019 => generated 3323 bytes in 57 msecs (HTTP/1.1 200) 2 headers in 73 bytes (1 switches on core 0)
    [pid: 31248|app: 0|req: 2609/2609] 192.168.1.5 () {56 vars in 1440 bytes} [Wed Nov 27 14:51:30 2019] GET /s/1/data/guest/ => generated 46329 bytes in 39 msecs (HTTP/1.1 200) 2 headers in 82 bytes (1 switches on core 0)
    [pid: 31248|app: 0|req: 2610/2610] 192.168.1.5 () {54 vars in 1238 bytes} [Wed Nov 27 14:51:32 2019] GET /site/ => generated 102 bytes in 5 msecs (HTTP/1.1 200) 2 headers in 72 bytes (1 switches on core 0)
    [pid: 31248|app: 0|req: 2611/2611] 192.168.1.5 () {54 vars in 4510 bytes} [Wed Nov 27 14:51:32 2019] GET /s/api/guest/1/?draw=1&columns%5B0%5D%5Bdata%5D=0&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=1&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=2&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=3&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=4&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=5&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=6&columns%5B6%5D%5Bname%5D=&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=0&order%5B0%5D%5Bdir%5D=asc&start=0&length=10&search%5Bvalue%5D=&search%5Bregex%5D=false&startdate=&enddate=&=1574862691569 => generated 4199 bytes in 35 msecs (HTTP/1.1 200) 2 headers in 73 bytes (1 switches on core 0)
    [pid: 31248|app: 0|req: 2612/2612] 192.168.1.5 () {54 vars in 1334 bytes} [Wed Nov 27 14:51:35 2019] GET /s/api/guest/details/1/11?startdate=&enddate= => generated 379 bytes in 10 msecs (HTTP/1.1 301) 3 headers in 189 bytes (1 switches on core 0)
    [pid: 31248|app: 0|req: 2613/2613] 192.168.1.5 () {54 vars in 1334 bytes} [Wed Nov 27 14:56:59 2019] GET /s/api/guest/details/1/16?startdate=&enddate= => generated 379 bytes in 11 msecs (HTTP/1.1 301) 3 headers in 189 bytes (1 switches on core 0)
    [pid: 31248|app: 0|req: 2614/2614] 192.168.1.5 () {56 vars in 1441 bytes} [Wed Nov 27 15:00:31 2019] GET /s/1/clientrole/ => generated 44777 bytes in 40 msecs (HTTP/1.1 200) 2 headers in 82 bytes (1 switches on core 0)
    [pid: 31248|app: 0|req: 2615/2615] 192.168.1.5 () {54 vars in 1238 bytes} [Wed Nov 27 15:00:32 2019] GET /site/ => generated 102 bytes in 12 msecs (HTTP/1.1 200) 2 headers in 72 bytes (1 switches on core 0)
    [pid: 31248|app: 0|req: 2616/2616] 192.168.1.5 () {54 vars in 2767 bytes} [Wed Nov 27 15:00:32 2019] GET /s/1/clientrole/api/?draw=1&columns%5B0%5D%5Bdata%5D=0&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=1&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=false&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=2&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=false&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&start=0&length=10&search%5Bvalue%5D=&search%5Bregex%5D=false&
    =1574863231609 => generated 1058 bytes in 20 msecs (HTTP/1.1 200) 2 headers in 73 bytes (1 switches on core 0)
    [pid: 31248|app: 0|req: 2617/2617] 192.168.1.5 () {54 vars in 1354 bytes} [Wed Nov 27 15:00:36 2019] GET /s/1/clientrole/api/1 => generated 323 bytes in 11 msecs (HTTP/1.1 301) 3 headers in 165 bytes (1 switches on core 0)
    [pid: 31248|app: 0|req: 2618/2618] 192.168.1.5 () {56 vars in 1368 bytes} [Wed Nov 27 15:01:19 2019] GET / => generated 233 bytes in 10 msecs (HTTP/1.1 302) 3 headers in 144 bytes (1 switches on core 0)
    [pid: 31248|app: 0|req: 2619/2619] 192.168.1.5 () {52 vars in 1340 bytes} [Wed Nov 27 15:01:19 2019] GET /a/dashboard/ => generated 36527 bytes in 25 msecs (HTTP/1.1 200) 2 headers in 82 bytes (1 switches on core 0)
    [pid: 31248|app: 0|req: 2620/2620] 192.168.1.5 () {54 vars in 1235 bytes} [Wed Nov 27 15:01:21 2019] GET /site/ => generated 102 bytes in 12 msecs (HTTP/1.1 200) 2 headers in 72 bytes (1 switches on core 0)
    [pid: 31248|app: 0|req: 2621/2621] 192.168.1.5 () {54 vars in 1363 bytes} [Wed Nov 27 15:01:21 2019] GET /s/analytics/api/?start=29-10-2019&end=27-11-2019 => generated 3323 bytes in 58 msecs (HTTP/1.1 200) 2 headers in 73 bytes (1 switches on core 0)
    [pid: 31248|app: 0|req: 2622/2622] 192.168.1.5 () {56 vars in 1440 bytes} [Wed Nov 27 15:01:26 2019] GET /a/manage/client/ => generated 37804 bytes in 23 msecs (HTTP/1.1 200) 2 headers in 82 bytes (1 switches on core 0)
    [pid: 31248|app: 0|req: 2623/2623] 192.168.1.5 () {54 vars in 1239 bytes} [Wed Nov 27 15:01:26 2019] GET /site/ => generated 102 bytes in 5 msecs (HTTP/1.1 200) 2 headers in 72 bytes (1 switches on core 0)
    [pid: 31248|app: 0|req: 2624/2624] 192.168.1.5 () {54 vars in 2701 bytes} [Wed Nov 27 15:01:26 2019] GET /client/?draw=1&columns%5B0%5D%5Bdata%5D=0&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=1&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=false&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=2&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=false&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&start=0&length=10&search%5Bvalue%5D=&search%5Bregex%5D=false&_=1574863286624 => generated 1575 bytes in 11 msecs (HTTP/1.1 200) 2 headers in 73 bytes (1 switches on core 0)
    [pid: 31248|app: 0|req: 2625/2625] 192.168.1.5 () {54 vars in 1245 bytes} [Wed Nov 27 15:01:29 2019] GET /client/3 => generated 299 bytes in 11 msecs (HTTP/1.1 301) 3 headers in 153 bytes (1 switches on core 0)



  • @Jurrien-Oostland Please upgrade to 3.5.17 it should fix the issue.



  • @Dominique-Couot Unfortunately the logs doesn't show any errors. Could you try 3.5.17 and see if that helps?


Log in to reply
 

});