Lagging and dropping connections

I am not aware yet if this is happening on production account, however I get this errors when working on paper account:
01/30/2020 09:58:09 AM DEBUG: h_t_tps:// “GET /v2/orders/325ddffe-898c-47cc-ac49-566f00262183 HTTP/1.1” 200 695
01/30/2020 10:01:00 AM DEBUG: Resetting dropped connection:

You can see, that because of this lag I am loosing 3 seconds, when actually orders comes from my code. As a result, order does not go through because of this lag.

Another one is this:
01/30/2020 09:58:06 AM WARNING: sleep 3 seconds and retrying h_t_tps:// 3 more time(s)…
01/30/2020 09:58:09 AM DEBUG: “GET /v2/orders/325ddffe-898c-47cc-ac49-566f00262183 HTTP/1.1” 200 695

Same thing - 3 seconds gap.
What is this and how to manage this properly. Any ideas?
Thank you

looks like you might have a 3 sec sleep timer

This does not come from my code. It comes from Alpaca server. I will check on ping rate (request freq. limits) in documentation to make sure I am not exceeding it.

I got the answer from API Docs:

Rate Limit#

There is a rate limit for the API requests. When it is exceeded, the API server returns error response with HTTP status code 429. The rate limit is 200 requests per every minute per API key.

Thanks all.

I have same logs, but also it pause my data feed:

    sleep 3 seconds and retrying 3 more time(s)...
    2020-04-29, 16:35:00, Price 0.29
    2020-04-29, 16:36:00, Price 0.29
    2020-04-29, 16:37:00, Price 0.29
    2020-04-29, 16:38:00, Price 0.28
    2020-04-29, 16:39:00, Price 0.29
    2020-04-29, 16:40:00, Price 0.29
    2020-04-29, 16:41:00, Price 0.29
    sleep 3 seconds and retrying 3 more time(s)...

What I am doing wrong?