Return-Path: X-Original-To: apmail-nifi-users-archive@minotaur.apache.org Delivered-To: apmail-nifi-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C13D418E1E for ; Fri, 19 Feb 2016 19:56:29 +0000 (UTC) Received: (qmail 13238 invoked by uid 500); 19 Feb 2016 19:56:29 -0000 Delivered-To: apmail-nifi-users-archive@nifi.apache.org Received: (qmail 13213 invoked by uid 500); 19 Feb 2016 19:56:29 -0000 Mailing-List: contact users-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@nifi.apache.org Delivered-To: mailing list users@nifi.apache.org Received: (qmail 13202 invoked by uid 99); 19 Feb 2016 19:56:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2016 19:56:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D42341A0408 for ; Fri, 19 Feb 2016 19:56:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.189 X-Spam-Level: * X-Spam-Status: No, score=1.189 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id rIAnkifIWeO1 for ; Fri, 19 Feb 2016 19:56:27 +0000 (UTC) Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 03E725F21F for ; Fri, 19 Feb 2016 19:56:26 +0000 (UTC) Received: by mail-pa0-f52.google.com with SMTP id fl4so55461898pad.0 for ; Fri, 19 Feb 2016 11:56:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2YTf29DFMMbDs6xrWRFq9lxnNt24eNEFQEOfLnsT/6I=; b=RLXKIdleaFr+feZ/GprtXuK5pOGDCkCv3dgjNvVBb8SP0lFK2yg9su90rj5mDaFQ0w 5vSoylfeDh7Q2wGbaB7i67rWBCEoOZ7fzuwpo9+1mml4QGxUybNxeeEo7w/7VXbap85x Zvgxx4BB0hXHkvlJPh7st4wqNgFRlVxLsiB21xLnoh4neiWRAJjttjkgND1bkV5bgb7H cNSvtWKIHH9gD9X6J5otRXnKXgp5+urf+zOu8LTgmfXN9C8DBliVVOPeamnhVgoHiiHw cnZt6ZmcMmMh3vzCdkY2K5dt/OakvE77xJFPCmy9w4y1dhZDnonWZkgRqPv78M6bQuGR ZnZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=2YTf29DFMMbDs6xrWRFq9lxnNt24eNEFQEOfLnsT/6I=; b=UD7bISehEDVQnZwY7xl508DB/0AgHo89VxNpkCQvJXjhFBR2YGsQsrMoVsqVjiv32I r8u/52rBwjN77m+PA58vu7VeltRM5DSAdh/oKI2ibIe2BotbKLpMvH+xvkSxniYaNL6+ i+61t4sZk8HNAbORKm1/ZBWjveKpW9BZ6HVXESWOpKKKeeIiYgJx2VQZdy4Wt5m8fvmR 7swj3N5pJC1eOE69sDvsPj5xJ87Zu1094YqxI7FO0aBfwEXycYOwRm45uGXZ0pBEzOd0 85QHX7eSR/XLP37joFyJlWcqLPBC9KTgTcyDK7KChq4ZNP4iuKF4fGtRuY3Sjb1bQt6c YuKQ== X-Gm-Message-State: AG10YOSR7PkZLsf5h+7SUlu4KT9+VJz2C/l9tObyRZ78Q92AI/AAAjFfq0DtBmsCHn7ZA6G57LQk8TAg7V3ulg== MIME-Version: 1.0 X-Received: by 10.66.228.97 with SMTP id sh1mr13831326pac.77.1455911786086; Fri, 19 Feb 2016 11:56:26 -0800 (PST) Received: by 10.66.15.225 with HTTP; Fri, 19 Feb 2016 11:56:26 -0800 (PST) In-Reply-To: <50fc8f6dccce41378bc07ce0d38990a7@nbpsvwmail01.proteus-technologies.com> References: <50fc8f6dccce41378bc07ce0d38990a7@nbpsvwmail01.proteus-technologies.com> Date: Fri, 19 Feb 2016 14:56:26 -0500 Message-ID: Subject: Re: Problem with PutS3Object processor From: Joe Skora To: users@nifi.apache.org Content-Type: multipart/alternative; boundary=047d7b15a8c1d58ac8052c24e07c --047d7b15a8c1d58ac8052c24e07c Content-Type: text/plain; charset=UTF-8 Joseph, I ran into this same problem last week when I forgot to provide credentials to an S3 compatible endpoint. AWS S3 requires the date header when an authorization header is provided, so the underlying Amazon library provides it automatically if authorization is used by the processor, but if it thinks the request is anonymous it leaves off the date header. Does your endpoint require authentication Amazon (or Amazon-like) Access Key and Secret Key credentials? If not, can you try providing credentials and see if that helps? Regards, Joe Skora On Fri, Feb 19, 2016 at 12:56 PM, Joseph E. Gottman wrote: > I am trying to use a PutS3Object processor with the "Endpoint Override > URL" pointing to a custom endpoint. I keep failing with the error message > "You must specify a date for this operation". I am using NiFi version > 0.4.1 with Java 8 and Centos 6.7. I suspect this might have something to > do with bug #1025, but according to your notes it was fixed for version > 0.4.0. > > > > > [image: Proteus Technologies Outsmart Logo] > *Joe Gottman* > *Senior Member of Technical Staff* > jgottman@proteuseng.com > 133 National Business Pkwy, Ste 150 > Annapolis Junction, MD 20701 > (Office) 301.377.7144 > *www.proteus-technologies.com* > *TheBlend.ProteusEng.com* * (Digital > magazine)* This electronic message and any files transmitted with it > contain information which may be privileged and/or proprietary. The > information is intended for use solely by the intended recipient(s). If you > are not the intended recipient, be aware that any disclosure, copying, > distribution or use of this information is prohibited. If you have received > this electronic message in error, please advise the sender by reply email > or by telephone (443.539.3400) and delete the message. > --047d7b15a8c1d58ac8052c24e07c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Joseph,

I ran into this same p= roblem last week when I forgot to provide credentials to an S3 compatible e= ndpoint.=C2=A0 AWS S3 requires the date header when an authorization header= is provided, so the underlying Amazon library provides it automatically if= authorization is used by the processor, but if it thinks the request is an= onymous it leaves off the date header.

Does your endpoint require au= thentication Amazon (or Amazon-like) Access Key and Secret Key credentials?= =C2=A0 If not, can you try providing credentials and see if that helps?
=
Regards,
Joe Skora
<= br>
On Fri, Feb 19, 2016 at 12:56 PM, Joseph E. G= ottman <jgottman@proteuseng.com> wrote:

I = am trying to use a PutS3Object processor with the "Endpoint Override U= RL" pointing to a custom endpoint.=C2=A0 I keep failing with the error message "You must specify a date for this operation&qu= ot;.=C2=A0 I am using NiFi version 0.4.1 with Java 8 and Centos 6.7.=C2=A0 = I suspect this might have something to do with bug #1025, but according to = your notes it was fixed for version 0.4.0.




Joe Gottman
Senior Member of = Technical Staff
jgottman@proteuseng.com
133 National Business Pkwy, Ste 150
Annapolis Junction, MD 20701
(Office) 301.377.7144
www.proteus-technologi= es.com
TheBlend.Prot= eusEng.com (Digital magazine)
Th= is electronic message and any files transmitted with it contain information= which may be privileged and/or proprietary. The information is intended fo= r use solely by the intended recipient(s). If you are not the intended recipient, be aware that any dis= closure, copying, distribution or use of this information is prohibited. If= you have received this electronic message in error, please advise the send= er by reply email or by telephone (= 443.539.3400) and delete the message.

--047d7b15a8c1d58ac8052c24e07c--