Gajim - 2016-02-24

  1. bot RSS: Feeds for Gajim • Ticket #8277 (Random old messages appear in open chat windows on reconnect (without …) created Bug description When gajim reconnects, tries to resume via smacks and the smacks session is unknown something weird happens. It correctly uses mam to load its history from the server and that seems to be correct (I looked at the xml console output). But in my open chat windows old messages from days ago (8, 9 days old or even older) appear. Those […]
  2. Robert hi
  3. Robert i try to install gajim from repository
  4. Robert unstable main
  5. Robert but after install gajim-dev-keyring i got hash sum missmatch error at apt-get update
  6. Robert i missed something?
  7. Link Mauve Robert, I think this got fixed a few days ago, can you reproduce?
  8. Robert i try it, give me a secound :)
  9. Robert for me its not working
  10. Robert W: Fehlschlag beim Holen von Hash-Summe stimmt nicht überein W: Fehlschlag beim Holen von Hash-Summe stimmt nicht überein E: Einige Indexdateien konnten nicht heruntergeladen werden. Sie wurden ignoriert oder alte an ihrer Stelle benutzt
  11. Robert sorry only german error message
  12. Link Mauve I don’t know then, better wait for Asterix, he’s usually there in the evening, CET time.
  13. Robert okay thank you
  14. b_b hi
  15. b_b just a ping to say that the checksum error with gajim repo went back :p
  16. Robert good to know thats not only happend to me ;)
  17. Robert another question
  18. Robert how to install python-axolotl for omemo-plugin?
  19. Robert there is no package in ubuntu repos
  20. b_b
  21. b_b or from source, cf
  22. Robert b_b, thank you
  23. b_b u're welcome
  24. Robert is anyone using http_upload module?
  25. Robert i try it with prosody but i get HTTPError: HTTP Error 401: Unauthorized from Gajim
  26. tmolitor Yes i use it
  27. Robert cool
  28. Robert do you know what is wrong?
  29. tmolitor Not rellay...what does your prosody log say?
  30. Robert Feb 24 15:43:34 socket debug server.lua: ssl handshake done Feb 24 15:43:34 http.server debug Firing event: PUT Feb 24 15:43:34 socket debug server.lua: closed client handler and removed socket from list
  31. Robert i think it looks fine...
  32. b_b hop ++
  33. tmolitor And you get a 401 on upload?
  34. Robert Yes after upload in gajim log
  35. tmolitor What prodody Version are you using ? And hat Version of the plugin?
  36. Robert Prosody is 0.9.10
  37. tmolitor Can you Post the relevant gajim log parts?
  38. tmolitor Okay...I use 0.10
  39. Robert Sure give me a minute
  40. Robert 0.10 is under development right?
  41. Robert Can you show me your confuguration for prosody http_upload?
  42. tmolitor Next stable...yes...but pretty stable though...
  43. Robert Good to know but i think it have to work with 0.9.10 also...
  44. tmolitor Im traveling right now...but about 45 minutes :)
  45. tmolitor Can you open the upload URL in your Browser?
  46. tmolitor I use 0.10 since about 9 months and always automatically Update the System to the latest nightly build (and do a hg Update For the modules) an I never got any issues :)
  47. Robert good to know
  48. Robert i use prosody from epel repo on centos 7 so the update process is much easier :)
  49. Robert plugin Version is 0.3.3
  50. Robert and yes i can open the upload url in browser
  51. Robert Hello from mod_http_upload!
  52. Robert so i think its fine...
  53. Robert gajim log in console ist
  54. Robert is
  55. Robert Exception in thread Thread-125: Traceback (most recent call last): File "/usr/lib/python2.7/", line 810, in __bootstrap_inner File "/usr/lib/python2.7/", line 763, in run self.__target(*self.__args, **self.__kwargs) File "/usr/share/gajim/src/", line 3153, in thread_function output = func(*func_args) File "/home/rknet/rkau2905/.local/share/gajim/plugins/httpupload/", line 397, in uploader transfer = urllib2.urlopen(request, timeout=30) File "/usr/lib/python2.7/", line 127, in urlopen return, data, timeout) File "/usr/lib/python2.7/", line 410, in open response = meth(req, response) File "/usr/lib/python2.7/", line 523, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/", line 448, in error return self._call_chain(*args) File "/usr/lib/python2.7/", line 382, in _call_chain result = func(*args) File "/usr/lib/python2.7/", line 531, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 401: Unauthorized
  56. Robert i have another question is encryption working in muc?
  57. Robert another one,
  58. Robert is last message correction supported?
  59. Link Mauve Robert, Ctrl-Up.
  60. Robert is last message correction supported? test
  61. Robert nice :-)
  62. Robert thanks
  63. Link Mauve :)
  64. Robert do you know it is working in conversations?
  65. Link Mauve As of the latest version, yes.
  66. Link Mauve They finally added it. :)
  67. Robert and how?
  68. Link Mauve No idea.
  69. Robert :)
  70. Robert no problem
  71. Robert long press on last message is not working...
  72. Link Mauve I still haven’t had the occasion to test this client, as I installed ArchLinux on my only Android machine…
  73. Robert you mean on a smartphone?? =-O
  74. Robert tets
  75. Robert test
  76. Link Mauve No, this is a Dragonboard.
  77. Link Mauve My smartphone is running Debian.
  78. Link Mauve Its CPU is too old for ALARM. :(
  79. tmolitor rober: looks strange...seems like your prosody doesn't allow http uploads...
  80. tmolitor robert: see above
  81. Robert tmolitor: yes but why?
  82. Robert I can access the webpage successfully
  83. tmolitor robert: in the global section I use something like this: https_ssl = { key = "/etc/prosody/certs/"; certificate = "/etc/prosody/certs/"; } and this is the component: Component "" "http_upload" http_upload_file_size_limit = 10 * 1024 * 1024 -- this is 10MB in bytes
  84. tmolitor yes...but this is a GET request, not a PUT....but the put is failing...
  85. Robert Hmm... No idea what to do
  86. Robert Config looks simila
  87. tmolitor you could place some file in the httpupload directory manually and then try to download this file with your browser...but this would only test GET...
  88. tmolitor I have an idea...
  89. tmolitor wait a moment...
  90. Robert sure
  91. tmolitor robert: open the xml console and send this: <iq xmlns="jabber:client" to="" type="get" id="aa5ac6981-200c-4ff7-96f1-2737da142ca7"> <request xmlns="urn:xmpp:http:upload"> <filename>test.png</filename> <size>100000</size> <content-type>image/png</content-type> </request> </iq>
  92. tmolitor replace with the name of your upload component...
  93. tmolitor you should get a put and get url back...
  94. tmolitor try to access the put url with your browser...
  95. tmolitor what do you get?
  96. tmolitor robert: besides that, my prosody debug log shows this for a successfull upload: Feb 24 16:57:16 socket debug try to start ssl at client id: 9414db0 Feb 24 16:57:16 socket debug accepted incoming client connection from: 12345 to 5281 Feb 24 16:57:16 socket debug starting handshake... Feb 24 16:57:16 socket debug ssl handshake of client with id:table: 0x9414db0, attempt:1 Feb 24 16:57:16 socket debug ssl handshake of client with id:table: 0x9414db0, attempt:2 Feb 24 16:57:16 socket debug ssl handshake of client with id:table: 0x9414db0, attempt:3 Feb 24 16:57:16 socket debug ssl handshake of client with id:table: 0x9414db0, attempt:4 Feb 24 16:57:17 socket debug ssl handshake of client with id:table: 0x9414db0, attempt:5 Feb 24 16:57:17 socket debug ssl handshake done Feb 24 16:57:17 http.server debug Firing event: PUT Feb 24 16:57:17 info File uploaded by to slot aa53aa33-4b76-4314-bb73-1575dcf66c9f Feb 24 16:57:17 socket debug try to close client connection with id: 9414db0 Feb 24 16:57:17 socket debug closing delayed until writebuffer is empty Feb 24 16:57:17 socket debug closing client after writing Feb 24 16:57:17 socket debug closing client with id: 9414db0 client to close
  97. tmolitor note the " info File uploaded [...]" I didn't see this in your log...
  98. Robert Looks intresting i will test it later
  99. Robert Thank you again
  100. tmolitor no problem :)
  101. ganatronic Probably a really dumb question. Every time I open gajim and connect to my account, it automatically opens up a group chat room (that I created). No one uses the room anymore, and I don't want to it to autoconnect. I destroyed the room, and yet it still connects! How do I get this room to not show up when I first connect?
  102. Link Mauve ganatronic, it’s probably still in your bookmarks, see Actions > Groupchat > Manage groupchats (or something close).
  103. ganatronic Ooh, thanks Link! All fixed now.
  104. ganatronic I feel like I should have found that on my own... but I was just going in circles
  105. Link Mauve :)
  106. Robert tmolitor‎ i have tried your code
  107. Robert <get>https://url:5281/upload/56b8e7a9-e671-45b3-b912-eb36c9b26bc3/test.png</get> <put>https://url:5281/upload/56b8e7a9-e671-45b3-b912-eb36c9b26bc3/test.png</put>
  108. Robert if i opend this in browser i get 404 not found...
  109. Robert any idea?
  110. Robert Test
  111. tmolitor robert: that's least no 401 (and 404 is right...the file isn't there because you didn't upload something at this point )
  112. tmolitor now we use another tool to upload a file and try if this works...I just have to remember the name of this tool :/
  113. Robert :D
  114. tmolitor I used it a lot half a year ago when I initially developed the httpupload plugin...