Hi,
I’m looking for further documentation or support materials to assist me with configuring the pyagent for Django using webfaction, apache wsgi and virtualenv. The 44 docs detail a python email address but I've had no reply.
I’ve installed and configured the agent as per the docs, my site loads and functions as expected. But when starting the proxy manually it simply loops trying to connect creating pids and no agent connection to the controller is successful.
I’m able to invoke curl to the controller and get a correct response, so I’m suspecting my config within httpd.conf is not correct.
My scriptalias points to a .py file, with ScriptAlias pointing to wsgi.py file. W ithin wsgi.py a wsgi handler is created with application = get_wsgi_application(), which is of type <class 'django.core.handlers.wsgi.WSGIHandler’> so I refereenced this in the APPD_WSGI_MODULE variable.
SetEnv APPD_CONFIG_FILE /path-to-config/appdynamics.cfg
SetEnv APPD_WSGI_MODULE myapp.config.wsgi:application
WSGIDaemonProcess wowtest processes=2 threads=12 python-
WSGIProcessGroup wowtest
WSGIRestrictEmbedded On
WSGILazyInitialization On
WSGIScriptAlias / /path-to-venv/venv/lib/python3.6/site-packages/appdynamics/scripts/wsgi.py
When manually running the proxy passing the app dynamics.cfg path with the -c flag, no connection is made the proxy appears to keep trying to connect
Is there any further information for configuring the agent for pyagent for Django wssgi?
Thanks
... View more