mod_bosh crashing with latest compile from mercurial

48 views
Skip to first unread message

Peter Villeneuve

unread,
May 7, 2014, 5:50:55 PM5/7/14
to proso...@googlegroups.com
Hi,

I just compiled from latest mercurial on my Debian 7 server and now I get the following error.
Any clue as to what's wrong?

Cheers


May 07 21:46:43 bosh920eddab-981f-4548-9d7f-9405b1c86dbf	debug	Received[c2s]: <presence to='7xtmnmfh...@conference.my.domain.com/b9919ff2'>
May 07 21:46:43 mod_muc	debug	b9919ff2-4b33-422d...@my.domain.com/3a02ecfd-903f-4135-8b57-abf69a44cf6c joining as 7xtmnmfh...@conference.my.domain.com/b9919ff2
May 07 21:46:43 mod_bosh	error	Traceback[bosh]: /usr/lib/prosody/modules/muc/muc.lib.lua:172: attempt to call method 'get_child' (a nil value)
stack traceback:
	/usr/lib/prosody/modules/muc/muc.lib.lua:172: in function 'parse_history'
	/usr/lib/prosody/modules/muc/muc.lib.lua:242: in function 'send_history'
	/usr/lib/prosody/modules/muc/muc.lib.lua:594: in function </usr/lib/prosody/modules/muc/muc.lib.lua:550>
	(tail call): ?

Peter Villeneuve

unread,
May 8, 2014, 3:57:12 PM5/8/14
to proso...@googlegroups.com
Well I decided to remove Prosody and reinstall the 10 nightly debian package.
Bosh doesn't crash now although I'm still having problems with a previously working setup.

Have there been any major changes to mod_bosh or any other core mods in latest nightly?

Here's the error I'm now getting in nginx logs:

[error] 7972#0: *69 upstream timed out (110: Connection timed out) while reading response header from upstream, client: xx.xx.xx.xx, server: meet.domain.com, request: "POST /http-bind HTTP/1.1", upstream: "http://[::1]:5280/http-bind", host: "meet.domain.com", referrer: "https://meet.domain.com/s6xtj6rzq90y66r

Any help?

Thanks


On Wednesday, May 7, 2014 10:50:55 PM UTC+1, Peter Villeneuve wrote:
Hi,

I just compiled from latest mercurial on my Debian 7 server and now I get the following error.
Any clue as to what's wrong?

Cheers


May 07 21:46:43 bosh920eddab-981f-4548-9d7f-9405b1c86dbf	debug	Received[c2s]: <presence to='7xtmnmfhsqjs8aor@conference.my.domain.com/b9919ff2'>
May 07 21:46:43 mod_muc	debug	b9919ff2-4b33-422d-931a-806a5a...@my.domain.com/3a02ecfd-903f-4135-8b57-abf69a44cf6c joining as 7xtmnmfhsqjs8aor@conference.my.domain.com/b9919ff2

Waqas Hussain

unread,
May 8, 2014, 6:30:23 PM5/8/14
to Prosody IM Developers Group
Hey, apologies about the issue with trunk.

The error you are seeing is in MUC, not BOSH. We have a new version of mod_muc, which has only partially been merged in trunk due to some issues. The rest of it should make it into the repo shortly.

The nginx error.. can you access "http://[::1]:5280/http-bind" via cURL? It might be the IPv6 addressing, so give 127.0.0.1 a try as well.

mod_bosh has not seen any significant changes recently, so I don't expect it to be broken in 0.10. Feel free to join our chatroom to discuss this live.

--
Waqas Hussain

Peter Villeneuve

unread,
May 9, 2014, 4:29:03 PM5/9/14
to proso...@googlegroups.com
Hi Waqas,

Thanks for the reply.
I tested out using ip4 and the problem remains. It's probably not a bosh issue after all.
Perhaps it is the mod_muc after all. I'll wait until it's in the repo and I'll try again.

Thanks,

Peter


On Thursday, May 8, 2014 11:30:23 PM UTC+1, Waqas wrote:
On Thu, May 8, 2014 at 3:57 PM, Peter Villeneuve <pete...@gmail.com> wrote:
Well I decided to remove Prosody and reinstall the 10 nightly debian package.
Bosh doesn't crash now although I'm still having problems with a previously working setup.

Have there been any major changes to mod_bosh or any other core mods in latest nightly?

Here's the error I'm now getting in nginx logs:

[error] 7972#0: *69 upstream timed out (110: Connection timed out) while reading response header from upstream, client: xx.xx.xx.xx, server: meet.domain.com, request: "POST /http-bind HTTP/1.1", upstream: "http://[::1]:5280/http-bind", host: "meet.domain.com", referrer: "https://meet.domain.com/s6xtj6rzq90y66r

Any help?

Thanks


On Wednesday, May 7, 2014 10:50:55 PM UTC+1, Peter Villeneuve wrote:
Hi,

I just compiled from latest mercurial on my Debian 7 server and now I get the following error.
Any clue as to what's wrong?

Cheers


May 07 21:46:43 bosh920eddab-981f-4548-9d7f-9405b1c86dbf	debug	Received[c2s]: <presence to='7xtmnmfhsqjs8aor@conference.my.domain.com/b9919ff2
May 07 21:46:43 mod_bosh	error	Traceback[bosh]: /usr/lib/prosody/modules/muc/muc.lib.lua:172: attempt to call method 'get_child' (a nil value)
stack traceback:
	/usr/lib/prosody/modules/muc/muc.lib.lua:172: in function 'parse_history'
	/usr/lib/prosody/modules/muc/muc.lib.lua:242: in function 'send_history'
	/usr/lib/prosody/modules/muc/muc.lib.lua:594: in function </usr/lib/prosody/modules/muc/muc.lib.lua:550>
	(tail call): ?

Peter Villeneuve

unread,
May 10, 2014, 1:58:00 PM5/10/14
to proso...@googlegroups.com
Hi Waqas,

Tried out yesterday's nightly build 484 (2014-05-09, 3942630b4e35) and I'm still getting the MUC crash when using jitmeet.

May 10 17:31:44 mod_bosh error Traceback[bosh]: /usr/lib/prosody/modules/muc/muc.lib.lua:172: attempt to call method 'get_child' (a nil value)
stack traceback:
/usr/lib/prosody/modules/muc/muc.lib.lua:172: in function 'parse_history'
/usr/lib/prosody/modules/muc/muc.lib.lua:242: in function 'send_history'
/usr/lib/prosody/modules/muc/muc.lib.lua:594: in function </usr/lib/prosody/modules/muc/muc.lib.lua:550>
(tail call): ?
(tail call): ?
(tail call): ?
/usr/lib/prosody/util/events.lua:67: in function 'fire_event'
/usr/lib/prosody/core/stanza_router.lua:184: in function 'core_post_stanza'
/usr/lib/prosody/core/stanza_router.lua:132: in function </usr/lib/prosody/core/stanza_router.lua:55>
(tail call): ?
...
/usr/lib/prosody/net/http/server.lua:124: in function 'success_cb'
/usr/lib/prosody/net/http/parser.lua:150: in function 'feed'
/usr/lib/prosody/net/http/server.lua:146: in function 'onincoming'
/usr/lib/prosody/net/server_event.lua:631: in function </usr/lib/prosody/net/server_event.lua:581>
[C]: in function 'loop'
/usr/lib/prosody/net/server_event.lua:780: in function </usr/lib/prosody/net/server_event.lua:779>
[C]: in function 'xpcall'
/usr/bin/prosody:370: in function 'loop'
/usr/bin/prosody:401: in main chunk
[C]: ?

Any idea when the MUC issues will be resolved and pushed to trunk?

Cheers,

Peter

Matthew Wild

unread,
May 10, 2014, 4:32:34 PM5/10/14
to Prosody IM Developers Group
Hi Peter,

On 10 May 2014 18:58, Peter Villeneuve <pete...@gmail.com> wrote:
> Any idea when the MUC issues will be resolved and pushed to trunk?

I just pushed a fix, it should be in the next nightly build (ready
about 6am UTC). Sorry for the delay and thanks for the report.

Regards,
Matthew

Peter Villeneuve

unread,
May 10, 2014, 4:42:44 PM5/10/14
to proso...@googlegroups.com
Hi Matthew,

Thanks for the quick response.
I appreciate it.

Best,
Peter

Peter Villeneuve

unread,
May 11, 2014, 10:36:41 AM5/11/14
to proso...@googlegroups.com
Hi Matthew,

Is it available yet? I can't seem to find it.

Cheers



--
You received this message because you are subscribed to a topic in the Google Groups "prosody-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/prosody-dev/X5KuYvzxil4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to prosody-dev...@googlegroups.com.
To post to this group, send email to proso...@googlegroups.com.
Visit this group at http://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.

Matthew Wild

unread,
May 11, 2014, 10:22:46 PM5/11/14
to Prosody IM Developers Group
On 11 May 2014 15:36, Peter Villeneuve <pete...@gmail.com> wrote:
> Hi Matthew,
>
> Is it available yet? I can't seem to find it.

Really sorry Peter, for some unknown reason the commit hadn't
successfully pushed. I've done so now, and the builds should be done
in a few hours.

Regards,
Matthew

Peter Villeneuve

unread,
May 12, 2014, 8:19:11 AM5/12/14
to proso...@googlegroups.com
No worries. Thanks for your effort.
By the way, it seems that prosody.im is down.

Best,

Peter



Regards,
Matthew

Matthew Wild

unread,
May 12, 2014, 8:25:48 AM5/12/14
to Prosody IM Developers Group
On 12 May 2014 13:19, Peter Villeneuve <pete...@gmail.com> wrote:
> No worries. Thanks for your effort.
> By the way, it seems that prosody.im is down.

Yes, sorry - system crash, it should be back shortly (within in an hour).

Regards,
Matthew

Peter Villeneuve

unread,
May 12, 2014, 8:28:46 AM5/12/14
to proso...@googlegroups.com
No problem. By the way, I noticed the other days that recent builds weren't available for Wheezy but only Jessie and others.
Is this latest one available for Wheezy amd64 too?



Regards,
Matthew

Matthew Wild

unread,
May 12, 2014, 8:31:48 AM5/12/14
to Prosody IM Developers Group
On 12 May 2014 13:28, Peter Villeneuve <pete...@gmail.com> wrote:
> No problem. By the way, I noticed the other days that recent builds weren't
> available for Wheezy but only Jessie and others.
> Is this latest one available for Wheezy amd64 too?

It should be available for all unless the builds fail for some reason.
I'll check when the server comes back up.

Regards,
Matthew

Peter Villeneuve

unread,
May 12, 2014, 8:48:18 AM5/12/14
to proso...@googlegroups.com
Server is back up but indeed it seems the wheezy package wasn't built

The requested URL /debian/pool/main/p/prosody-trunk/prosody-trunk_1nightly485-1~wheezy_amd64.deb was not found on this server.



Regards,
Matthew

Kim Alvefur

unread,
May 12, 2014, 9:57:04 AM5/12/14
to proso...@googlegroups.com
On 2014-05-12 14:48, Peter Villeneuve wrote:
> Server is back up but indeed it seems the wheezy package wasn't built
>
> The requested URL
> /debian/pool/main/p/prosody-trunk/prosody-trunk_1nightly485-1~wheezy_amd64.deb
> was not found on this server.

The build environments needed some updates. They are being rebuilt now
and we'll restart builds of failed packages.

--
Kim "Zash" Alvefur

signature.asc
Reply all
Reply to author
Forward
0 new messages