Whenever the rails application tries to upload an image to cloudinary which is deployed in On-premise servers is throwing TimeOut errors.
I, [2016-12-21T14:55:24.617319 #923] INFO -- : Completed 500 Internal Server Error in 60101ms (ActiveRecord: 49.7ms) F, [2016-12-21T14:55:24.627524 #923] FATAL -- : RestClient::Exceptions::OpenTimeout (Timed out connecting to server):
Any ideas?
I have used the below option to set the proxy url for the rest_url which fixed the issue.
RestClient.proxy ="ProxyURL"