Got HTTP request timed out
evilsneer opened this issue · 2 comments
evilsneer commented
after switching on 0.3.4 version for handling 502 error i've got an another frustrating bug
фев 23, 2018 10:49:53 AM morse.polling invoke
SEVERE: HTTP request timed out, stopping polling
i've just strarted pooling as
(<!! (p/start token handler))
please help=)
evilsneer commented
fixed it by adding timeout opts to p/start
like this
(<!! (p/start token handler {:timeout 30}))
Otann commented
For some reason, telegram's API was not as precise with time and doubled timeout happened before morse gets a response from telegram.
I've bumped timeout for hack ten times and released a quick fix as [morse "0.3.6"]