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

Timeout #26

Closed
Narsail opened this issue Jan 14, 2019 · 1 comment
Closed

Timeout #26

Narsail opened this issue Jan 14, 2019 · 1 comment

Comments

@Narsail
Copy link

Narsail commented Jan 14, 2019

After an arbitrary number of incoming connections of the web hook, i get a timeout for get updates. Is there an option to reconnect?

[2019-01-14T13:17:07.558Z] [INFO] [BotClient.swift:45 respond(endpoint:body:headers:)] Sending request:
POST https://api.telegram.org:443/bot729517131:AAFH1wdt6_rnVxXFyNmY_jsLLzUmCtJ-P8w/getUpdates HTTP/1.1
Content-Type: application/json
content-length: 14
{"timeout":20}
[2019-01-14T13:17:07.573Z] [INFO] [BotClient.swift:68 send(request:)] Creating new HTTP Client
[2019-01-14T13:17:07.574Z] [INFO] [BotClient.swift:78 send(request:)] Sending request to vapor HTTPClient
[2019-01-14T13:17:27.601Z] [INFO] [BotClient.swift:82 send(request:)] Decoding response from HTTPClient
[2019-01-14T13:17:27.601Z] [VERBOSE] [Bot.swift:59 wrap] 
Received response
Code: 0
Status OK: true
Description: Empty
Result: [
  
]

@Narsail Narsail closed this as completed Jan 14, 2019
@Narsail
Copy link
Author

Narsail commented Jan 14, 2019

Don't know if it is worth looking into it - at least it is not causing my errors.

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

1 participant