Long polling crashes using Mitsulin #104

Closed
rokob opened this Issue Apr 20, 2012 · 7 comments

Projects

None yet

5 participants

@rokob

I was following along on your tutorial and kept getting 500s when doing the long polling example with {server, mitsulin} set in the config. I changed it to mochiweb and everything worked just fine. As OTP error messages go, the one I was getting didn't help too much. Here it is anyway:

=ERROR REPORT==== 20-Apr-2012::08:49:00 ===
module: misultin_http
line: 708
error in custom loop: killed serving request: {req,#Port<0.8914>,http,
{127,0,0,1},
49289,undefined,keep_alive,
undefined,
{1,1},
'GET',
{abs_path,
"/greeting/pull/1334936926257932"},
[],
[{'Host',"localhost:8001"},
{'Connection',"keep-alive"},
{'Referer',
"http://localhost:8001/greeting/live"},
{'Cache-Control',"max-age=0"},
{"X-Requested-With",
"XMLHttpRequest"},
{'User-Agent',
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1"},
{'Accept',"/"},
{'Accept-Encoding',
"gzip,deflate,sdch"},
{'Accept-Language',
"en-US,en;q=0.8"},
{'Accept-Charset',
"ISO-8859-1,utf-8;q=0.7,*;q=0.3"},
{'Cookie',
"_boss_session=d1b34df9e7f8b8cb2fc3144e8d800520c71d2ec0"}],
<<>>,false}

@evanmiller

What version of CB are you using?

@rokob

0.7.3, I ran git clone Apr 18.

@bluegraybox

Hi! Had the same problem. Switched to mochiweb, and it went away. Since misultin has been discontinued, I'm ok with that fix. :)

@timClicks

Close as wontfix?

@evanmiller

Well, mightfix if we figure out what the problem is.

I like having Misultin around as it helps with debugging, and performance is still better than Mochiweb.

@timClicks

For me, Misulton doesn't crash, but long polling no longer works when there are 6 live connections. That is, long polling works fine for me with 5 browser tabs open. With 6, it is unresponsive. Close one, and everything is fine again.

@zkessin

As Misultin is no longer in development I am closing this issue as won't fix

@zkessin zkessin closed this Dec 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment