Mono Nancyfx执行路由,但不返回结果。(在覆盆子皮单声道上运行)

Mono Nancyfx执行路由,但不返回结果。(在覆盆子皮单声道上运行),mono,response,raspberry-pi,nancy,Mono,Response,Raspberry Pi,Nancy,我目前在我的raspberry pi上运行Mono JIT编译器版本2.10.8.1(Debian 2.10.8.1-5)。我从主分支编译了nancyfx monorelease配置 应用程序按预期启动 Nancy now listening - navigating to http://localhost:8888/nancy/. Press enter to stop 然后我运行一个测试,如下所示 pi@raspberrypi ~ $ wget http://localhost:888

我目前在我的raspberry pi上运行Mono JIT编译器版本2.10.8.1(Debian 2.10.8.1-5)。我从主分支编译了nancyfx monorelease配置

应用程序按预期启动

Nancy now listening - navigating to http://localhost:8888/nancy/. 
Press enter to stop
然后我运行一个测试,如下所示

pi@raspberrypi ~ $ wget  http://localhost:8888/nancy/
--2013-04-13 06:39:12--  http://localhost:8888/nancy/
Resolving localhost (localhost)... 127.0.0.1, ::1
Connecting to localhost (localhost)|127.0.0.1|:8888... connected.
HTTP request sent, awaiting response... 
这永远不会完成。它就在那里

我添加了一些日志记录,我可以看到它处理模块上的路由操作,但它似乎从未返回http响应

以前有人见过这个吗?有没有办法添加更多异常捕获

以下消息没有透露任何情况

 public class LoggingErrorHandler : IErrorHandler
{
    private readonly ILog _logger = LogManager.GetLogger(typeof(LoggingErrorHandler));

    public bool HandlesStatusCode(HttpStatusCode statusCode)
    {
        return statusCode == HttpStatusCode.InternalServerError;
    }

    public bool HandlesStatusCode(HttpStatusCode statusCode, NancyContext context)
    {
        return statusCode == HttpStatusCode.InternalServerError;
    }

    public void Handle(HttpStatusCode statusCode, NancyContext context)
    {
        object errorObject;
        context.Items.TryGetValue(NancyEngine.ERROR_EXCEPTION, out errorObject);
        var error = errorObject as Exception;
        _logger.Error("Unhandled error", error);
    }
}
有什么想法吗


谢谢

我从来没见过这个-你回来的是什么?创建NancyHost时,您可以提供一个HostConfiguration对象,该对象上的一个属性可能有助于了解问题所在。

我也遇到了同样的问题,您是否已经解决了这个问题?