How can I solve 0x80070585 Error code on my Python Flask wfastcgi app? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Come Celebrate our 10 Year Anniversary!How to Compile Mod_Python 3.3.1 for Python 2.6 and Apache 2.2 on Windows?uWSGI cannot find “application” using Flask and VirtualenvCauses of crash doing matrix multiply in Python/mod_wsgi/apache appConfigure basic python 3.5, flask, uwsgi, nginx appFlask with python 3.5Nginx and uWSGI Flask app Connection Refusedasp.net core shows '0x80070002 HTTP Error 502.5Getting Mod_WSGI Error: Deploying Flask Application to ElasticBeanstlkApache Server through Time Out Connection error when load an app from a browserGunicorn with flask app returning 502 error
Why did the Falcon Heavy center core fall off the ASDS OCISLY barge?
The logistics of corpse disposal
List of Python versions
3 doors, three guards, one stone
Can a USB port passively 'listen only'?
Using audio cues to encourage good posture
Why aren't air breathing engines used as small first stages
Do I really need recursive chmod to restrict access to a folder?
How to find out what spells would be useless to a blind NPC spellcaster?
What's the meaning of 間時肆拾貳 at a car parking sign
Is it true that "carbohydrates are of no use for the basal metabolic need"?
Dating a Former Employee
Using et al. for a last / senior author rather than for a first author
Selecting the same column from Different rows Based on Different Criteria
How can I (re)show post-installation notes?
Is the Standard Deduction better than Itemized when both are the same amount?
Short Story with Cinderella as a Voo-doo Witch
How come Sam didn't become Lord of Horn Hill?
How to call a function with default parameter through a pointer to function that is the return of another function?
If a contract sometimes uses the wrong name, is it still valid?
Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?
What is a non-alternating simple group with big order, but relatively few conjugacy classes?
Why is "Consequences inflicted." not a sentence?
How to react to hostile behavior from a senior developer?
How can I solve 0x80070585 Error code on my Python Flask wfastcgi app?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!How to Compile Mod_Python 3.3.1 for Python 2.6 and Apache 2.2 on Windows?uWSGI cannot find “application” using Flask and VirtualenvCauses of crash doing matrix multiply in Python/mod_wsgi/apache appConfigure basic python 3.5, flask, uwsgi, nginx appFlask with python 3.5Nginx and uWSGI Flask app Connection Refusedasp.net core shows '0x80070002 HTTP Error 502.5Getting Mod_WSGI Error: Deploying Flask Application to ElasticBeanstlkApache Server through Time Out Connection error when load an app from a browserGunicorn with flask app returning 502 error
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I'm trying to deploy a Flask app on IIS (usually doing it on an Nginx/Gunicorn stack).
My stack
I'm working with Python 3.7 installed globaly, IIS 10 on Windows 10 pro.
What I tried
- Activating CGI service on IIS
- Installing wfastcgi from https://pypi.org/project/wfastcgi/
- Enabling wfastcgi with
wfastcgi enable(and saved the output for the config file) - Deploying my app on
wwwroot/myapp - Adding a
web.configfile on thatmyappfolder that looks like this:
<configuration>
<system.webServer>
<handlers>
<add name="Python FastCGI"
path="*"
verb="*"
modules="FastCgiModule"
scriptProcessor="C:Program FilesPython37python.exe|C:Program FilesPython37Libsite-packageswfastcgi.py"
resourceType="Unspecified"
requireAccess="Script" />
</handlers>
</system.webServer>
<appSettings>
<!-- Required settings -->
<add key="WSGI_HANDLER" value="backend.wsgi.socketio" />
<add key="PYTHONPATH" value="C:inetpubwwwrootmyapp" />
</appSettings>
</configuration>
socketio is the name of my Flask app, everything is ok when I run the wsgi file "standalone".
- Creating an app in IIS linked to that folder with the right physical path
while testing app parameters, authentication step is OK, Authorization step raise a warning but not an error.
Result
When I try to reach my app I get a 500 HTTP error with the folowing 0x80070585 IIS error code.
When I "break" my web.config file (removing tag close for example), IIS tell me that the file is not well formed, so the file is reachable.
Since the error seems to come from the scriptProcessor, I double checked that both C:Program FilesPython37python.exe and C:Program FilesPython37Libsite-packageswfastcgi.py existed.
May IIS have access troubles?
I tried to inspect IIS logs, but that's not really verbose. I only have HTTP request logs.
Where should I dig to find more logs?
Thank you for yor help, note that I'm totally new to IIS and Microsoft servers, so I may have missed something big.
iis python wsgi flask wfastcgi
New contributor
Glandalf313 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I'm trying to deploy a Flask app on IIS (usually doing it on an Nginx/Gunicorn stack).
My stack
I'm working with Python 3.7 installed globaly, IIS 10 on Windows 10 pro.
What I tried
- Activating CGI service on IIS
- Installing wfastcgi from https://pypi.org/project/wfastcgi/
- Enabling wfastcgi with
wfastcgi enable(and saved the output for the config file) - Deploying my app on
wwwroot/myapp - Adding a
web.configfile on thatmyappfolder that looks like this:
<configuration>
<system.webServer>
<handlers>
<add name="Python FastCGI"
path="*"
verb="*"
modules="FastCgiModule"
scriptProcessor="C:Program FilesPython37python.exe|C:Program FilesPython37Libsite-packageswfastcgi.py"
resourceType="Unspecified"
requireAccess="Script" />
</handlers>
</system.webServer>
<appSettings>
<!-- Required settings -->
<add key="WSGI_HANDLER" value="backend.wsgi.socketio" />
<add key="PYTHONPATH" value="C:inetpubwwwrootmyapp" />
</appSettings>
</configuration>
socketio is the name of my Flask app, everything is ok when I run the wsgi file "standalone".
- Creating an app in IIS linked to that folder with the right physical path
while testing app parameters, authentication step is OK, Authorization step raise a warning but not an error.
Result
When I try to reach my app I get a 500 HTTP error with the folowing 0x80070585 IIS error code.
When I "break" my web.config file (removing tag close for example), IIS tell me that the file is not well formed, so the file is reachable.
Since the error seems to come from the scriptProcessor, I double checked that both C:Program FilesPython37python.exe and C:Program FilesPython37Libsite-packageswfastcgi.py existed.
May IIS have access troubles?
I tried to inspect IIS logs, but that's not really verbose. I only have HTTP request logs.
Where should I dig to find more logs?
Thank you for yor help, note that I'm totally new to IIS and Microsoft servers, so I may have missed something big.
iis python wsgi flask wfastcgi
New contributor
Glandalf313 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
stackoverflow.com/tags/wfastcgi/info Python on IIS is dead.
– Lex Li
Apr 11 at 13:35
add a comment |
I'm trying to deploy a Flask app on IIS (usually doing it on an Nginx/Gunicorn stack).
My stack
I'm working with Python 3.7 installed globaly, IIS 10 on Windows 10 pro.
What I tried
- Activating CGI service on IIS
- Installing wfastcgi from https://pypi.org/project/wfastcgi/
- Enabling wfastcgi with
wfastcgi enable(and saved the output for the config file) - Deploying my app on
wwwroot/myapp - Adding a
web.configfile on thatmyappfolder that looks like this:
<configuration>
<system.webServer>
<handlers>
<add name="Python FastCGI"
path="*"
verb="*"
modules="FastCgiModule"
scriptProcessor="C:Program FilesPython37python.exe|C:Program FilesPython37Libsite-packageswfastcgi.py"
resourceType="Unspecified"
requireAccess="Script" />
</handlers>
</system.webServer>
<appSettings>
<!-- Required settings -->
<add key="WSGI_HANDLER" value="backend.wsgi.socketio" />
<add key="PYTHONPATH" value="C:inetpubwwwrootmyapp" />
</appSettings>
</configuration>
socketio is the name of my Flask app, everything is ok when I run the wsgi file "standalone".
- Creating an app in IIS linked to that folder with the right physical path
while testing app parameters, authentication step is OK, Authorization step raise a warning but not an error.
Result
When I try to reach my app I get a 500 HTTP error with the folowing 0x80070585 IIS error code.
When I "break" my web.config file (removing tag close for example), IIS tell me that the file is not well formed, so the file is reachable.
Since the error seems to come from the scriptProcessor, I double checked that both C:Program FilesPython37python.exe and C:Program FilesPython37Libsite-packageswfastcgi.py existed.
May IIS have access troubles?
I tried to inspect IIS logs, but that's not really verbose. I only have HTTP request logs.
Where should I dig to find more logs?
Thank you for yor help, note that I'm totally new to IIS and Microsoft servers, so I may have missed something big.
iis python wsgi flask wfastcgi
New contributor
Glandalf313 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I'm trying to deploy a Flask app on IIS (usually doing it on an Nginx/Gunicorn stack).
My stack
I'm working with Python 3.7 installed globaly, IIS 10 on Windows 10 pro.
What I tried
- Activating CGI service on IIS
- Installing wfastcgi from https://pypi.org/project/wfastcgi/
- Enabling wfastcgi with
wfastcgi enable(and saved the output for the config file) - Deploying my app on
wwwroot/myapp - Adding a
web.configfile on thatmyappfolder that looks like this:
<configuration>
<system.webServer>
<handlers>
<add name="Python FastCGI"
path="*"
verb="*"
modules="FastCgiModule"
scriptProcessor="C:Program FilesPython37python.exe|C:Program FilesPython37Libsite-packageswfastcgi.py"
resourceType="Unspecified"
requireAccess="Script" />
</handlers>
</system.webServer>
<appSettings>
<!-- Required settings -->
<add key="WSGI_HANDLER" value="backend.wsgi.socketio" />
<add key="PYTHONPATH" value="C:inetpubwwwrootmyapp" />
</appSettings>
</configuration>
socketio is the name of my Flask app, everything is ok when I run the wsgi file "standalone".
- Creating an app in IIS linked to that folder with the right physical path
while testing app parameters, authentication step is OK, Authorization step raise a warning but not an error.
Result
When I try to reach my app I get a 500 HTTP error with the folowing 0x80070585 IIS error code.
When I "break" my web.config file (removing tag close for example), IIS tell me that the file is not well formed, so the file is reachable.
Since the error seems to come from the scriptProcessor, I double checked that both C:Program FilesPython37python.exe and C:Program FilesPython37Libsite-packageswfastcgi.py existed.
May IIS have access troubles?
I tried to inspect IIS logs, but that's not really verbose. I only have HTTP request logs.
Where should I dig to find more logs?
Thank you for yor help, note that I'm totally new to IIS and Microsoft servers, so I may have missed something big.
iis python wsgi flask wfastcgi
iis python wsgi flask wfastcgi
New contributor
Glandalf313 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Glandalf313 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited Apr 11 at 13:55
Lex Li
35229
35229
New contributor
Glandalf313 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Apr 11 at 9:25
Glandalf313Glandalf313
13
13
New contributor
Glandalf313 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Glandalf313 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Glandalf313 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
stackoverflow.com/tags/wfastcgi/info Python on IIS is dead.
– Lex Li
Apr 11 at 13:35
add a comment |
stackoverflow.com/tags/wfastcgi/info Python on IIS is dead.
– Lex Li
Apr 11 at 13:35
stackoverflow.com/tags/wfastcgi/info Python on IIS is dead.
– Lex Li
Apr 11 at 13:35
stackoverflow.com/tags/wfastcgi/info Python on IIS is dead.
– Lex Li
Apr 11 at 13:35
add a comment |
1 Answer
1
active
oldest
votes
As Microsoft seems to give up with this stack, the only serious solution is to switch to an actively maintained solution such as Nginx or Apache. Thanx @Lex Li for the link to the communication.
New contributor
Glandalf313 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Glandalf313 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f962577%2fhow-can-i-solve-0x80070585-error-code-on-my-python-flask-wfastcgi-app%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
As Microsoft seems to give up with this stack, the only serious solution is to switch to an actively maintained solution such as Nginx or Apache. Thanx @Lex Li for the link to the communication.
New contributor
Glandalf313 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
As Microsoft seems to give up with this stack, the only serious solution is to switch to an actively maintained solution such as Nginx or Apache. Thanx @Lex Li for the link to the communication.
New contributor
Glandalf313 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
As Microsoft seems to give up with this stack, the only serious solution is to switch to an actively maintained solution such as Nginx or Apache. Thanx @Lex Li for the link to the communication.
New contributor
Glandalf313 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
As Microsoft seems to give up with this stack, the only serious solution is to switch to an actively maintained solution such as Nginx or Apache. Thanx @Lex Li for the link to the communication.
New contributor
Glandalf313 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Glandalf313 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered Apr 12 at 11:24
Glandalf313Glandalf313
13
13
New contributor
Glandalf313 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Glandalf313 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Glandalf313 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
Glandalf313 is a new contributor. Be nice, and check out our Code of Conduct.
Glandalf313 is a new contributor. Be nice, and check out our Code of Conduct.
Glandalf313 is a new contributor. Be nice, and check out our Code of Conduct.
Glandalf313 is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f962577%2fhow-can-i-solve-0x80070585-error-code-on-my-python-flask-wfastcgi-app%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
stackoverflow.com/tags/wfastcgi/info Python on IIS is dead.
– Lex Li
Apr 11 at 13:35