Hi Fathima, Notified this to the team and Danushka will check on this and provide a patch.
Thanks Manisha On Mon, Jun 15, 2015 at 9:40 AM, Fathima Dilhasha <[email protected]> wrote: > Hi Manisha, > > Thank you. > > Regards, > Dilhasha > > Fathima Dilhasha Nazeer <http://lk.linkedin.com/in/dilhasha/> > (M.N.F.Dilhasha) > Undergraduate | Department of Computer Science and Engineering > University of Moratuwa > Sri Lanka > > On Mon, Jun 15, 2015 at 8:19 AM, Manisha Gayathri <[email protected]> > wrote: > >> Hi Fathima, >> >> We too are experiencing the same and I have asked Vinuri to check on this >> in cloud. >> Will update you once it is fixed. >> >> Thanks >> Manisha >> >> On Sun, Jun 14, 2015 at 9:06 PM, Fathima Dilhasha <[email protected] >> > wrote: >> >>> I tried replacing '@' before <organization> with '..' . Still not >>> successful. >>> >>> Fathima Dilhasha Nazeer <http://lk.linkedin.com/in/dilhasha/> >>> (M.N.F.Dilhasha) >>> Undergraduate | Department of Computer Science and Engineering >>> University of Moratuwa >>> Sri Lanka >>> >>> On Sun, Jun 14, 2015 at 8:40 PM, Danushka Fernando <[email protected]> >>> wrote: >>> >>>> Did you try replacing @ with .. >>>> >>>> Thanks & Regards >>>> Danushka Fernando >>>> Senior Software Engineer >>>> WSO2 inc. http://wso2.com/ >>>> Mobile : +94716332729 >>>> >>>> >>>> On Jun 14, 2015 8:20 PM, "Fathima Dilhasha" <[email protected]> >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> As in this thread I was able to run the curl command for log in >>>>> sometime back. But now when I try the same command, it doesn't seem to >>>>> work. What can be the reason? >>>>> >>>>> The command I'm using is as follows. >>>>> >>>>> *curl -v -X -c cookies POST -k >>>>> https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag >>>>> <https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag> >>>>> -d 'action=login&userName=<username>@<organization>&password=<password>'* >>>>> >>>>> Thanks. >>>>> Regards, >>>>> Dilhasha >>>>> >>>>> >>>>> Fathima Dilhasha Nazeer <http://lk.linkedin.com/in/dilhasha/> >>>>> (M.N.F.Dilhasha) >>>>> Undergraduate | Department of Computer Science and Engineering >>>>> University of Moratuwa >>>>> Sri Lanka >>>>> >>>>> On Fri, May 1, 2015 at 10:15 PM, Fathima Dilhasha < >>>>> [email protected]> wrote: >>>>> >>>>>> Hi Danushka, >>>>>> >>>>>> That solved the problem. >>>>>> >>>>>> Thanks. >>>>>> Regards, >>>>>> Dilhasha >>>>>> >>>>>> Fathima Dilhasha Nazeer <http://lk.linkedin.com/in/dilhasha/> >>>>>> (M.N.F.Dilhasha) >>>>>> Undergraduate | Department of Computer Science and Engineering >>>>>> University of Moratuwa >>>>>> Sri Lanka >>>>>> >>>>>> On Fri, May 1, 2015 at 10:09 PM, Danushka Fernando < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Good point. Say your organization is xyz then your username should >>>>>>> be dilasha..wso2.com@xyz. Try that. Should work I guess. >>>>>>> >>>>>>> Thanks & Regards >>>>>>> Danushka Fernando >>>>>>> Senior Software Engineer >>>>>>> WSO2 inc. http://wso2.com/ >>>>>>> Mobile : +94716332729 >>>>>>> >>>>>>> >>>>>>> On May 1, 2015 10:03 PM, "Fathima Dilhasha" <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> Yes. I can login to public cloud using same credentials. >>>>>>>> But I need to clarify this. After I log in I choose between two >>>>>>>> organizations. Should my username include the organization as well? >>>>>>>> >>>>>>>> I will check by creating another account as well. >>>>>>>> >>>>>>>> Thanks. >>>>>>>> >>>>>>>> Fathima Dilhasha Nazeer <http://lk.linkedin.com/in/dilhasha/> >>>>>>>> (M.N.F.Dilhasha) >>>>>>>> Undergraduate | Department of Computer Science and Engineering >>>>>>>> University of Moratuwa >>>>>>>> Sri Lanka >>>>>>>> >>>>>>>> On Fri, May 1, 2015 at 9:26 PM, <[email protected]> wrote: >>>>>>>> >>>>>>>>> Hi Punnadi >>>>>>>>> It returned false. Which means login is not successful. >>>>>>>>> And further use the -c cookies in login command and use -b cookies >>>>>>>>> in others and you don’t have to worry about session details in that >>>>>>>>> way. >>>>>>>>> >>>>>>>>> Thanks & Regards >>>>>>>>> Danushka Fernando >>>>>>>>> Software Engineer >>>>>>>>> WSO2 inc. http://wso2.com/ >>>>>>>>> Mobile : +94716332729 >>>>>>>>> >>>>>>>>> *From:* Punnadi Gunarathna <[email protected]> >>>>>>>>> *Sent:* Friday, May 1, 2015 9:24 PM >>>>>>>>> *To:* Fathima Dilhasha <[email protected]> >>>>>>>>> *Cc:* WSO2 Developers' List <[email protected]> >>>>>>>>> >>>>>>>>> Hi Fathima, >>>>>>>>> >>>>>>>>> I think your login is successful. Use the jsessionid to see invoke >>>>>>>>> rest of the curl commands. >>>>>>>>> On May 1, 2015 8:48 PM, "Fathima Dilhasha" <[email protected]> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Hi, >>>>>>>>>> >>>>>>>>>> I cannot seem to access the public cloud using the curl command >>>>>>>>>> for login. >>>>>>>>>> >>>>>>>>>> The curl command I'm using is as follows. >>>>>>>>>> >>>>>>>>>> *curl -v -X POST -k >>>>>>>>>> https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag >>>>>>>>>> <https://apps.cloud.wso2.com/appmgt/site/blocks/user/login/ajax/login.jag> >>>>>>>>>> -d 'action=login&[email protected] >>>>>>>>>> <[email protected]>&password=*******************'* >>>>>>>>>> >>>>>>>>>> Following is the result of that command. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ** Hostname was NOT found in DNS cache* Trying >>>>>>>>>> 54.209.187.16...* Connected to apps.cloud.wso2.com >>>>>>>>>> <http://apps.cloud.wso2.com> (54.209.187.16) port 443 (#0)* >>>>>>>>>> successfully >>>>>>>>>> set certificate verify locations:* CAfile: none CApath: >>>>>>>>>> /etc/ssl/certs* >>>>>>>>>> SSLv3, TLS handshake, Client hello (1):* SSLv3, TLS handshake, >>>>>>>>>> Server hello >>>>>>>>>> (2):* SSLv3, TLS handshake, CERT (11):* SSLv3, TLS handshake, Server >>>>>>>>>> key >>>>>>>>>> exchange (12):* SSLv3, TLS handshake, Server finished (14):* SSLv3, >>>>>>>>>> TLS >>>>>>>>>> handshake, Client key exchange (16):* SSLv3, TLS change cipher, >>>>>>>>>> Client >>>>>>>>>> hello (1):* SSLv3, TLS handshake, Finished (20):* SSLv3, TLS change >>>>>>>>>> cipher, >>>>>>>>>> Client hello (1):* SSLv3, TLS handshake, Finished (20):* SSL >>>>>>>>>> connection >>>>>>>>>> using ECDHE-RSA-AES256-GCM-SHA384* Server certificate:* >>>>>>>>>> subject: C=US; >>>>>>>>>> ST=California; L=Palo Alto; O=WSO2, Inc.; CN=*.cloud.wso2.com >>>>>>>>>> <http://cloud.wso2.com>* start date: 2014-05-23 00:00:00 GMT* >>>>>>>>>> expire date: 2015-05-27 12:00:00 GMT* issuer: C=US; O=DigiCert >>>>>>>>>> Inc; >>>>>>>>>> OU=www.digicert.com <http://www.digicert.com>; CN=DigiCert High >>>>>>>>>> Assurance >>>>>>>>>> CA-3* SSL certificate verify ok.> POST >>>>>>>>>> /appmgt/site/blocks/user/login/ajax/login.jag HTTP/1.1> User-Agent: >>>>>>>>>> curl/7.35.0> Host: apps.cloud.wso2.com <http://apps.cloud.wso2.com>> >>>>>>>>>> Accept: */*> Content-Length: 65> Content-Type: >>>>>>>>>> application/x-www-form-urlencoded> * upload completely sent off: 65 >>>>>>>>>> out of >>>>>>>>>> 65 bytes< HTTP/1.1 200 OK* Server nginx/1.4.6 (Ubuntu) is not >>>>>>>>>> blacklisted< >>>>>>>>>> Server: nginx/1.4.6 (Ubuntu)< Date: Fri, 01 May 2015 15:15:51 GMT< >>>>>>>>>> Content-Type: text/html< Content-Length: 6< Connection: keep-alive< >>>>>>>>>> Set-Cookie: JSESSIONID=D0339EB190F95BF7145678E3CBB0B4DB; >>>>>>>>>> Path=/appmgt/; >>>>>>>>>> Secure; HttpOnly< false* Connection #0 to host apps.cloud.wso2.com >>>>>>>>>> <http://apps.cloud.wso2.com> left intact* >>>>>>>>>> >>>>>>>>>> What have I got wrong? >>>>>>>>>> >>>>>>>>>> Thanks. >>>>>>>>>> Regards, >>>>>>>>>> Dilhasha >>>>>>>>>> >>>>>>>>>> Fathima Dilhasha Nazeer <http://lk.linkedin.com/in/dilhasha/> >>>>>>>>>> (M.N.F.Dilhasha) >>>>>>>>>> Undergraduate | Department of Computer Science and Engineering >>>>>>>>>> University of Moratuwa >>>>>>>>>> Sri Lanka >>>>>>>>>> >>>>>>>>>> On Fri, May 1, 2015 at 8:19 PM, Fathima Dilhasha < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> Hi, >>>>>>>>>>> >>>>>>>>>>> Thank you Mahesh and Samith. >>>>>>>>>>> >>>>>>>>>>> Regards, >>>>>>>>>>> Dilhasha >>>>>>>>>>> >>>>>>>>>>> *M.N.F. Dilhasha* >>>>>>>>>>> Software Engineering Intern | *WSO2 Inc.* >>>>>>>>>>> >>>>>>>>>>> email : >>>>>>>>>>> *[email protected] <[email protected]>*mobile : +94 77 8449321 >>>>>>>>>>> >>>>>>>>>>> On Fri, May 1, 2015 at 8:17 PM, Samith Dassanayake < >>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi Dilhasha, >>>>>>>>>>>> >>>>>>>>>>>> You can find the REST API and sample curl commands in [1]. >>>>>>>>>>>> >>>>>>>>>>>> [1] https://docs.wso2.com/display/AF210/REST+APIs >>>>>>>>>>>> >>>>>>>>>>>> Regards, >>>>>>>>>>>> Samith >>>>>>>>>>>> >>>>>>>>>>>> On Fri, May 1, 2015 at 8:11 PM, Fathima Dilhasha < >>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hi, >>>>>>>>>>>>> >>>>>>>>>>>>> I am trying to do $subject. Can someone share curl commands >>>>>>>>>>>>> that I can use to access the REST API for App Factory? >>>>>>>>>>>>> >>>>>>>>>>>>> Thanks. >>>>>>>>>>>>> Regards, >>>>>>>>>>>>> Dilhasha >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Fathima Dilhasha Nazeer <http://lk.linkedin.com/in/dilhasha/> >>>>>>>>>>>>> (M.N.F.Dilhasha) >>>>>>>>>>>>> Undergraduate | Department of Computer Science and Engineering >>>>>>>>>>>>> University of Moratuwa >>>>>>>>>>>>> Sri Lanka >>>>>>>>>>>>> >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> Dev mailing list >>>>>>>>>>>>> [email protected] >>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Best Regards >>>>>>>>>>>> >>>>>>>>>>>> Samith Dassanayake >>>>>>>>>>>> Software Engineer | Cloud TG >>>>>>>>>>>> WSO2, Inc. | http://wso2.com >>>>>>>>>>>> lean. enterprise. middleware >>>>>>>>>>>> >>>>>>>>>>>> Mobile : +947 76207351 >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> Dev mailing list >>>>>>>>>> [email protected] >>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>> >>>>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> ~Regards >> *Manisha Eleperuma* >> Senior Software Engineer >> WSO2, Inc.: http://wso2.com >> lean.enterprise.middleware >> >> *blog: http://manisha-eleperuma.blogspot.com/ >> <http://manisha-eleperuma.blogspot.com/>* >> *mobile: +94 71 8279777 <%2B94%2071%208279777>* >> >> > -- ~Regards *Manisha Eleperuma* Senior Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware *blog: http://manisha-eleperuma.blogspot.com/ <http://manisha-eleperuma.blogspot.com/>* *mobile: +94 71 8279777*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
