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 D7DFC2004CA for ; Wed, 11 May 2016 14:44:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D63901602BF; Wed, 11 May 2016 12:44:05 +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 997111602BE for ; Wed, 11 May 2016 14:44:03 +0200 (CEST) Received: (qmail 77537 invoked by uid 500); 11 May 2016 12:44:02 -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 77522 invoked by uid 99); 11 May 2016 12:44:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 May 2016 12:44:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0821A180595 for ; Wed, 11 May 2016 12:44:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.199 X-Spam-Level: ** X-Spam-Status: No, score=2.199 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_H2=-0.001, SPF_PASS=-0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=nd.edu Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id przvQDTePoHd for ; Wed, 11 May 2016 12:43:57 +0000 (UTC) Received: from mail-ig0-f172.google.com (mail-ig0-f172.google.com [209.85.213.172]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 0B2EE5F1E3 for ; Wed, 11 May 2016 12:43:56 +0000 (UTC) Received: by mail-ig0-f172.google.com with SMTP id u5so22925554igk.1 for ; Wed, 11 May 2016 05:43:55 -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=wbhZpABFOZ0tFLjCdKy8nVNahHqBEz2WUPIRV069YvI=; b=TD48OFAWKZwudea4PLE41xt70flXIklF+gPGC7NKqUoMKYCwZnWriBBvzizdWwTQOm JmmIpiL6ghGAY4awrOwCbf4xklVLoQypnZWliNOuVt4YSBJC914gBppN8pXmJdv5wKSs yffnQfeXVi6O13fyQc+vSr8uGdeJIYWS/6eqfOzuiUV4rx6g+0JvJB0sHYNHYQUn2qmX UKMNlc/931ADrkji7N9dkFNYc0Z0Mi9PJVyRWPCMFf3XAPki8tQqhjhOShqENsbEXU3e 4P85gLqhD5TZ6qangUqTt4lVcmiJGLgOb5PCJ/TyPMnN+ghcHo58prvZDSV50+WwhSVa +1hA== 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=wbhZpABFOZ0tFLjCdKy8nVNahHqBEz2WUPIRV069YvI=; b=PO9/XfXvTk43hMZNpay8VXAdV2ptTu1AYMowyWt8N0gEy7CM+J2z2HZeXa6oIp2cWk 5O7mfliG1hAAHoMl4ynacwGw0bXH89UaqfgzqNrIQ7fgIJfFYOftYGhdzJyEL1Jh2a4b jozSmDRmuR5LrtwIh9iXP/lo7lgZySPOWgwWfrcTL68FFlg3NP1JX+ua2Lg6VaTh8Qhy GeM2JpCm18aTb6RXPNCjKiHLmRcMUfTrLba3mz+zPpGl7rf86+AkbSPVxuiBQUI9LhDb Kx4z8Hr1peyZRf0TLXoeW7y12UqNlR6L2ifOJUBKYOQimKvL4xs3gkUHtyj2flENy8TH uznA== X-Gm-Message-State: AOPr4FWL+G5WMQNNq/vy8Cwj7Wi8+D/LTR1NEwjxd+fNgIWJes6xBQapvmIRSXPoVgetNi+z X-Received: by 10.50.70.197 with SMTP id o5mr3084486igu.70.1462970634843; Wed, 11 May 2016 05:43:54 -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 f14sm2924040ioi.2.2016.05.11.05.43.53 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 May 2016 05:43:54 -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> <57324297.4090704@nd.edu> From: Jeff Message-ID: <57332909.7080305@nd.edu> Date: Wed, 11 May 2016 08:43:53 -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="------------090700020804070908050002" archived-at: Wed, 11 May 2016 12:44:06 -0000 This is a multi-part message in MIME format. --------------090700020804070908050002 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sure. Confirmation seems to be working now, I just can't log in with the confirmed accounts. I get a second email (at the admin email address) saying that the new account was created after clicking the link in the confirmation email. ID: [-1] [] [2016-05-11 08:39:29,516] WARN {org.apache.directory.shared.asn1.ber.Asn1Decoder} - The PDU has been fully decoded but there are still bytes in the buffer. TID: [-1234] [] [2016-05-11 08:39:29,521] INFO {org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager} - LDAP connection created successfully in read-write mode TID: [1] [] [2016-05-11 08:39:29,595] master@master.airavata [1] [IS] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'master@master.airavata [1]' logged in at [2016-05-11 08:39:29,594-0400] TID: [1] [] [2016-05-11 08:39:29,604] master@master.airavata [1] [IS] INFO {org.wso2.carbon.core.multitenancy.TenantAxisConfigurator} - Creating tenant AxisConfiguration for tenant: master.airavata[1] TID: [1] [] [2016-05-11 08:39:29,650] master@master.airavata [1] [IS] INFO {org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer} - User Store Configuration Deployer initiated. TID: [1] [] [2016-05-11 08:39:29,651] master@master.airavata [1] [IS] INFO {org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer} - User Store Configuration Deployer initiated. TID: [1] [] [2016-05-11 08:39:29,651] master@master.airavata [1] [IS] INFO {org.wso2.carbon.bpel.deployer.BPELDeployer} - Initializing BPEL Deployer for tenant 1. TID: [1] [] [2016-05-11 08:39:29,652] master@master.airavata [1] [IS] INFO {org.wso2.carbon.humantask.deployer.HumanTaskDeployer} - Initializing HumanTask Deployer for tenant 1. TID: [1] [] [2016-05-11 08:39:29,678] master@master.airavata [1] [IS] INFO {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} - Permission cache updated for tenant 1 TID: [1] [] [2016-05-11 08:39:29,693] @master.airavata [1] [IS] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: wso2carbon-sts {master.airavata[1]} TID: [1] [] [2016-05-11 08:39:29,706] master@master.airavata [1] [IS] INFO {org.apache.axis2.deployment.DeploymentEngine} - Deploying Web service: org.wso2.carbon.sts - TID: [1] [] [2016-05-11 08:39:29,708] @master.airavata [1] [IS] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: wso2carbon-sts {master.airavata[1]} TID: [1] [] [2016-05-11 08:39:29,716] master@master.airavata [1] [IS] INFO {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils} - Loaded tenant master.airavata in 118 ms TID: [1] [] [2016-05-11 08:39:29,847] master@master.airavata [1] [IS] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'master@master.airavata [1]' logged in at [2016-05-11 08:39:29,847-0400] TID: [1] [] [2016-05-11 08:39:30,058] @master.airavata [1] [IS] INFO {org.wso2.carbon.identity.mgt.mail.DefaultEmailSendingModule} - Sending user credentials configuration mail to jkinniso@nd.edu TID: [-1] [] [2016-05-11 08:39:30,103] WARN {org.apache.directory.shared.asn1.ber.Asn1Decoder} - The PDU has been fully decoded but there are still bytes in the buffer. TID: [1] [] [2016-05-11 08:39:32,350] @master.airavata [1] [IS] INFO {org.wso2.carbon.identity.mgt.mail.DefaultEmailSendingModule} - User credentials configuration mail has been sent to jkinniso@nd.edu TID: [1] [] [2016-05-11 08:40:37,196] master@master.airavata [1] [IS] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'master@master.airavata [1]' logged in at [2016-05-11 08:40:37,196-0400] TID: [1] [] [2016-05-11 08:40:37,382] master@master.airavata [1] [IS] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'master@master.airavata [1]' logged in at [2016-05-11 08:40:37,382-0400] On 05/11/2016 01:40 AM, Supun Nakandala wrote: > Hi Jeff, > > Can you share last few lines in your wso2carbon.log file. > > On Tue, May 10, 2016 at 1:20 PM, Jeff > wrote: > > 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 >> > > > > > -- > Thank you > Supun Nakandala > Dept. Computer Science and Engineering > University of Moratuwa --------------090700020804070908050002 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Sure. Confirmation seems to be working now, I just can't log in with the confirmed accounts. I get a second email (at the admin email address) saying that the new account was created after clicking the link in the confirmation email.

ID: [-1] [] [2016-05-11 08:39:29,516]  WARN {org.apache.directory.shared.asn1.ber.Asn1Decoder} -  The PDU has been fully decoded but there are still bytes in the buffer.
TID: [-1234] [] [2016-05-11 08:39:29,521]  INFO {org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager} -  LDAP connection created successfully in read-write mode
TID: [1] [] [2016-05-11 08:39:29,595] master@master.airavata [1] [IS] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'master@master.airavata [1]' logged in at [2016-05-11 08:39:29,594-0400]
TID: [1] [] [2016-05-11 08:39:29,604] master@master.airavata [1] [IS] INFO {org.wso2.carbon.core.multitenancy.TenantAxisConfigurator} -  Creating tenant AxisConfiguration for tenant: master.airavata[1]
TID: [1] [] [2016-05-11 08:39:29,650] master@master.airavata [1] [IS] INFO {org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer} -  User Store Configuration Deployer initiated.
TID: [1] [] [2016-05-11 08:39:29,651] master@master.airavata [1] [IS] INFO {org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer} -  User Store Configuration Deployer initiated.
TID: [1] [] [2016-05-11 08:39:29,651] master@master.airavata [1] [IS] INFO {org.wso2.carbon.bpel.deployer.BPELDeployer} -  Initializing BPEL Deployer for tenant 1.
TID: [1] [] [2016-05-11 08:39:29,652] master@master.airavata [1] [IS] INFO {org.wso2.carbon.humantask.deployer.HumanTaskDeployer} -  Initializing HumanTask Deployer for tenant 1.
TID: [1] [] [2016-05-11 08:39:29,678] master@master.airavata [1] [IS] INFO {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} -  Permission cache updated for tenant 1
TID: [1] [] [2016-05-11 08:39:29,693] @master.airavata [1] [IS] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} -  Deploying Axis2 service: wso2carbon-sts {master.airavata[1]}
TID: [1] [] [2016-05-11 08:39:29,706] master@master.airavata [1] [IS] INFO {org.apache.axis2.deployment.DeploymentEngine} -  Deploying Web service: org.wso2.carbon.sts - 
TID: [1] [] [2016-05-11 08:39:29,708] @master.airavata [1] [IS] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} -  Deploying Axis2 service: wso2carbon-sts {master.airavata[1]}
TID: [1] [] [2016-05-11 08:39:29,716] master@master.airavata [1] [IS] INFO {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils} -  Loaded tenant master.airavata in 118 ms
TID: [1] [] [2016-05-11 08:39:29,847] master@master.airavata [1] [IS] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'master@master.airavata [1]' logged in at [2016-05-11 08:39:29,847-0400]
TID: [1] [] [2016-05-11 08:39:30,058] @master.airavata [1] [IS] INFO {org.wso2.carbon.identity.mgt.mail.DefaultEmailSendingModule} -  Sending user credentials configuration mail to jkinniso@nd.edu
TID: [-1] [] [2016-05-11 08:39:30,103]  WARN {org.apache.directory.shared.asn1.ber.Asn1Decoder} -  The PDU has been fully decoded but there are still bytes in the buffer.
TID: [1] [] [2016-05-11 08:39:32,350] @master.airavata [1] [IS] INFO {org.wso2.carbon.identity.mgt.mail.DefaultEmailSendingModule} -  User credentials configuration mail has been sent to jkinniso@nd.edu
TID: [1] [] [2016-05-11 08:40:37,196] master@master.airavata [1] [IS] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'master@master.airavata [1]' logged in at [2016-05-11 08:40:37,196-0400]
TID: [1] [] [2016-05-11 08:40:37,382] master@master.airavata [1] [IS] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'master@master.airavata [1]' logged in at [2016-05-11 08:40:37,382-0400]


On 05/11/2016 01:40 AM, Supun Nakandala wrote:
Hi Jeff,

Can you share last few lines in your wso2carbon.log file.

On Tue, May 10, 2016 at 1:20 PM, Jeff <jkinniso@nd.edu> wrote:
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





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

--------------090700020804070908050002--