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

WatcherRPC's status.get is timing out #1677

Open
ayrat555 opened this issue Jul 29, 2020 · 1 comment
Open

WatcherRPC's status.get is timing out #1677

ayrat555 opened this issue Jul 29, 2020 · 1 comment

Comments

@ayrat555
Copy link
Contributor

while looking into #1659 I found that
status.get is timing out when the request contains empty body with not empty content-length header. For example

curl -w "@file.txt" \
 -X POST \
 --data "{}" -H "Accept: */*" \
 -H "Accept-Encoding: gzip"  -H "Content-Length: 51876961" \
 -H "Content-Type: application/json" \
 "http://localhost:7534/status.get"

{"data":{"code":"server:internal_server_error","description":"Server has failed to render the error.","object":"error"},"service_name":"watcher_info","success":false,"version":"1.0.3+522fb32"}   

 time_namelookup:  0,004s
       time_connect:  0,005s
    time_appconnect:  0,000s
   time_pretransfer:  0,005s
      time_redirect:  0,000s
 time_starttransfer:  15,008s
                    ----------
         time_total:  15,008s

I think it's related to elixir-plug/plug#968

@unnawut
Copy link
Contributor

unnawut commented Aug 6, 2020

Doesn't seem to affect overall system perf so will treat this as low priority

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