jonas’so not having any idea what React Native is, trying to use a python library in react native is nonsense, isn’t it?
Beherithas left
Beherithas joined
Beherithas left
Beherithas joined
Beherithas left
Beherithas joined
Beherithas left
Beherithas joined
Beherithas left
Beherithas joined
Beherithas left
kikuchiyohas left
Beherithas joined
lovetoxi think React Native is a js framework
ZashI was under the impression that React was the js framework, and react native is ... ??? somehow it's native.
wurstsalathas left
wurstsalathas joined
lovetoxhas left
kikuchiyohas joined
KevReact native is like react, but compiles down for Android and iOS, IIUC.
kikuchiyohas left
kikuchiyohas joined
kikuchiyohas left
Beherithas left
Beherithas joined
kikuchiyohas joined
waqashas joined
kikuchiyohas left
kikuchiyohas joined
kikuchiyohas left
Beherithas left
adiaholic_has left
adiaholic_has joined
Beherithas joined
adiaholic_has left
alexishas left
alexishas joined
Beherithas left
Beherithas joined
Wojtekhas joined
kikuchiyohas joined
kikuchiyohas left
adiaholic_has joined
adiaholic_has left
adiaholic_has joined
lovetoxhas joined
mbthas joined
Beherithas left
xeckshas left
mbthas left
adiaholic_has left
adiaholic_has joined
xeckshas joined
Beherithas joined
alexishas left
kikuchiyohas joined
kikuchiyohas left
kikuchiyohas joined
Wojtekhas left
adiaholic_has left
adiaholic_has joined
mbthas joined
mbthi everyone, i have an mobile application development ongoing but i have a problem on my xmpp connection. so there is nothing wrong at first but after 5 minutes im getting disconnetted and when i tried to send message i cant. then im sending presence again and reconnecting but it takes time. my server is prosody btw. any help here? thanks!
lovetoxare you saying there are no stanzas exchanged for 5 minutes?
lovetoxare you using a proxy?
ZashWhat platform?
mbtno im not using proxy, but only using muc. using react native and xmpp.js, first 5 minutes is okay i can do anything then i need to reconnect
lovetoxmbt and do you receive anything before disconnect? a </stream> from the server
lovetoxotherwise you should look at server debug logs,im sure it prints the reason for the disconnect
mbtno, i see this after 5minutes, as SENT: <close xmlns="urn:ietf:params:xml:ns:xmpp-framing"/>
mbti dont have any code of line to stop the connection, still it sends this stanza..
kikuchiyohas left
lovetoxok so websocket
lovetoxdo you have keepalive ping enabled on the websocket connection?
mbtum how can i enable that? i tried to use mod_ping in prosody and activated in my config. but still my pings receive service-unavailable.
lovetoxno not on the server
lovetoxyour library needs to enable it on client side
kikuchiyohas joined
lovetoxor maybe its enabled by default, i have no idea, on my library i have to set a interval and need to enable it
mbtok so i will look for xmpp.js keepalive instance, i assume it sends ping stanzas by time?
lovetoxyou dont need to do that with websocket
lovetoxthe websocket protocol has a ping/pong backed into the protocol
lovetoxit is under the xmpp layer
lovetoxbefore you spend time on that
lovetoxi would look into the debug log of the server
lovetoxim pretty sure it tells why it sends a close
lovetoxoh wait
lovetoxnow i see it, client closes the connection
lovetox?
flowSENT: <close xmlns="urn:ietf:params:xml:ns:xmpp-framing"/>
doesn't that look like the library is sending the </close>?
kikuchiyohas left
flowSENT: <close xmlns="urn:ietf:params:xml:ns:xmpp-framing"/>
doesn't that look like the library is sending the <close/>?
lovetoxare you sure this is not in response to a server close
flowno
lovetoxthe message was for mbt :)
mbtyes i guess library is closing but im not sending close
Beherithas left
lovetoxmaybe talk to support for xmpp.js?
mbtyes i think i need to do that but first i wanted be sure it isnt a server side thing
mbtthank you for your helps guys
mbtmaybe sonny can answer me about why im sending this close stanza?
Beherithas joined
Yagizаhas left
lovetoxwhat prosody version are you using mbt?
lovetoxthere was a bug with invalid pong responses in prosody recently
mbt0.11.3
lovetoxthat would be a reason a library closes the connection
lovetoxZash? can you comment in what version the websocket pong fix was included
Zash0.11.5 IIRC
mbtyes i guess it is a bug, i saw something about it