Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got HTTP request timed out #35

Closed
evilsneer opened this issue Feb 23, 2018 · 2 comments
Closed

Got HTTP request timed out #35

evilsneer opened this issue Feb 23, 2018 · 2 comments

Comments

@evilsneer
Copy link

evilsneer commented Feb 23, 2018

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
Copy link
Author

fixed it by adding timeout opts to p/start
like this
(<!! (p/start token handler {:timeout 30}))

@Otann
Copy link
Owner

Otann commented Mar 11, 2018

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"]

@Otann Otann closed this as completed Mar 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants