Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 08CD02007D0 for ; Tue, 10 May 2016 22:20:55 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 072B316098A; Tue, 10 May 2016 20:20:55 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0DC6B160877 for ; Tue, 10 May 2016 22:20:52 +0200 (CEST) Received: (qmail 25111 invoked by uid 500); 10 May 2016 20:20:52 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 25098 invoked by uid 99); 10 May 2016 20:20:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2016 20:20:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 7B53EC11B4 for ; Tue, 10 May 2016 20:20:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.18 X-Spam-Level: ** X-Spam-Status: No, score=2.18 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_HTMLNOISE=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=nd.edu Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id j0fo4tGjw5og for ; Tue, 10 May 2016 20:20:49 +0000 (UTC) Received: from mail-ig0-f169.google.com (mail-ig0-f169.google.com [209.85.213.169]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 403055FBA9 for ; Tue, 10 May 2016 20:20:48 +0000 (UTC) Received: by mail-ig0-f169.google.com with SMTP id m9so19999634ige.1 for ; Tue, 10 May 2016 13:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nd.edu; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=P0HgM3nAoZP/CTnxQe0ZgblrXv0P1FOO9ZPe4Pxzol8=; b=YC4aOGa4QXRHMPAkSAzSR8YCiOu10VJmTTw6JXUrqrjFoJGw1sUy3EKy4M7fnEk9TW p4kbKU+BO9wktBvpT/YMMGUdQQHMpZcBjKcoftBXREZQNf+FmPYzyWzCh09peA7BHq1R wbV/T2QYSvucXGs0N7F812gy2phEFE2ntpjdYM3r+jyqK6Ldf8rCnJXwzU/WQy6LhgtD 7PDXw4ZhMKM7SrAsVVEoCITTY8q0op3KrKeehZbfjLzQ21KZPeY2h+PlJhgEiP/uLuTi K2VJbVTz9d9ZX0Ao9s7Egkbdd8zfsNTx/T/dbfRIWaLyRBQiXTIaAlsl9dsn6+RjfQT9 y2kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=P0HgM3nAoZP/CTnxQe0ZgblrXv0P1FOO9ZPe4Pxzol8=; b=BsPeGxuLnIrtQ1/vNdUpXZcBtsC96sCzMb0bsTyIoIhNAzcrda1grRMeTpgBowOVz9 iRfKCJrId4UhRBMTkrDOXVGDyyRkf77EqgU/FdVtOFmrJTOGXIBXV7RhiUEid6sHw0kZ 78rj+xKSYpcBA3BKipzvim9vH+0jHA5NRW+kjTh44YCxRMX4WOrShPgMNdpFnvxptrWJ r7oZ6UmAUoSB5hCP5bXfj/9tvGSV1dbfyCbVPF0bsSvSOAvK+5YXtvw3CTHADkoSjLgY oSOZkHfh5xXddr0a8Pk9aPZN6I9afXopSILQz+kWnsyI0aD40c7SoWw5zcajKYbTEeYS sHdQ== X-Gm-Message-State: AOPr4FXt9r4npjgXaR5Tc/C9iqTgHWggqxq2HCSy/MOLlFgq1U4XnEvOr9/BgwnCO0Sih9kz X-Received: by 10.50.72.237 with SMTP id g13mr133922igv.4.1462911640896; Tue, 10 May 2016 13:20:40 -0700 (PDT) Received: from [192.168.1.2] (c-50-172-93-205.hsd1.in.comcast.net. [50.172.93.205]) by smtp.gmail.com with ESMTPSA id d1sm1553700igv.5.2016.05.10.13.20.39 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 10 May 2016 13:20:40 -0700 (PDT) Subject: Re: WSO2 User Reg Confirmation To: dev@airavata.apache.org References: <5731F8D1.50006@nd.edu> <573208BA.6000705@nd.edu> <57320D2B.3020107@nd.edu> <57323587.2070003@nd.edu> From: Jeff Message-ID: <57324297.4090704@nd.edu> Date: Tue, 10 May 2016 16:20:39 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------070208060807030702010900" archived-at: Tue, 10 May 2016 20:20:55 -0000 This is a multi-part message in MIME format. --------------070208060807030702010900 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Okay, so by setting Captcha.Verification.Internally.Managed=false in /repository/conf/identity/identity-mgt.properties, I was able to get around the "Captcha validation failed!" issue. However, I can't log in with this account now, and the user didn't seem to be created. I just tried again with the same result. So the conundrum is now this: I can create users without Captcha but can't log them in, or I can use Captach and run into the issue where new users can't be created. Jeff K. On 05/10/2016 03:28 PM, Supun Nakandala wrote: > > Yes. It gets logged in IS-HOME/repository/logs/wso2carbon.log. can you > check what is the error there ? > > On May 10, 2016 12:25 PM, "Jeff" > wrote: > > Okay, I changed my email configuration in WSO2IS to send http > links instead of https, but now I get the message "Account > confirmation failed!" every time with no explanation as to why. > Would that information be logged anywhere? > > At this point, I'm beginning to wonder if I should just start > again from scratch. > > Jeff K. > > > On 05/10/2016 12:44 PM, Supun Nakandala wrote: >> the link shouldn't have :9443 or any other port. It should be set >> blank defaulting to port 80 (your web server port). Can you try >> the link >> http://localhost/airavata-php-gateway/public/confirm-user-registration?confirmation=6d9dbd05-8886-4056-8e8d-11d20dfa3714&userstoredomain=PRIMARY&username=jkinniso&tenantdomain=master.airavata >> in >> the email template and retry user creation. >> >> On Tue, May 10, 2016 at 9:32 AM, Jeff > > wrote: >> >> Ah, I just got it: https requests aren't going through. I can >> access the pages through http protocol, but not https. Any >> thoughts on what to do here? >> >> >> On 05/10/2016 12:22 PM, Supun Nakandala wrote: >>> Hi Jeff, >>> >>> Can you send me the url for the home page in your local PGA. >>> >>> On Tue, May 10, 2016 at 9:20 AM, Eroma Abeysinghe >>> >> > wrote: >>> >>> Hi Jeff, >>> >>> Can you try another user registration but first in WSO2 >>> ID email templates remove the 'public' >>> so it should look like >>> >>> https://localhost/airavata-php-gateway/confirm-user-registration?confirmation=6d9dbd05-8886-4056-8e8d-11d20dfa3714&userstoredomain=PRIMARY&username=jkinniso&tenantdomain=master.airavata >>> >>> >>> Thanks, >>> Eroma >>> >>> On Tue, May 10, 2016 at 12:13 PM, Jeff >> > wrote: >>> >>> Hi Eroma, >>> >>> Yes to both of those questions. The url looks like >>> >>> https://localhost/airavata-php-gateway/public/confirm-user-registration?confirmation=6d9dbd05-8886-4056-8e8d-11d20dfa3714&userstoredomain=PRIMARY&username=jkinniso&tenantdomain=master.airavata >>> >>> >>> When I clicked this link (when it was first sent), I >>> was told that the server couldn't be found. However, >>> everything is running. That's why I was asking about >>> the url, because I'm not sure that it's actually >>> correct. This points to my PGA installation, and I >>> got the confirm-user-registration part from >>> routes.php in the PGA. >>> >>> Best, >>> Jeff K. >>> >>> >>> On 05/10/2016 11:53 AM, Eroma Abeysinghe wrote: >>>> Hi Jeff, >>>> >>>> Hmmm..... >>>> you might have done this as well... >>>> 1. is the link in email correct for account >>>> confirmation? Does it contain your PGA URL? >>>> 2. Can you log into your WSO2 using tenant username >>>> and password? >>>> >>>> Hope my questions would help. >>>> >>>> Thanks, >>>> Eroma >>>> >>>> >>>> >>>> ​ >>>> >>>> On Tue, May 10, 2016 at 11:35 AM, Jeffery Kinnison >>>> >>> > wrote: >>>> >>>> Hi Eroma, >>>> >>>> Yes, I followed the directions in the >>>> ReadTheDocs and set up WSO2-IS as close to this >>>> as I could find--I'm using WSO2-IS 5.1.0, and >>>> it doesn't look exactly the same as what the >>>> ReadTheDocs describes but all of the described >>>> settings still exist. >>>> >>>> Best, >>>> Jeff K. >>>> >>>> >>>> >>>> >>>> >>>> On Tue, May 10, 2016 at 11:24 AM, Eroma >>>> Abeysinghe >>> > wrote: >>>> >>>> Hi Jeff, >>>> >>>> If you haven't already got this check this >>>> out as well >>>> http://airavata.readthedocs.io/en/latest/WSO2-IS-Configuration/ >>>> >>>> Thanks, >>>> Eroma >>>> >>>> On Tue, May 10, 2016 at 11:20 AM, Eroma >>>> Abeysinghe >>> > wrote: >>>> >>>> Hi Jeff, >>>> >>>> Did you create a tenant for your PGA? >>>> or are you using the default that was >>>> in PGA_Config? >>>> Could you please share the identity >>>> server URL you are using? >>>> >>>> Thanks, >>>> Eroma >>>> >>>> On Tue, May 10, 2016 at 11:05 AM, Jeff >>>> >>> > wrote: >>>> >>>> I'm finishing up my development >>>> environment so I can work on some >>>> JIRA issues during the remaining >>>> community bonding period (GSoC >>>> project), and am stuck at user >>>> confirmation on my local PGA. >>>> >>>> After creating an account, the >>>> account confirmation email gets >>>> sent. However, clicking the link in >>>> the email does nothing. In >>>> email-admin-config.xml in my local >>>> WSO2, I tried the default link >>>> (|https://localhost:8443/InfoRecoverySample/confirmReg?confirmation={confirmation-code}&userName={user-name}|_&tenantdomain={tenant-domain}_), >>>> changing the default link t use >>>> port 9443 >>>> (|https://localhost:9443/InfoRecoverySample/confirmReg?confirmation={confirmation-code}&userName={user-name}|_&tenantdomain={tenant-domain}_), >>>> and changing to the confirm account >>>> view on the PGA >>>> (_https://localhost/airavata-php-gateway/public/confirm-user-registration?confirmation={confirmation-code}&userstoredomain={userstore-domain}&username={url:user-name}&tenantdomain={tenant-domain}_), >>>> but none of these work. Does anyone >>>> have any suggestions? >>>> >>>> Also, is there a default admin >>>> account for the PGA? So far, I >>>> haven't seen any indication of one, >>>> and using the WSO2 tenant admin >>>> credentials in the PGA doesn't work >>>> either. >>>> >>>> Best, >>>> Jeff K. >>>> >>>> >>>> >>>> >>>> -- >>>> Thank You, >>>> Best Regards, >>>> Eroma >>>> >>>> >>>> >>>> >>>> -- >>>> Thank You, >>>> Best Regards, >>>> Eroma >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> Thank You, >>>> Best Regards, >>>> Eroma >>> >>> >>> >>> >>> -- >>> Thank You, >>> Best Regards, >>> Eroma >>> >>> >>> >>> >>> -- >>> Thank you >>> Supun Nakandala >>> Dept. Computer Science and Engineering >>> University of Moratuwa >> >> >> >> >> -- >> Thank you >> Supun Nakandala >> Dept. Computer Science and Engineering >> University of Moratuwa > --------------070208060807030702010900 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Okay, so by setting Captcha.Verification.Internally.Managed=false in <WSO2_home>/repository/conf/identity/identity-mgt.properties, I was able to get around the "Captcha validation failed!" issue.

However, I can't log in with this account now, and the user didn't seem to be created. I just tried again with the same result. So the conundrum is now this: I can create users without Captcha but can't log them in, or I can use Captach and run into the issue where new users can't be created.

Jeff K.

On 05/10/2016 03:28 PM, Supun Nakandala wrote:

Yes. It gets logged in IS-HOME/repository/logs/wso2carbon.log. can you check what is the error there ?

On May 10, 2016 12:25 PM, "Jeff" <jkinniso@nd.edu> wrote:
Okay, I changed my email configuration in WSO2IS to send http links instead of https, but now I get the message "Account confirmation failed!" every time with no explanation as to why. Would that information be logged anywhere?

At this point, I'm beginning to wonder if I should just start again from scratch.

Jeff K.


On 05/10/2016 12:44 PM, Supun Nakandala wrote:
the link shouldn't have :9443 or any other port. It should be set blank defaulting to port 80 (your web server port). Can you try the link http://localhost/airavata-php-gateway/public/confirm-user-registration?confirmation=6d9dbd05-8886-4056-8e8d-11d20dfa3714&userstoredomain=PRIMARY&username=jkinniso&tenantdomain=master.airavata in the email template and retry user creation.

On Tue, May 10, 2016 at 9:32 AM, Jeff <jkinniso@nd.edu> wrote:
Ah, I just got it: https requests aren't going through. I can access the pages through http protocol, but not https. Any thoughts on what to do here?


On 05/10/2016 12:22 PM, Supun Nakandala wrote:
Hi Jeff,

Can you send me the url for the home page in your local PGA.

On Tue, May 10, 2016 at 9:20 AM, Eroma Abeysinghe <eroma.abeysinghe@gmail.com> wrote:
Hi Jeff,

Can you try another user registration but first in WSO2 ID email templates remove the 'public'
so it should look like 


On Tue, May 10, 2016 at 12:13 PM, Jeff <jkinniso@nd.edu> wrote:
Hi Eroma,

Yes to both of those questions. The url looks like
https://localhost/airavata-php-gateway/public/confirm-user-registration?confirmation=6d9dbd05-8886-4056-8e8d-11d20dfa3714&userstoredomain=PRIMARY&username=jkinniso&tenantdomain=master.airavata
When I clicked this link (when it was first sent), I was told that the server couldn't be found. However, everything is running. That's why I was asking about the url, because I'm not sure that it's actually correct. This points to my PGA installation, and I got the confirm-user-registration part from routes.php in the PGA.

Best,
Jeff K.


On 05/10/2016 11:53 AM, Eroma Abeysinghe wrote:
Hi Jeff,

Hmmm.....
you might have done this as well...
1. is the link in email correct for account confirmation? Does it contain your PGA URL?
2. Can you log into your WSO2 using tenant username and password?

Hope my questions would help. 

Thanks,
Eroma




On Tue, May 10, 2016 at 11:35 AM, Jeffery Kinnison <Jeffery.D.Kinnison.1@nd.edu> wrote:
Hi Eroma,

Yes, I followed the directions in the ReadTheDocs and set up WSO2-IS as close to this as I could find--I'm using WSO2-IS 5.1.0, and it doesn't look exactly the same as what the ReadTheDocs describes but all of the described settings still exist.

Best,
Jeff K.





On Tue, May 10, 2016 at 11:24 AM, Eroma Abeysinghe <eroma.abeysinghe@gmail.com> wrote:
Hi Jeff,

If you haven't already got this check this out as well

Thanks,
Eroma

On Tue, May 10, 2016 at 11:20 AM, Eroma Abeysinghe <eroma.abeysinghe@gmail.com> wrote:
Hi Jeff,

Did you create a tenant for your PGA? or are you using the default that was in PGA_Config?
Could you please share the identity server URL you are using?

Thanks,
Eroma

On Tue, May 10, 2016 at 11:05 AM, Jeff <jkinniso@nd.edu> wrote:
I'm finishing up my development environment so I can work on some JIRA issues during the remaining community bonding period (GSoC project), and am stuck at user confirmation on my local PGA.

After creating an account, the account confirmation email gets sent. However, clicking the link in the email does nothing. In email-admin-config.xml in my local WSO2, I tried the default link (https://localhost:8443/InfoRecoverySample/confirmReg?confirmation={confirmation-code}&amp;userName={user-name}&amp;tenantdomain={tenant-domain}), changing the default link t use port 9443 (https://localhost:9443/InfoRecoverySample/confirmReg?confirmation={confirmation-code}&amp;userName={user-name}&amp;tenantdomain={tenant-domain}), and changing to the confirm account view on the PGA (https://localhost/airavata-php-gateway/public/confirm-user-registration?confirmation={confirmation-code}&amp;userstoredomain={userstore-domain}&amp;username={url:user-name}&amp;tenantdomain={tenant-domain}), but none of these work. Does anyone have any suggestions?

Also, is there a default admin account for the PGA? So far, I haven't seen any indication of one, and using the WSO2 tenant admin credentials in the PGA doesn't work either.

Best,
Jeff K.



--
Thank You,
Best Regards,
Eroma



--
Thank You,
Best Regards,
Eroma




--
Thank You,
Best Regards,
Eroma




--
Thank You,
Best Regards,
Eroma



--
Thank you
Supun Nakandala
Dept. Computer Science and Engineering
University of Moratuwa




--
Thank you
Supun Nakandala
Dept. Computer Science and Engineering
University of Moratuwa


--------------070208060807030702010900--