I've set up nginx to work with ServiceStack on Ubuntu 10.04.
This is the command line I use to start fastcgi-mono-server4:
/usr/lib/mono/4.0/fastcgi-mono-server4.exe --appconfigdir /etc/init.d/mono-fastcgi /socket=unix:/var/tmp/SOCK-WW /logfile=/var/log/mono/fastcgi.log &
nginx is set up correctly to communicate with fastcgi via sockets:
...
location / {
root /var/www/server01;
index index.html index.htm default.aspx Default.aspx;
fastcgi_index Default.aspx;
fastcgi_pass unix:/var/tmp/SOCK-WW;
include /etc/nginx/fastcgi_params;
}
...
The website gets delivered correctly, but in my fastcgi.log I see these lines on every request:
[2013-08-01 10:43:37Z] Notice Beginning to receive records on connection.
[2013-08-01 10:43:37Z] Error Failed to process connection. Reason: The object was used after being disposed.
The versions of software involved:
Is there a way to get rid of this error? Is this error severe anyway?
The fastcgi-mono-server4.exe is crashing randomly on my server and I want to sort out all possible errors, as I've not found any reasonable crashlogs yet.
Could you try with a recent mono and/or xsp?
By recent I mean mono > 3.0 and a xsp tag from github > 3.0 or even master.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With