我遇到 [HTTP输出失败]无法获取URL 错误。它会不断重试。 如何解决这个问题?
以下是完整的日志:
[2019-11-26T14:19:16,693] [INFO] [logstash.outputs.http]重试http请求,将休眠11秒
[2019-11-26T14:19:16,942] [错误] [logstash.outputs.http] [HTTP输出失败]无法获取URL {:url =>“ https://vuemodulestaging-dot-sso.appspot.com/restapi/api/v1/modelbuilder/build?cloudplatform=aws&domainName=cloudcodesqa4.in”,:method =>:post, :body =>“ {\” @ timestamp \“:\” 2019-11-26T08:47:31.431Z \“,\” @ version \“:\” 1 \“,\”事件\“:{\” eventTime \“:\” 2019-11-01T10:59:29Z \“,\” eventVersion \“:\” 1.05 \“,\” userAgent \“:\” aws-sdk-java / 1.11.623 Linux / 2.6 OpenJDK_64-Bit_Server_VM / 25.171-b01 java / 1.8.0_171-google-v7 vendor / Google_Inc。\“,\” responseElements \“:null,\” region \“:\” us-east-1 \“,\” eventType \“:\” AwsApiCall \“,\” userInformation \“:{\” type \“:\” IAMUser \“,\” accessKeyId \“:\” \“,\” userName \“:\” prem \“ ,\“ awsresourceName \”:\“ arn:aws:iam ::: user / prem \”,\“ principalId \”:\“ \”,\“ accountId \”:\“ \”},\“ recipientAccountId \ “:\” \“,\” resourceParameters \“:{\” newlycreatedUsername \“:\” rahul \“},\” sourceIPAddress \“:\” \“,\” eventName \“:\” ListAccessKeys \“, \“ requestID \”:\“ 943d12eb-0748-4430-b655-56443cf35eb8 \”,\“ eventID \”:\“ 104158b9-828f-432a-a21b-78ddcc62bbc0 \”,\“ eventSource \”:\“ iam。 amazonaws.com \“}}”,:headers => {“ Content-Type” =>“ applicatio n / json“},:message =>”读取超时“,:class =>” Manticore :: SocketTimeout“,:backtrace => [” C:/logstash-7.3.0/vendor/bundle/jruby/2.5。 0 / gems / manticore-0.6.4-java / lib / manticore / response.rb:37:in block in initialize'", "C:/logstash-7.3.0/vendor/bundle/jruby/2.5.0/gems/manticore-0.6.4-java/lib/manticore/response.rb:79:in
call'“,” C:/logstash-7.3.0/vendor/bundle/jruby/2.5。 0 / gems / logstash-output-http-5.2.4 / lib / logstash / outputs / http.rb:239:in send_event'", "C:/logstash-7.3.0/vendor/bundle/jruby/2.5.0/gems/logstash-output-http-5.2.4/lib/logstash/outputs/http.rb:175:in
send_events'“,” C:/logstash-7.3.0/vendor/bundle/ jruby / 2.5.0 / gems / logstash-output-http-5.2.4 / lib / logstash / outputs / http.rb:124:in multi_receive'", "org/logstash/config/ir/compiler/OutputStrategyExt.java:118:in
multi_receive'“,” org / logstash / config / ir / compiler /AbstractOutputDelegatorExt.java:101:在start_workers的multi_receive'", "C:/logstash-7.3.0/logstash-core/lib/logstash/java_pipeline.rb:239:in
块中“”,:will_retry => true}