@Gargron Ah, I see. Timeouts seem to be as intended. There might be something that cannot be terminated on the Ruby level? I'll keep checking things around this.
~ $ rails c
:
Loading production environment (Rails 5.2.4.1)
irb(main):001:0> Request::TIMEOUT
=> {:connect=>5, :read=>10, :write=>10}
@zundan The rails log writes the keyId for authenticated requests. If you find the slow response in the log, you can try fetching the key from console to see how long it takes