From patchwork Mon Feb 4 18:13:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 157449 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp4214436jaa; Mon, 4 Feb 2019 10:13:28 -0800 (PST) X-Google-Smtp-Source: AHgI3IYZZjnVCSTWg0sE+r85ov9a1j0H/1GH4zUvD/HDx+FWxZmjWYyIPUNpvhBp7uRXrBA0BdnX X-Received: by 2002:a63:134a:: with SMTP id 10mr549443pgt.83.1549304008194; Mon, 04 Feb 2019 10:13:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549304008; cv=none; d=google.com; s=arc-20160816; b=jaTF9HyFNsIaaQHOGteSSaUOH0n0wixKP95M2ZCtpA1BgkL7lHQX29W6skba0ApjQl Undv5dzYdaEkzwLi26yBxQm1vKdtRM6ZsgDkPCTGHJkMbvKhXidsUpSWEP/L8aHc+wKV B6YU8Zr4Igo03M7A1spA0ezQZcyD0Ytz8OwQfSU8brVZs8gj51dKbSK9yHVCyMV/3NoS GOd3dwta2RUR4/t7YttKUQ7U4tjx+IsD/+IHSUaPddsTpP0srWgk7+e4ML8G2QSUc1R+ HTHkROHSKg+v42oq35TYkEWsGyuVoEkBU4b+I9rxrVE708gQjJ/ECmN8tOIuuAvO5tcY LoTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=DJRW4dZbxd+6SvZBKf+mRtd/ZqL3yF8xkjyuLzMk4Cs=; b=N7pL+WXLl1RsJM4iusaSMkU//MvLVmC6eDbhCf611nGWms37qPEbmEvqUtuL0k377E PkS9BnQEx/JrIdPqtUoL7gQHyd2rGWy6OUrmA0X/qvUyeADl+HbX3YxavoSTePCCum+h Sy9DVyMWdFf9BxMXvzORK6odRp36OWPY4dLN1u4s1GaAtTMN/LKCc1IsqcGVPliGrUvh sVPnGAhZQSOkbaVaxIEh/vHCsz/C9aJ35ESp/+7Y81xxRNpvAHhmQuV1irKplMeqcgCL QdGb6kcaJt2tBcsw6xmvJ3WmGotgK1948sEg1lsEIgNp4ceCcmecgpJktqLPcYxok9WR Vo8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=aw159ecd; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id p15si662495pfi.251.2019.02.04.10.13.27; Mon, 04 Feb 2019 10:13:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=aw159ecd; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id D46577C210; Mon, 4 Feb 2019 18:13:24 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mail.openembedded.org (Postfix) with ESMTP id 695477BF9E for ; Mon, 4 Feb 2019 18:13:22 +0000 (UTC) Received: by mail-pf1-f171.google.com with SMTP id z9so293926pfi.2 for ; Mon, 04 Feb 2019 10:13:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=G34WyfTbWy7UBjMV0Sa6olbOz6DstmlhbbO03P/2fCo=; b=aw159ecdr7dwxQfFltX+s4ryxp4rjESi4ZJiFCWz8cAYW6c2dJotzln3EyuPZIBh25 gHR9xRTtGQylOObTuWgFW82tyjyh5IOF1vnJp5mPbQ/M+y62R+x6vLAfdOGIGjqrtolA e60ouC5r4O2+WoDvhfCq1ABIocrrwPRhAjOKGmAQnVW2wTldiZSf3IkEYW79dgX4HjxI 0bhj+E9T1SvzkVnGzS8anOKoQ4sNRc2rk/IeHCVZoDDFrCbSxcJNsAfj2h4Z8ZImS1k3 l7brM9sETqtq22EUkJlrvjfmvV+iwRmZdyyYhqHCvpmusg53A/D+inN4uJxs5w1rawbR urLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=G34WyfTbWy7UBjMV0Sa6olbOz6DstmlhbbO03P/2fCo=; b=EqLZSJfVTFmjC42Q5p5noOhiHN8FnjALljlutXoZrMN+rFmM5irLH+881Vc1s4FvAU kzkqEKoERICxrQSPiOXOO+ES2KjXyiqtr+WV19psf3VsIur+05OWhQheidbIib8d/x3f BXgIYDvRhRQDrbIdKPuYOKSXvAVXQqJ73WkbOTYA2sL2UVGGy35LnceMRdGYAPLqoYKg kSlkOnFFAdsdb3fbuoEQsqHHI+n9jMEtRH3ExIvSxbgXvFFd+eWeR1UzLmmwCN4qYjEa aRfogKceD/5hE2njOMV13t+Ycb6XgtHymtYJkLdDzKGfxECOKqKzLUe0nn43DLrR142O /QVA== X-Gm-Message-State: AHQUAuYju0Rf1i4cMsA0Vy3PbYEJapLxH+jGXPrJG4hGnuwRJqxaDKqM Zv24j9yE24vacbHn4+s6doR5IUS3 X-Received: by 2002:aa7:83c6:: with SMTP id j6mr632419pfn.91.1549304003221; Mon, 04 Feb 2019 10:13:23 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::1609]) by smtp.gmail.com with ESMTPSA id w88sm1443747pfk.11.2019.02.04.10.13.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Feb 2019 10:13:22 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 4 Feb 2019 10:13:14 -0800 Message-Id: <20190204181314.22496-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH] send-error-report: Use https instead of http protocol X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org errors.yp.org can understand https Signed-off-by: Khem Raj --- scripts/send-error-report | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/scripts/send-error-report b/scripts/send-error-report index 8939f5f594..3528cf93a9 100755 --- a/scripts/send-error-report +++ b/scripts/send-error-report @@ -62,7 +62,7 @@ def edit_content(json_file_path): def prepare_data(args): # attempt to get the max_log_size from the server's settings - max_log_size = getPayloadLimit("http://"+args.server+"/ClientPost/JSON") + max_log_size = getPayloadLimit("https://"+args.server+"/ClientPost/JSON") if not os.path.isfile(args.error_file): log.error("No data file found.") @@ -132,9 +132,9 @@ def send_data(data, args): headers={'Content-type': 'application/json', 'User-Agent': "send-error-report/"+version} if args.json: - url = "http://"+args.server+"/ClientPost/JSON/" + url = "https://"+args.server+"/ClientPost/JSON/" else: - url = "http://"+args.server+"/ClientPost/" + url = "https://"+args.server+"/ClientPost/" req = urllib.request.Request(url, data=data, headers=headers) try: