lib/neetodeploy/autoscale/worker.rb in neetodeploy-autoscale-1.0.3 vs lib/neetodeploy/autoscale/worker.rb in neetodeploy-autoscale-1.0.4
- old
+ new
@@ -42,10 +42,10 @@
url.query = payload
post = Net::HTTP::Post.new(url)
post["AuthToken"] = "K0An3O3MSyEEMTCnRd1IHgGjdGQkzy"
begin
- Net::HTTP.start(url.host, url.port, use_ssl: true) do |http|
+ Net::HTTP.start(url.host, url.port, use_ssl: false) do |http|
response = http.request(post)
end
rescue StandardError => e
puts "Exception in sending post request to exporter from Rails process: #{e.message}"
end