N
N
notfallen2016-09-29 09:36:58
Flask
notfallen, 2016-09-29 09:36:58

What can cause an error from WSGIServer after accessing the .fcgi file?

Hello! When accessing the .fcgi file, I encountered the following problem.

/home/n/notfallen/myenv/local/lib/python2.7/site-packages/flask_admin/contrib/sqlamodel/__init__.py:3: UserWarning: Flask-Admin sqlalchemy integration module was renamed as flask.ext.admin.contrib.sqla, please use it instead.
  warnings.warn('Flask-Admin sqlalchemy integration module was renamed as flask.ext.admin.contrib.sqla, please use it instead.')
/home/n/notfallen/myenv/local/lib/python2.7/site-packages/flask_admin/model/base.py:617: UserWarning: Property excluded_list_columns is obsolete, please use column_exclude_list instead
  if self.column_exclude_list:
/home/n/notfallen/myenv/local/lib/python2.7/site-packages/flask_admin/model/base.py:618: UserWarning: Property excluded_list_columns is obsolete, please use column_exclude_list instead
  columns = [c for c in columns if c not in self.column_exclude_list]
WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI!
WSGIServer: missing FastCGI param SERVER_NAME required by WSGI!
WSGIServer: missing FastCGI param SERVER_PORT required by WSGI!
WSGIServer: missing FastCGI param SERVER_PROTOCOL required by WSGI!
Status: 301 MOVED PERMANENTLY
Content-Type: text/html; charset=utf-8
Content-Length: 241
Location: http://localhost/

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>Redirecting...</title>
<h1>Redirecting...</h1>
<p>You should be redirected automatically to target URL: <a href="http://localhost/">http://localhost/</a>.  If not click the link.


Can you suggest what could cause such a message from WSGIServer when accessing FCGI?

I get a 500 error when I try to login to the site. I'm assuming this is something that is causing the 500 error when I try to login to the site. Is that possible?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question