[Mono-aspnet-list] Mono.WebServer error (70014) End of file found: read_data failed, Command stream corrupted, last command was -1

erasmo.diantonio erasmo.diantonio at gmail.com
Mon May 25 10:53:31 UTC 2015


Hi there,
first of all thanks to everyone for the help that you can give me.

I configured a few asp.net applications on Apache with mono and mod_mono.
Each application has its own AddMonoApplications directive.

The virtual applications are configured like this:

# virtual application dhedesktop/dktnet/global/elogin
Alias /dhedesktop/dktnet/global/elogin
"/home/dhe/dhe_desktop/released/dktnet/global/elogin"
AddMonoApplications dkt
"/dhedesktop/dktnet/global/elogin:/home/dhe/dhe_desktop/released/dktnet/global/elogin"
<Location "/dhedesktop/dktnet/global/elogin">
	SetHandler mono
	MonoSetServerAlias dkt
	Require all granted
	Order allow,deny
	Allow from all
	SetOutputFilter DEFLATE
	SetEnvIfNoCase Request_URI "\.(?:gif|jpe?g|png)$" no-gzip dont-vary
</Location>

# Virtual application dhedesktop/dktnet/emenusi
Alias /dhedesktop/dktnet/emenusi
"/home/dhe/dhe_desktop/released/dktnet/emenusi"
AddMonoApplications dkt
"/dhedesktop/dktnet/emenusi:/home/dhe/dhe_desktop/released/dktnet/emenusi"
<Location "/dhedesktop/dktnet/emenusi">
	SetHandler mono
	MonoSetServerAlias dkt
	Require all granted
	Order allow,deny
	Allow from all
	SetOutputFilter DEFLATE
	SetEnvIfNoCase Request_URI "\.(?:gif|jpe?g|png)$" no-gzip dont-vary
</Location>

The machine configuration are:
- Centos 7 64bit
- Apache 2.4.6 64bit
- Mono 4.0.1 64bit
- xsp 4 and .net 4.0 (/usr/bin/mono --debug
/usr/lib/mono/4.5/mod-mono-server4.exe)

After a few clicks, while browsing from one application to another, apache
returns the following error: 500 Internal Server Error and the content of
Apache error log file is:

Thread was being aborted
  at <0x00000 + 0x00000> <unknown method>
  at <0x00000 + 0x00000> <unknown method>
  at <0x00000 + 0x00000> <unknown method>
  at <0x00000 + 0x00000> <unknown method>
  at <0x00000 + 0x00000> <unknown method>
  at <0x00000 + 0x00000> <unknown method>
  at <0x00000 + 0x00000> <unknown method>
  at <0x00000 + 0x00000> <unknown method>
  at System.AppDomain.InvokeInDomain (System.AppDomain domain,
System.Reflection.MethodInfo method, System.Object obj, System.Object[]
args) [0x00017] in
/builddir/build/BUILD/mono-4.0.1/mcs/class/corlib/System/AppDomain.cs:904 
  at System.Runtime.Remoting.RemotingServices.GetDomainProxy
(System.AppDomain domain) [0x00008] in
/builddir/build/BUILD/mono-4.0.1/mcs/class/corlib/System.Runtime.Remoting/RemotingServices.cs:846 
  at System.AppDomain.CreateDomain (System.String friendlyName,
System.Security.Policy.Evidence securityInfo, System.AppDomainSetup info)
[0x000e4] in
/builddir/build/BUILD/mono-4.0.1/mcs/class/corlib/System/AppDomain.cs:998 
  at System.Web.Hosting.ApplicationHost.CreateApplicationHost (System.Type
hostType, System.String virtualDir, System.String physicalDir) [0x00221] in
/builddir/build/BUILD/mono-4.0.1/mcs/class/System.Web/System.Web.Hosting/ApplicationHost.cs:222 
  at Mono.WebServer.VPathToHost.CreateHost (Mono.WebServer.ApplicationServer
server, Mono.WebServer.WebSource webSource) [0x00048] in
/builddir/build/BUILD/xsp-3.8/src/Mono.WebServer/VPathToHost.cs:143 
  at Mono.WebServer.ApplicationServer.GetApplicationForPath (System.String
vhost, Int32 port, System.String path, Boolean defaultToRoot) [0x000aa] in
/builddir/build/BUILD/xsp-3.8/src/Mono.WebServer/ApplicationServer.cs:514 
  at (wrapper remoting-invoke-with-check)
Mono.WebServer.ApplicationServer:GetApplicationForPath
(string,int,string,bool)
  at Mono.WebServer.Apache.ModMonoWorker.InnerRun () [0x0013f] in
/builddir/build/BUILD/xsp-3.8/src/Mono.WebServer.Apache/ModMonoWorker.cs:217 
  at Mono.WebServer.Apache.ModMonoWorker.Run (System.Object state) [0x00003]
in
/builddir/build/BUILD/xsp-3.8/src/Mono.WebServer.Apache/ModMonoWorker.cs:90 
[Mon May 25 11:42:43.382224 2015] [:error] [pid 1481:tid 140180853864192]
(70014)End of file found: read_data failed
[Mon May 25 11:42:43.382279 2015] [:error] [pid 1481:tid 140180853864192]
Command stream corrupted, last command was -1

Within asp.net applications i'm using .net remoting to implements session
state management.

I've googled internet for and i've searched among this mailing list but i
didn't find any solution.

thanks again.




--
View this message in context: http://mono.1490590.n4.nabble.com/Mono-WebServer-error-70014-End-of-file-found-read-data-failed-Command-stream-corrupted-last-command-1-tp4666032.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list