Bug #2505
Bug #2500: Doesn't work on Splunk 8.0
Setup page doesn't work
Start date:
11/10/2019
Due date:
% Done:
100%
Associated revisions
Fixing URL for the config page
Reference #2505
History
#1 Updated by Luke Murphey about 5 years ago
The problem is that I don't ship a default website_monitoring.conf stanza but I also don't support handleCreate.
#2 Updated by Luke Murphey about 5 years ago
Questions:
- Does editing work?
- It does
- What does restmap.conf say is the create action?
- Is there any difference between the edit and new requests?
- On new: http://127.0.0.1:8000/en-US/splunkd/servicesNS/nobody/website_monitoring/admin/website_monitoring/default
- On edit: http://127.0.0.1:8000/en-US/splunkd/__raw/servicesNS/nobody/website_monitoring/admin/website_monitoring/default
- Data:
output_mode json name default proxy_server proxy_port proxy_type http proxy_ignore proxy_user proxy_password thread_limit 201
**
- My log entry is not showing any calls to handleCreate()
- Are there any related messages?
500 Internal Server Error The server encountered an unexpected condition which prevented it from fulfilling the request.
2019-11-11 16:52:53,656 ERROR [5dca0265a010dde8290] error:335 - Traceback (most recent call last): File "/Users/lmurphey/Splunk/800/lib/python3.7/site-packages/cherrypy/_cprequest.py", line 628, in respond self._do_respond(path_info) File "/Users/lmurphey/Splunk/800/lib/python3.7/site-packages/cherrypy/_cprequest.py", line 687, in _do_respond response.body = self.handler() File "/Users/lmurphey/Splunk/800/lib/python3.7/site-packages/cherrypy/lib/encoding.py", line 219, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/Users/lmurphey/Splunk/800/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/htmlinjectiontoolfactory.py", line 75, in wrapper resp = handler(*args, **kwargs) File "/Users/lmurphey/Splunk/800/lib/python3.7/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__ return self.callable(*self.args, **self.kwargs) File "/Users/lmurphey/Splunk/800/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/routes.py", line 383, in default return route.target(self, **kw) File "</Users/lmurphey/Splunk/800/lib/python3.7/site-packages/decorator.py:decorator-gen-1656>", line 2, in index File "/Users/lmurphey/Splunk/800/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 40, in rundecs return fn(*a, **kw) File "</Users/lmurphey/Splunk/800/lib/python3.7/site-packages/decorator.py:decorator-gen-1654>", line 2, in index File "/Users/lmurphey/Splunk/800/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 118, in check return fn(self, *a, **kw) File "</Users/lmurphey/Splunk/800/lib/python3.7/site-packages/decorator.py:decorator-gen-1653>", line 2, in index File "/Users/lmurphey/Splunk/800/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 166, in validate_ip return fn(self, *a, **kw) File "</Users/lmurphey/Splunk/800/lib/python3.7/site-packages/decorator.py:decorator-gen-1652>", line 2, in index File "/Users/lmurphey/Splunk/800/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 304, in handle_exceptions return fn(self, *a, **kw) File "/Users/lmurphey/Splunk/800/lib/python3.7/site-packages/splunk/appserver/mrsparkle/controllers/proxy.py", line 176, in index logger.debug('[Splunkweb Proxy Traffic] request body: %s' % cherrypy.request.body_params) File "/Users/lmurphey/Splunk/800/lib/python3.7/site-packages/cherrypy/__init__.py", line 224, in __getattr__ return getattr(child, name) AttributeError: 'Request' object has no attribute 'body_params'
#3 Updated by Luke Murphey about 5 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100