4

我从我的 heroku 应用程序日志中收到此错误。我本地机器上的相同代码运行良好。但不是在 heroku 服务器上,这是来自终端的确切错误。

    2015-02-09T12:00:03.532045+00:00 heroku[router]: at=info method=GET path="/socket.io/1/websocket/37ykGNWYvQ20k6c2LH4k?__sails_io_sdk_version=0.10.0&__sails_io_sdk_platform=browser&__sails_io_sdk_language=javascript" host=myapp.herokuapp.com request_id=6f3206e0-db44-4252-8eba-75a6d5724be0 fwd="95.34.203.67" dyno=web.1 connect=1ms service=598515ms status=101 bytes=129
    2015-02-09T12:00:03.431464+00:00 app[web.1]: RangeError: Maximum call stack size exceeded
    2015-02-09T12:00:03.430489+00:00 app[web.1]:         throw message;      
    2015-02-09T12:00:03.430500+00:00 app[web.1]:               ^
    2015-02-09T12:00:03.360874+00:00 app[web.1]: 
    2015-02-09T12:00:03.430103+00:00 app[web.1]: /app/node_modules/sails-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:246
    2015-02-09T12:00:03.531458+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=POST path="/app/issues" host=myapp.herokuapp.com request_id=b95a2e6f-7573-4581-8523-e745c125f6c6 fwd="192.168.0.146,112.196.35.195" dyno=web.1 connect=1ms service=1563ms status=503 bytes=0

由于 mongoDB 版本的sails 版本的一些更新,做了一些研发并发现它。但我没有对此进行任何更新。请提出一些答案如何解决这个问题

4

0 回答 0