Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Off-the-Record (OTR) Timeouts

Open k0nsl opened this issue 10 years ago • 21 comments

Your Rocket.Chat version: 0.22.0

When trying to engage a user and initiate a OTR exchange it always results in a timeout, no matter how quickly you push the "yes" button.

Does anyone else experience the same issue?

k0nsl avatar Mar 17 '16 15:03 k0nsl

Do you see anything in the console log?

engelgabriel avatar Mar 18 '16 13:03 engelgabriel

We could increase the time limit... it's currently set at 10s. Does it timeout before that period, or does it timeout a few seconds after you push the yes button?

marceloschmidt avatar Mar 18 '16 14:03 marceloschmidt

@engelgabriel: there is nothing in the console log.

@marceloschmidt: it timeouts before the 10s period; I would say within a maximum of 5 seconds.

k0nsl avatar Mar 18 '16 14:03 k0nsl

@k0nsl what's your browser and version?

marceloschmidt avatar Mar 18 '16 14:03 marceloschmidt

@marceloschmidt: Chromium. Version 48.0.2564.116. Built on Ubuntu 14.04, running on LinuxMint 17.3 (64-bit).

k0nsl avatar Mar 18 '16 14:03 k0nsl

@k0nsl do you have access to code in develop? I just pushed some code that makes OTR use jwk for key exchanging, instead of spki. I'm not sure that this was the cause for your bug, but I know it was causing some problems when exchanging keys between firefox and chrome... Let me know if it fixes for you. If it doesn't, please check the console for bugs.

marceloschmidt avatar Mar 18 '16 16:03 marceloschmidt

@marceloschmidt: yes, I'm using develop. I can probably pull the new code later, in perhaps five hours.

I will report back whether or not it fixed my issue. Thanks!

k0nsl avatar Mar 18 '16 16:03 k0nsl

I noticed something, by the way, in my console, when trying to negotiate OTR between myself and another client. Here's the output: Uncaught (in promise) DOMException

k0nsl avatar Mar 18 '16 16:03 k0nsl

Ahh! That's exactly the same problem I was having when testing Firefox and Chrome key exchange. I'm more convinced that the fix I pushed will solve it for you then.

marceloschmidt avatar Mar 18 '16 16:03 marceloschmidt

@marceloschmidt:

Sorry for the late reply. I upgraded my instance with the newest code in develop and now OTR is (seemingly) working again.

k0nsl avatar Mar 21 '16 09:03 k0nsl

Good to know. I'll close this issue and monitor any new problems we may have with OTR

marceloschmidt avatar Mar 21 '16 11:03 marceloschmidt

We are using 0.25.0 and I've still problems, using OTR. If I start an OTR-conversation with an user who is online, I only get timeouts. In some cases he could accept the conversation and wrote encrypted messages to me, but I couldn't read them, because I only get timeouts. And some requests about starting an OTR-conversation end up in nirvana, means my chat partner doesn't even see the request because of the timeout.

punkrock avatar Apr 12 '16 14:04 punkrock

same issue here with 0.31. However we managed to make it works after trying multiple times. Maybe it's due to first time key generation which may take some times?

noguespi avatar May 27 '16 16:05 noguespi

@marceloschmidt I also get "timeout" error when trying to initiate OTR conversations, even if I click on "OK" button immediately. How can I debug this? I'm using version 0.31.0.

wtsarchive avatar Jul 23 '16 19:07 wtsarchive

Btw, I'm using OSX app for Rocket Chat and the other party used Chrome.

wtsarchive avatar Jul 23 '16 19:07 wtsarchive

@wtsarchive can you try using the lates version? Are both users online at the same time, and using the same browser? (just to eliminate some root causes)

engelgabriel avatar Jul 24 '16 19:07 engelgabriel

@wtsarchive please try using OTR in our demo server, so we can also eliminate some browser issues. Please join us on https://demo.rocket.chat/channel/otr and let's talk there.

marceloschmidt avatar Jul 26 '16 13:07 marceloschmidt

Same here, unable to get OTR work properly, Version: 0.37.1

On the demo too : Timeouts :disappointed:

fulljackz avatar Aug 25 '16 12:08 fulljackz

I'm having this issue as well. Time outs even after the user accepts the OTR. otr redotr rocketchat timeout

brady-young avatar Oct 13 '16 21:10 brady-young

It works for me, if my conversation partner accepts OTR request within 3 seconds. Sadly, OTR in RocketChat doesn't support sending images or editing.

punkrock avatar Oct 25 '17 11:10 punkrock