Re: [Dev] Authentication Failed for IOT Server

2016-07-03 Thread Lakshitha Warnakulasuriya
Hi Rasika,

It's working fine now. It is my mistake. I gave the wrong IP for register
the app. Now it is working fine. Thanx.

Thanx and Regards,
Lakshitha.
On 3 Jul 2016 16:58, "Rasika Perera"  wrote:

> Hi Lakshitha,
>
> Thank you very much for trying out IoT Server. You meant to say you are
> trying to authenticate your android_sense app from your mobile with server
> address as http://localhost:9443?
>
> It would not work since localhost on your host machine is mapped to
> 127.0.0.1 which is your local loopback. In your mobile localhost/ local
> loopback would be your mobile itself.
>
> I assume you didn't host your IoT server on Internet with a public IP. In
> that case, for the testing purpose you can connect your mobile and IoT
> server into a same network with a WiFi router.
>
> Let us know if this work for you.
>
> Thank you
>
>
> On Sat, Jul 2, 2016 at 7:59 AM, Lakshitha Warnakulasuriya <
> lakshitha...@gmail.com> wrote:
>
>> Hi Ayyoob,
>>
>> IOT server up on https://localhost:9443 url. I used this for Android
>> Sense app url.
>>
>> Thanks and Regards,
>> Lakshitha.
>> On 2 Jul 2016 03:54, "Ayyoob Hamza"  wrote:
>>
>> Hi Lakshitha,
>>
>> Did you point the URL to the correct endpoint(Server URL)?. It should be
>> in the form of
>> https://:9443
>>
>> Regards,
>> Ayyoob
>>
>> *Ayyoob Hamza*
>> *Software Engineer*
>> WSO2 Inc.; http://wso2.com
>> email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495>
>>
>> On Sat, Jul 2, 2016 at 12:36 AM, Lakshitha Warnakulasuriya <
>> lakshitha...@gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> I'm using alpha version of WSO2 IOT server. I'm trying connecting my
>>> android device with IOT server using Android Sense app. Authentication
>>> Failed when I try to register for the app.
>>>
>>> Username - admin
>>> Password - admin
>>> URL - https://localhost:9443
>>>
>>> Any help can be really appreciated.
>>>
>>> Thanks and Regards,
>>> Lakshitha.
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> With Regards,
>
> *Rasika Perera*
> Software Engineer
> M: +94 71 680 9060 E: rasi...@wso2.com
> LinkedIn: http://lk.linkedin.com/in/rasika90
>
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Authentication Failed for IOT Server

2016-07-03 Thread Rasika Perera
Hi Lakshitha,

Thank you very much for trying out IoT Server. You meant to say you are
trying to authenticate your android_sense app from your mobile with server
address as http://localhost:9443?

It would not work since localhost on your host machine is mapped to
127.0.0.1 which is your local loopback. In your mobile localhost/ local
loopback would be your mobile itself.

I assume you didn't host your IoT server on Internet with a public IP. In
that case, for the testing purpose you can connect your mobile and IoT
server into a same network with a WiFi router.

Let us know if this work for you.

Thank you


On Sat, Jul 2, 2016 at 7:59 AM, Lakshitha Warnakulasuriya <
lakshitha...@gmail.com> wrote:

> Hi Ayyoob,
>
> IOT server up on https://localhost:9443 url. I used this for Android
> Sense app url.
>
> Thanks and Regards,
> Lakshitha.
> On 2 Jul 2016 03:54, "Ayyoob Hamza"  wrote:
>
> Hi Lakshitha,
>
> Did you point the URL to the correct endpoint(Server URL)?. It should be
> in the form of
> https://:9443
>
> Regards,
> Ayyoob
>
> *Ayyoob Hamza*
> *Software Engineer*
> WSO2 Inc.; http://wso2.com
> email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495>
>
> On Sat, Jul 2, 2016 at 12:36 AM, Lakshitha Warnakulasuriya <
> lakshitha...@gmail.com> wrote:
>
>> Hi All,
>>
>> I'm using alpha version of WSO2 IOT server. I'm trying connecting my
>> android device with IOT server using Android Sense app. Authentication
>> Failed when I try to register for the app.
>>
>> Username - admin
>> Password - admin
>> URL - https://localhost:9443
>>
>> Any help can be really appreciated.
>>
>> Thanks and Regards,
>> Lakshitha.
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
With Regards,

*Rasika Perera*
Software Engineer
M: +94 71 680 9060 E: rasi...@wso2.com
LinkedIn: http://lk.linkedin.com/in/rasika90

WSO2 Inc. www.wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Authentication Failed for IOT Server

2016-07-01 Thread Lakshitha Warnakulasuriya
Hi Ayyoob,

IOT server up on https://localhost:9443 url. I used this for Android Sense
app url.

Thanks and Regards,
Lakshitha.
On 2 Jul 2016 03:54, "Ayyoob Hamza"  wrote:

Hi Lakshitha,

Did you point the URL to the correct endpoint(Server URL)?. It should be in
the form of
https://:9443

Regards,
Ayyoob

*Ayyoob Hamza*
*Software Engineer*
WSO2 Inc.; http://wso2.com
email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495>

On Sat, Jul 2, 2016 at 12:36 AM, Lakshitha Warnakulasuriya <
lakshitha...@gmail.com> wrote:

> Hi All,
>
> I'm using alpha version of WSO2 IOT server. I'm trying connecting my
> android device with IOT server using Android Sense app. Authentication
> Failed when I try to register for the app.
>
> Username - admin
> Password - admin
> URL - https://localhost:9443
>
> Any help can be really appreciated.
>
> Thanks and Regards,
> Lakshitha.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Authentication Failed for IOT Server

2016-07-01 Thread Ayyoob Hamza
Hi Lakshitha,

Did you point the URL to the correct endpoint(Server URL)?. It should be in
the form of
https://:9443

Regards,
Ayyoob

*Ayyoob Hamza*
*Software Engineer*
WSO2 Inc.; http://wso2.com
email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495>

On Sat, Jul 2, 2016 at 12:36 AM, Lakshitha Warnakulasuriya <
lakshitha...@gmail.com> wrote:

> Hi All,
>
> I'm using alpha version of WSO2 IOT server. I'm trying connecting my
> android device with IOT server using Android Sense app. Authentication
> Failed when I try to register for the app.
>
> Username - admin
> Password - admin
> URL - https://localhost:9443
>
> Any help can be really appreciated.
>
> Thanks and Regards,
> Lakshitha.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Authentication Failed for IOT Server

2016-07-01 Thread Lakshitha Warnakulasuriya
Hi All,

I'm using alpha version of WSO2 IOT server. I'm trying connecting my
android device with IOT server using Android Sense app. Authentication
Failed when I try to register for the app.

Username - admin
Password - admin
URL - https://localhost:9443

Any help can be really appreciated.

Thanks and Regards,
Lakshitha.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev