Mono app with mod_fastcgi of version 1.4.52
Added by shivasn almost 5 years ago
Hi,
we are running lighttpd on a Embedded device based on Linux and Android.
Earlier we were using lighttpd version 1.4.35.
We have 2 backend fcgihandlers running.
once module is running on C++ and it uses fastcgi library to talk to mod_fastcgi.
There is one more module listening on port 40235 which is written using C#. We run this code using mono and this talks to mod_fastcgi using Asp.Net fastcgi available at https://www.nuget.org/packages/Grillisoft.FastCgi.Owin/
Everything was running fine
Then we decided to upgrade lighttpd to 1.4.52.
After this, the c++ module still works fine. But the Mono module doesnt work as expected.
None of the browsers are able to load the webpages served by C# code.
Did wireshark and observed that, browser is able to get some data; But, after receiving some data, browser is sending RST.
Not sure what could be the reason for this.
Tried to debug the code. But, could not get much information.
Have attached the stripped down config file used by us.
This was the URL we were trying to access
http://10.88.12.136/cws/avf/FreeForm/FreeFormSystemSettings.html
So, can someone please help us on this
lighttpd-simple.conf (1.73 KB) lighttpd-simple.conf | Stripped down config file | ||
at_chrome_with_4_52.pcapng (235 KB) at_chrome_with_4_52.pcapng | Wireshark when tried to access the file at chrome with device running lighttpd 1.4.52 | ||
joinrequest_1.4.52.zip (9.33 KB) joinrequest_1.4.52.zip | TCP Dump taken at device with lighttpd 1.4.52 | ||
joinrequest_35_40235.zip (879 KB) joinrequest_35_40235.zip | TCP dump taken at device with lighttpd 1.4.35 | ||
at_chrome_with_4_35.zip (1.62 MB) at_chrome_with_4_35.zip | Wireshark when tried to access the file at chrome with device running lighttpd 1.4.35 |
Replies (1)
RE: Mono app with mod_fastcgi of version 1.4.52 - Added by gstrauss almost 5 years ago
What I read is "my fastcgi app stopped working, but I haven't focused my troubleshooting on the fastcgi app".
If you replace the C# with a simple "hello world" FastCGI app in PHP, do things work? If so, focus on your broken FastCGI implementation in C#.
Since you seem to be a sysadmin and not a programmer, I recommend strace on the server and look at the what lighttpd sends and receives from your C# backend, and what the C# backend receives and sends to lighttpd. Compare the traces when using lighttpd 1.4.35 and 1.4.52. Latest lighttpd is lighttpd 1.4.54.