TimeOut S3 bucket us-west-2

0

hi, one of your hops (62.115.136.82) between me and twelve99 seems to drop lots of packets. Are you aware of an ongoing incident and could you link me to a status page, please? or any solution?

This issue happens intermittently: Error: "Net::OpenTimeout: execution expired" Enter image description here

thanks

已提問 2 年前檢視次數 363 次
3 個答案
0
已接受的答案

Hello,

Thanks for sharing the details, to troubleshoot the issue further. I request you to open a support case so that we can look into account specific details and assist you further.

AWS
支援工程師
Rohan_S
已回答 2 年前
0

Hello,

Greetings of the day!

I checked and found that there is no incident reported for region US-WEST-2, also I reviewed the MTR output. I see that there is a packet loss of 86% only on 4th hop, but I would like to mention that a single spike doesn’t conclude any problem as long as the subsequent hops shows 0.0% Also we can see that the loss percentage is 0% for subsequent hops.

Please refer the following third party document for more information :

https://www.exavault.com/blog/reading-mtr-output

https://www.pingman.com/kb/24

I also researched about the error "Net::OpenTimeout:" you are getting and found that "Net::OpenTimeout is raised when a connection cannot be created within a specified amount of time. Getting this error a few times isn't always out of the ordinary, but you may want to add some error handling." Hence I request you to add error handling.

Please refer the third party document for more information :

https://www.exceptionalcreatures.com/bestiary/Net/OpenTimeout.html

NOTE : Providing the above link is for your reference only, however please note that third party links shared contain information which is not endorsed by AWS. Please test it on a demo environment before using in a production setup

Additionally, if the issue still persists, I request you to open a support case for further troubleshooting.

AWS
支援工程師
Rohan_S
已回答 2 年前
0

Hi Rohan,

Thanks for the prompt response, I'll tell you a bit of context about our application:

The app has been deployed in a production environment for more than 4 years, it is created in ruby ​​with Amazon S3 to save files (images, pdf, xml, among others). Since September 15, 2022 our clients began to occasionally experience TimeOut errors, this has been increasing to date. when applying the mentioned https://stackoverflow.com/questions/42036133/ruby-netopentimeout-execution-expired we get the same timeout result in some requests.

For example a code that downloads an image, gets 5 timeouts out of 1297 requests

require 'resolv-replace'
companies = Company.where(active:true)
count = companies.count
images = []
companies.each do |company|
  begin
  unless company.logo.url.nil?
    path_logo = ENV['DIR_TMP_LOGO_FILE']
    filename = company.logo.file.filename
    filesystem_path = path_logo + "#{company.id}_default_#{filename}"
    
    File.delete(filesystem_path) if File.exist?(filesystem_path)
    File.open(filesystem_path, "wb") do |f|
      f.write(open(filesystem_path).read)
    end
  end
  rescue Exception => e
    images << [company.id, "ERROR", e]
  end
end
images.count
images

Output:

> 1297
> 5
> [[15221, "ERROR", #<Net::OpenTimeout: execution expired>], [4123, "ERROR", #<Net::OpenTimeout: execution expired>], [13218, "ERROR", #<Net::OpenTimeout: execution expired>], [12691, "ERROR", #<Net::OpenTimeout: execution expired>], [11764, "ERROR", #<Net::OpenTimeout: execution expired>]] 
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南