Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

How to remove Blacklisted Devices and report error Blacklisted Devices

Created: 10 Jul 2013 • Updated: 05 Nov 2013 | 2 comments
PHRAIWAN's picture
This issue has been solved. See solution.

Can anybody help me for 2 problem  ( On-premise version App Center )

1) I not sure i have problem with blacklist device I sent "Revoke" command to ipad and i delete the ipad after that i reinstall native agent again.

I try to login with the same user but i cannot login and i create a new user and try to login again i got the same problem nothing happen.

I try many time and i try to restore my ipad and install native agent again i got the same problem cannot login.

2) When i go to "Blacklisted Devices" report and click Create Report i got the page error

symantec1.JPG
 
 
 
 
 
 
 
and 
 
 
 
Traceback (most recent call last):



  File "/usr/local/nukona/python/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response

    response = callback(request, *callback_args, **callback_kwargs)



  File "/usr/local/nukona/python/lib/python2.7/site-packages/ac_common/djangoutils/auth.py", line 287, in _wrapped_view



  File "/usr/local/nukona/python/lib/python2.7/site-packages/ac_common/djangoutils/auth.py", line 287, in _wrapped_view



  File "/usr/local/nukona/python/lib/python2.7/site-packages/django/views/decorators/cache.py", line 75, in _cache_controlled

    response = viewfunc(request, *args, **kw)



  File "/usr/local/nukona/appstore_cu/apps/appstore/controllers/reports.py", line 2517, in menu



  File "/usr/local/nukona/appstore_cu/apps/appstore/controllers/reports.py", line 2671, in _menu



  File "/usr/local/nukona/appstore_cu/apps/appstore/controllers/reports.py", line 1757, in getData



AttributeError: 'NoneType' object has no attribute 'first_name'





<WSGIRequest

path:/admin/reports,

GET:<QueryDict: {}>,

POST:<QueryDict: {u'commandhistory_commands': [u'all'], u'targeted_policy': [u'2'], u'title': [u'Blacklisted Devices'], u'app': [u'4'], u'compliance': [u'-1'], u'content_list': [u'27'], u'commandhistory_status': [u'all'], u'select_report': [u'blacklisteddevices'], u'content_status': [u'all'], u'csrfmiddlewaretoken': [u'KoNpUz7kM02gxteqwpONkjafJNPcAf2Z'], u'pointer': [u'6'], u'applied_policy': [u'2']}>,

COOKIES:{'__utma': '20379067.315026986.1364957153.1373272014.1373353937.20',

 '__utmz': '20379067.1369846453.11.5.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided)',

 'csrftoken': 'KoNpUz7kM02gxteqwpONkjafJNPcAf2Z',

 'sessionid': 'ada09b7d626f39ad10e90744deed3ce4'},

META:{'CONTENT_LENGTH': '265',

 'CONTENT_TYPE': 'application/x-www-form-urlencoded',

 'CSRF_COOKIE': 'KoNpUz7kM02gxteqwpONkjafJNPcAf2Z',

 'DOCUMENT_ROOT': '/var/www/html',

 'GATEWAY_INTERFACE': 'CGI/1.1',

 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',

 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',

 'HTTP_ACCEPT_LANGUAGE': 'th,en;q=0.8,en-US;q=0.6',

 'HTTP_CACHE_CONTROL': 'max-age=0',

 'HTTP_CONNECTION': 'keep-alive',

 'HTTP_COOKIE': '__utma=20379067.315026986.1364957153.1373272014.1373353937.20; __utmz=20379067.1369846453.11.5.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); csrftoken=KoNpUz7kM02gxteqwpONkjafJNPcAf2Z; sessionid=ada09b7d626f39ad10e90744deed3ce4',

 'HTTP_HOST': 'ctmanagement.ratch.co.th',

 'HTTP_ORIGIN': 'https://ctmanagement.ratch.co.th',

 'HTTP_REFERER': 'https://ctmanagement.ratch.co.th/admin/reports',

 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36',

 'PATH_INFO': u'/admin/reports',

 'PATH_TRANSLATED': '/usr/local/nukona/www/wsgi-scripts/myapp.wsgi/admin/reports',

 'QUERY_STRING': '',

 'REMOTE_ADDR': '58.8.203.146',

 'REMOTE_PORT': '61155',

 'REQUEST_METHOD': 'POST',

 'REQUEST_URI': '/admin/reports',

 'SCRIPT_FILENAME': '/usr/local/nukona/www/wsgi-scripts/myapp.wsgi',

 'SCRIPT_NAME': u'',

 'SERVER_ADDR': '192.168.2.99',

 'SERVER_ADMIN': 'root@localhost',

 'SERVER_NAME': 'ctmanagement.ratch.co.th',

 'SERVER_PORT': '443',

 'SERVER_PROTOCOL': 'HTTP/1.1',

 'SERVER_SIGNATURE': '<address>Apache/2.2.3 (CentOS) Server at ctmanagement.ratch.co.th Port 443</address>\n',

 'SERVER_SOFTWARE': 'Apache/2.2.3 (CentOS)',

 'mod_wsgi.application_group': 'appcenter',

 'mod_wsgi.callable_object': 'application',

 'mod_wsgi.enable_sendfile': '0',

 'mod_wsgi.handler_script': '',

 'mod_wsgi.input_chunked': '0',

 'mod_wsgi.listener_host': '',

 'mod_wsgi.listener_port': '443',

 'mod_wsgi.process_group': 'appcenter',

 'mod_wsgi.queue_start': '1373467171053674',

 'mod_wsgi.request_handler': 'wsgi-script',

 'mod_wsgi.script_reloading': '1',

 'mod_wsgi.version': (3, 4),

 'wsgi.errors': <mod_wsgi.Log object at 0x2aaab2aac670>,

 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x2aaab2b66af8>,

 'wsgi.input': <mod_wsgi.Input object at 0x2aaab2aac5b0>,

 'wsgi.multiprocess': True,

 'wsgi.multithread': False,

 'wsgi.run_once': False,

 'wsgi.url_scheme': 'https',

 'wsgi.version': (1, 0)}>
 
Sorry my english is not very well
Please help me 
Thankyou.
Operating Systems:

Comments 2 CommentsJump to latest comment

Andrew_C's picture

Hello Phraiwan,

This issue, where a device can no longer be used occurs under the following scenario:

  • App Center version 4.0
  • The device's user is issued a Revoke command
  • The user is then deleted from the console

This leaves the device in a blacklisted state in the database. Normally, a De-provision command will remove the blacklist, but in the scenario above the device is not viewable in the console because the user account was deleted.

This issue was resolved in the 4.1 release of App Center. When a user is deleted, it should automatically de-provision any of that user's devices.

In order to resolve the current state that this device is in, please open an Enterprise Technical Support case and refer to this Connect post. We will then provide you with a script which can remove the blacklist association for this device.

Regards,

Andrew

SOLUTION
PHRAIWAN's picture

Hi Andrew

Thank you for your advice.

I already open an Enterprise Technical Support case.