jdev - 2020-06-01


  1. kikuchiyo has left

  2. eta has left

  3. eta has joined

  4. kikuchiyo has joined

  5. kikuchiyo has left

  6. alexis has left

  7. alexis has joined

  8. Zash has left

  9. Zash has joined

  10. eta has left

  11. kikuchiyo has joined

  12. kikuchiyo has left

  13. Zash has left

  14. Zash has joined

  15. Zash has left

  16. eta has joined

  17. Zash has joined

  18. wurstsalat has left

  19. Zash has left

  20. kikuchiyo has joined

  21. kikuchiyo has left

  22. Zash has joined

  23. Zash has left

  24. Zash has joined

  25. kikuchiyo has joined

  26. kikuchiyo has left

  27. sonny has left

  28. sonny has joined

  29. sonny has left

  30. sonny has joined

  31. eta has left

  32. lovetox has joined

  33. sonny has left

  34. sonny has joined

  35. kikuchiyo has joined

  36. kikuchiyo has left

  37. sonny has left

  38. sonny has joined

  39. sonny has left

  40. sonny has joined

  41. sonny has left

  42. sonny has joined

  43. lovetox has left

  44. eta has joined

  45. Yagizа has joined

  46. paul has joined

  47. lovetox has joined

  48. xecks has left

  49. wurstsalat has joined

  50. xecks has joined

  51. adiaholic_ has left

  52. adiaholic_ has joined

  53. kikuchiyo has joined

  54. kikuchiyo has left

  55. lovetox has left

  56. eta has left

  57. lovetox has joined

  58. FireFly has joined

  59. eta has joined

  60. Beherit has left

  61. Beherit has joined

  62. Beherit has left

  63. kikuchiyo has joined

  64. Beherit has joined

  65. waqas has left

  66. kikuchiyo has left

  67. xecks has left

  68. xecks has joined

  69. lovetox has left

  70. Beherit has left

  71. kikuchiyo has joined

  72. Beherit has joined

  73. kikuchiyo has left

  74. kikuchiyo has joined

  75. jonnj has left

  76. lovetox has joined

  77. Beherit has left

  78. lovetox has left

  79. Beherit has joined

  80. adrien has left

  81. adrien has joined

  82. goffi has joined

  83. lovetox has joined

  84. jonas’ has left

  85. adiaholic_ has left

  86. adiaholic_ has joined

  87. adiaholic_ has left

  88. adiaholic_ has joined

  89. jonnj has joined

  90. debacle has joined

  91. jonas’ has joined

  92. lovetox has left

  93. adiaholic_ has left

  94. adiaholic_ has joined

  95. goffi has left

  96. lovetox has joined

  97. jonas’ has left

  98. jonas’ has joined

  99. goffi has joined

  100. SouL has left

  101. SouL has joined

  102. lovetox has left

  103. Martin has left

  104. Martin has joined

  105. lovetox has joined

  106. debacle has left

  107. Beherit has left

  108. Beherit has joined

  109. lovetox has left

  110. lovetox has joined

  111. Beherit has left

  112. Beherit has joined

  113. jonas’

    so not having any idea what React Native is, trying to use a python library in react native is nonsense, isn’t it?

  114. Beherit has left

  115. Beherit has joined

  116. Beherit has left

  117. Beherit has joined

  118. Beherit has left

  119. Beherit has joined

  120. Beherit has left

  121. Beherit has joined

  122. Beherit has left

  123. Beherit has joined

  124. Beherit has left

  125. kikuchiyo has left

  126. Beherit has joined

  127. lovetox

    i think React Native is a js framework

  128. Zash

    I was under the impression that React was the js framework, and react native is ... ??? somehow it's native.

  129. wurstsalat has left

  130. wurstsalat has joined

  131. lovetox has left

  132. kikuchiyo has joined

  133. Kev

    React native is like react, but compiles down for Android and iOS, IIUC.

  134. kikuchiyo has left

  135. kikuchiyo has joined

  136. kikuchiyo has left

  137. Beherit has left

  138. Beherit has joined

  139. kikuchiyo has joined

  140. waqas has joined

  141. kikuchiyo has left

  142. kikuchiyo has joined

  143. kikuchiyo has left

  144. Beherit has left

  145. adiaholic_ has left

  146. adiaholic_ has joined

  147. Beherit has joined

  148. adiaholic_ has left

  149. alexis has left

  150. alexis has joined

  151. Beherit has left

  152. Beherit has joined

  153. Wojtek has joined

  154. kikuchiyo has joined

  155. kikuchiyo has left

  156. adiaholic_ has joined

  157. adiaholic_ has left

  158. adiaholic_ has joined

  159. lovetox has joined

  160. mbt has joined

  161. Beherit has left

  162. xecks has left

  163. mbt has left

  164. adiaholic_ has left

  165. adiaholic_ has joined

  166. xecks has joined

  167. Beherit has joined

  168. alexis has left

  169. kikuchiyo has joined

  170. kikuchiyo has left

  171. kikuchiyo has joined

  172. Wojtek has left

  173. adiaholic_ has left

  174. adiaholic_ has joined

  175. mbt has joined

  176. mbt

    hi 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!

  177. lovetox

    are you saying there are no stanzas exchanged for 5 minutes?

  178. lovetox

    are you using a proxy?

  179. Zash

    What platform?

  180. mbt

    no 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

  181. lovetox

    mbt and do you receive anything before disconnect? a </stream> from the server

  182. lovetox

    otherwise you should look at server debug logs,im sure it prints the reason for the disconnect

  183. mbt

    no, i see this after 5minutes, as SENT: <close xmlns="urn:ietf:params:xml:ns:xmpp-framing"/>

  184. mbt

    i dont have any code of line to stop the connection, still it sends this stanza..

  185. kikuchiyo has left

  186. lovetox

    ok so websocket

  187. lovetox

    do you have keepalive ping enabled on the websocket connection?

  188. mbt

    um 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.

  189. lovetox

    no not on the server

  190. lovetox

    your library needs to enable it on client side

  191. kikuchiyo has joined

  192. lovetox

    or maybe its enabled by default, i have no idea, on my library i have to set a interval and need to enable it

  193. mbt

    ok so i will look for xmpp.js keepalive instance, i assume it sends ping stanzas by time?

  194. lovetox

    you dont need to do that with websocket

  195. lovetox

    the websocket protocol has a ping/pong backed into the protocol

  196. lovetox

    it is under the xmpp layer

  197. lovetox

    before you spend time on that

  198. lovetox

    i would look into the debug log of the server

  199. lovetox

    im pretty sure it tells why it sends a close

  200. lovetox

    oh wait

  201. lovetox

    now i see it, client closes the connection

  202. lovetox

    ?

  203. flow

    SENT: <close xmlns="urn:ietf:params:xml:ns:xmpp-framing"/> doesn't that look like the library is sending the </close>?

  204. kikuchiyo has left

  205. flow

    SENT: <close xmlns="urn:ietf:params:xml:ns:xmpp-framing"/> doesn't that look like the library is sending the <close/>?

  206. lovetox

    are you sure this is not in response to a server close

  207. flow

    no

  208. lovetox

    the message was for mbt :)

  209. mbt

    yes i guess library is closing but im not sending close

  210. Beherit has left

  211. lovetox

    maybe talk to support for xmpp.js?

  212. mbt

    yes i think i need to do that but first i wanted be sure it isnt a server side thing

  213. mbt

    thank you for your helps guys

  214. mbt

    maybe sonny can answer me about why im sending this close stanza?

  215. Beherit has joined

  216. Yagizа has left

  217. lovetox

    what prosody version are you using mbt?

  218. lovetox

    there was a bug with invalid pong responses in prosody recently

  219. mbt

    0.11.3

  220. lovetox

    that would be a reason a library closes the connection

  221. lovetox

    Zash? can you comment in what version the websocket pong fix was included

  222. Zash

    0.11.5 IIRC

  223. mbt

    yes i guess it is a bug, i saw something about it

  224. Zash

    https://prosody.im/doc/release/0.11.5#minor-changes

  225. mbt

    okay thanks i will try tu upgrade

  226. debacle has joined

  227. Vaulor has left

  228. SouL has left

  229. Vaulor has joined

  230. SouL has joined

  231. kikuchiyo has joined

  232. Vaulor has left

  233. SouL has left

  234. SouL has joined

  235. Vaulor has joined

  236. Beherit has left

  237. Beherit has joined

  238. Zash has left

  239. Zash has joined

  240. asterix has joined

  241. adrien has left

  242. adrien has joined

  243. Zash has left

  244. Zash has joined

  245. Zash has left

  246. Zash has joined

  247. FireFly has left

  248. adiaholic_ has left

  249. adiaholic_ has joined

  250. FireFly has joined

  251. lovetox has left

  252. adiaholic_ has left

  253. adiaholic_ has joined

  254. adiaholic_ has left

  255. adiaholic_ has joined

  256. asterix has left

  257. alexis has joined

  258. xecks has left

  259. Wojtek has joined

  260. rion has left

  261. rion has joined

  262. goffi has left

  263. alexis has left

  264. adiaholic_ has left

  265. adiaholic_ has joined

  266. waqas has left

  267. adiaholic_ has left

  268. adiaholic_ has joined

  269. wurstsalat has left

  270. Neustradamus has left

  271. Neustradamus has joined

  272. kikuchiyo has left

  273. debacle has left

  274. Wojtek has left

  275. sonny has left

  276. sonny has joined