File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ def send_request log_group
1919 begin
2020 # Convert data into binary and send it to agent
2121 message = Stackify ::LogGroup . encode ( log_group )
22- conn = Faraday . new ( proxy : Stackify . configuration . proxy )
22+ conn = Faraday . new ( proxy : Stackify . configuration . proxy , ssl : { verify : false } )
2323 @response = conn . post do |req |
2424 req . url URI ( Stackify . configuration . http_endpoint + Stackify . configuration . agent_log_url )
2525 req . headers = HEADERS
2626 req . body = message
2727 end
2828 if @response . try ( :status ) == 200
29- Stackify . internal_log :debug , "[AgentHTTPSender]: Successfully send message via unix domain socket ."
29+ Stackify . internal_log :debug , "[AgentHTTPSender]: Successfully send message via http request ."
3030 return OpenStruct . new ( { status : 200 , msg : 'OK' } )
3131 else
3232 Stackify . internal_log :debug , "[AgentHTTPSender] Sending failed."
You can’t perform that action at this time.
0 commit comments