FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.
MIT License
10.44k stars 637 forks source link

<ServerResponse> has no method 'setTimeout'", #193

Closed Meai1 closed 11 years ago

Meai1 commented 11 years ago

{ "error": "Object # has no method 'setTimeout'", "errorType": "TypeError", "stack": "TypeError: Object # has no method 'setTimeout'\n at Object.ensureAuthenticated as handle\n at next (/home/pc/programming/node/lib/node_modules/ungit/node_modules/express/node_modules/connect/lib/proto.js:190:15)\n at Object.noCache as handle\n at next (/home/pc/programming/node/lib/node_modules/ungit/node_modules/express/node_modules/connect/lib/proto.js:190:15)\n at Object.noCache as handle\n at next (/home/pc/programming/node/lib/node_modules/ungit/node_modules/express/node_modules/connect/lib/proto.js:190:15)\n at Object.expressInit as handle\n at next (/home/pc/programming/node/lib/node_modules/ungit/node_modules/express/node_modules/connect/lib/proto.js:190:15)\n at Object.query as handle\n at next (/home/pc/programming/node/lib/node_modules/ungit/node_modules/express/node_modules/connect/lib/proto.js:190:15)" }

FredrikNoren commented 11 years ago

Closing as duplicate of #178. Also this will be solved with the next version of ungit (which checks if that method is available before using it), even though that means the timeouts of request will be the default two minutes => long clones or fetches become impossible