Re: [Dev] Why does WSO2 API Manager change the endpoint ip and port addresses to 192.168.144.2:8280

2017-08-03 Thread Sagar Kapadia
The API manager is on my local machine. I am calling the api manager [on
the local host] via the swagger definition in the api store. The
implementation [production] url is on a remote machine
http:/*/192.168.11.65 :*
8000/BizBrainTally/api/ledgers/customers/{company}
I can call the above url from the browser, and it gives the correct
response as can be seen from the screen shot



On Thu, Aug 3, 2017 at 1:05 PM, Rasika Perera  wrote:

> ​Hi Sagara,
>
> Please find inline comments;
>
> Thanks for your reply. I checked via ipconfig and its my IP. sorry for the
>> confusion. I have two ips.
>
> ​You are most welcome! It is a valid requirement to have two network
> interfaces but you might need to configure with [1]. Can you share with us
> the output of the ipconfig command.
>
> Or at least, if I can log the request being made to the end point it would
>> be very helpful, since I am not getting any response from the server, but
>> if I call the end point from the browser, I get a valid response
>
> ​Didn't get what you get by calling from the browser.​
>
> Are you trying this API Manager in a remote host or in a local machine?
> ​
>
> [1] https://docs.wso2.com/display/AM210/Customize+the+
> API+Store+and+Gateway+URLs
>
>
> On Thu, Aug 3, 2017 at 12:37 PM, Sagar Kapadia  wrote:
>
>> Hi Rasika!
>> Thanks for your reply. I checked via ipconfig and its my IP. sorry for
>> the confusion. I have two ips. Now the next question is how to pass
>> parameters to the implementation endpoint. Or at least, if I can log the
>> request being made to the end point it would be very helpful, since I am
>> not getting any response from the server, but if I call the end point from
>> the browser, I get a valid response
>> Sagar
>>
>> On Thu, Aug 3, 2017 at 11:59 AM, Rasika Perera  wrote:
>>
>>> Hi Sagar,
>>>
>>> Are you using VMware or virtualbox? Please check your network
>>> interfaces. Sometimes WSO2 Server could have binded into a wrong network
>>> interface when there are multiple network interfaces in the host machine.
>>>
>>> You can check this with ifconfig(in linux) or ipconfig(in windows).
>>>
>>> Best Regards,
>>> Rasika
>>>
>>> On Wed, Aug 2, 2017 at 8:28 PM, Sagar Kapadia 
>>> wrote:
>>>
 Abimaran,
 Actually, API manager is running on 192.168.11.68 and not 192.168.144.2.
 I am making a call to API manager via the swagger definition in the api
 store. However, the end point doesnt get hit because it is pointing to the
 wrong url [192.168.144.2.] instead of 192.168.11.65
 Sagar

 On Wed, Aug 2, 2017 at 6:15 PM, Abimaran Kugathasan 
 wrote:

> Hi Sagar,
>
> API Manager runs on 192.168.144.2 and this IP is shown in Store UI. If
> you want to hit the backend directly from your client, then there isn't 
> any
> reason for using API Manager. I don't understand why you are expecting to
> hit backend URL directly. API Manager function as a proxy to route the
> request to the backend which runs on 192.168.11.65.
>
> There can be many reasons not receiving a response, this might help
> you on this [1]. Also, You can try using cURL.
>
> [1]: http://blog.lakmali.com/2014/11/troubleshooting-issues-
> with-swagger-in.html
>
> On Wed, Aug 2, 2017 at 5:15 PM, Sagar Kapadia 
> wrote:
>
>> Hi Thuistha,
>> Thanks for your quick response. I had followed the tutorial below. My
>> problem is my pc has ip 192.168.11.68 and not 192.168.144.2.
>> when I try to call the api from the api store page via it's swagger
>> definition ,there is a call to my server but, i get no response from the
>> server. I believe the reason is that the implementation url of the api
>> points to an invalid ip (192.168.144.2), instead of the ip i
>> specified in production and sandbox url.
>> This is my confusion.
>> Sagar
>>
>> On Aug 2, 2017 4:24 PM, "Thusitha Thilina Dayaratne" <
>> thusit...@wso2.com> wrote:
>>
>>> Hi Sagar,
>>>
>>> 192.168.144.2 is the IP address of your APIM running instance and
>>> 8280 is the port which exposes your API through the API manager. When 
>>> you
>>> invoke the http://192.168.144.2:8280/// it
>>> will be sent to the production endpoint that you configured through the 
>>> UI.
>>>
>>> You can refer to APIM Docs[1] for more details
>>>
>>> [1] - https://docs.wso2.com/display/AM210/Create+and+Publish+an+API
>>>
>>> Thanks
>>>
>>>
>>>
>>> On Wed, Aug 2, 2017 at 4:19 PM, Sagar Kapadia 
>>> wrote:
>>>


 On Wed, Aug 2, 2017 at 4:18 PM, Sagar Kapadia 
 wrote:

> Hi,
> I tried to create an API in the API manager. Everything is ok,
> except for the fact 

Re: [Dev] Why does WSO2 API Manager change the endpoint ip and port addresses to 192.168.144.2:8280

2017-08-03 Thread Rasika Perera
​Hi Sagara,

Please find inline comments;

Thanks for your reply. I checked via ipconfig and its my IP. sorry for the
> confusion. I have two ips.

​You are most welcome! It is a valid requirement to have two network
interfaces but you might need to configure with [1]. Can you share with us
the output of the ipconfig command.

Or at least, if I can log the request being made to the end point it would
> be very helpful, since I am not getting any response from the server, but
> if I call the end point from the browser, I get a valid response

​Didn't get what you get by calling from the browser.​

Are you trying this API Manager in a remote host or in a local machine?
​

[1]
https://docs.wso2.com/display/AM210/Customize+the+API+Store+and+Gateway+URLs


On Thu, Aug 3, 2017 at 12:37 PM, Sagar Kapadia  wrote:

> Hi Rasika!
> Thanks for your reply. I checked via ipconfig and its my IP. sorry for the
> confusion. I have two ips. Now the next question is how to pass parameters
> to the implementation endpoint. Or at least, if I can log the request being
> made to the end point it would be very helpful, since I am not getting any
> response from the server, but if I call the end point from the browser, I
> get a valid response
> Sagar
>
> On Thu, Aug 3, 2017 at 11:59 AM, Rasika Perera  wrote:
>
>> Hi Sagar,
>>
>> Are you using VMware or virtualbox? Please check your network interfaces.
>> Sometimes WSO2 Server could have binded into a wrong network interface when
>> there are multiple network interfaces in the host machine.
>>
>> You can check this with ifconfig(in linux) or ipconfig(in windows).
>>
>> Best Regards,
>> Rasika
>>
>> On Wed, Aug 2, 2017 at 8:28 PM, Sagar Kapadia  wrote:
>>
>>> Abimaran,
>>> Actually, API manager is running on 192.168.11.68 and not 192.168.144.2.
>>> I am making a call to API manager via the swagger definition in the api
>>> store. However, the end point doesnt get hit because it is pointing to the
>>> wrong url [192.168.144.2.] instead of 192.168.11.65
>>> Sagar
>>>
>>> On Wed, Aug 2, 2017 at 6:15 PM, Abimaran Kugathasan 
>>> wrote:
>>>
 Hi Sagar,

 API Manager runs on 192.168.144.2 and this IP is shown in Store UI. If
 you want to hit the backend directly from your client, then there isn't any
 reason for using API Manager. I don't understand why you are expecting to
 hit backend URL directly. API Manager function as a proxy to route the
 request to the backend which runs on 192.168.11.65.

 There can be many reasons not receiving a response, this might help you
 on this [1]. Also, You can try using cURL.

 [1]: http://blog.lakmali.com/2014/11/troubleshooting-issues-
 with-swagger-in.html

 On Wed, Aug 2, 2017 at 5:15 PM, Sagar Kapadia 
 wrote:

> Hi Thuistha,
> Thanks for your quick response. I had followed the tutorial below. My
> problem is my pc has ip 192.168.11.68 and not 192.168.144.2.
> when I try to call the api from the api store page via it's swagger
> definition ,there is a call to my server but, i get no response from the
> server. I believe the reason is that the implementation url of the api
> points to an invalid ip (192.168.144.2), instead of the ip i
> specified in production and sandbox url.
> This is my confusion.
> Sagar
>
> On Aug 2, 2017 4:24 PM, "Thusitha Thilina Dayaratne" <
> thusit...@wso2.com> wrote:
>
>> Hi Sagar,
>>
>> 192.168.144.2 is the IP address of your APIM running instance and
>> 8280 is the port which exposes your API through the API manager. When you
>> invoke the http://192.168.144.2:8280/// it
>> will be sent to the production endpoint that you configured through the 
>> UI.
>>
>> You can refer to APIM Docs[1] for more details
>>
>> [1] - https://docs.wso2.com/display/AM210/Create+and+Publish+an+API
>>
>> Thanks
>>
>>
>>
>> On Wed, Aug 2, 2017 at 4:19 PM, Sagar Kapadia 
>> wrote:
>>
>>>
>>>
>>> On Wed, Aug 2, 2017 at 4:18 PM, Sagar Kapadia 
>>> wrote:
>>>
 Hi,
 I tried to create an API in the API manager. Everything is ok,
 except for the fact that the end point ip anddress and port in the
 implementation page are ignored. I get the following ip address and 
 port
 192.168.144.2:8280

 The screen shots show the issue
 Sagar

>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thusitha Dayaratne
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> Mobile  +94712756809 <+94%2071%20275%206809>
>> Blog  

Re: [Dev] Why does WSO2 API Manager change the endpoint ip and port addresses to 192.168.144.2:8280

2017-08-03 Thread Sagar Kapadia
Hi Rasika!
Thanks for your reply. I checked via ipconfig and its my IP. sorry for the
confusion. I have two ips. Now the next question is how to pass parameters
to the implementation endpoint. Or at least, if I can log the request being
made to the end point it would be very helpful, since I am not getting any
response from the server, but if I call the end point from the browser, I
get a valid response
Sagar

On Thu, Aug 3, 2017 at 11:59 AM, Rasika Perera  wrote:

> Hi Sagar,
>
> Are you using VMware or virtualbox? Please check your network interfaces.
> Sometimes WSO2 Server could have binded into a wrong network interface when
> there are multiple network interfaces in the host machine.
>
> You can check this with ifconfig(in linux) or ipconfig(in windows).
>
> Best Regards,
> Rasika
>
> On Wed, Aug 2, 2017 at 8:28 PM, Sagar Kapadia  wrote:
>
>> Abimaran,
>> Actually, API manager is running on 192.168.11.68 and not 192.168.144.2.
>> I am making a call to API manager via the swagger definition in the api
>> store. However, the end point doesnt get hit because it is pointing to the
>> wrong url [192.168.144.2.] instead of 192.168.11.65
>> Sagar
>>
>> On Wed, Aug 2, 2017 at 6:15 PM, Abimaran Kugathasan 
>> wrote:
>>
>>> Hi Sagar,
>>>
>>> API Manager runs on 192.168.144.2 and this IP is shown in Store UI. If
>>> you want to hit the backend directly from your client, then there isn't any
>>> reason for using API Manager. I don't understand why you are expecting to
>>> hit backend URL directly. API Manager function as a proxy to route the
>>> request to the backend which runs on 192.168.11.65.
>>>
>>> There can be many reasons not receiving a response, this might help you
>>> on this [1]. Also, You can try using cURL.
>>>
>>> [1]: http://blog.lakmali.com/2014/11/troubleshooting-issues-
>>> with-swagger-in.html
>>>
>>> On Wed, Aug 2, 2017 at 5:15 PM, Sagar Kapadia 
>>> wrote:
>>>
 Hi Thuistha,
 Thanks for your quick response. I had followed the tutorial below. My
 problem is my pc has ip 192.168.11.68 and not 192.168.144.2.
 when I try to call the api from the api store page via it's swagger
 definition ,there is a call to my server but, i get no response from the
 server. I believe the reason is that the implementation url of the api
 points to an invalid ip (192.168.144.2), instead of the ip i specified
 in production and sandbox url.
 This is my confusion.
 Sagar

 On Aug 2, 2017 4:24 PM, "Thusitha Thilina Dayaratne" <
 thusit...@wso2.com> wrote:

> Hi Sagar,
>
> 192.168.144.2 is the IP address of your APIM running instance and 8280
> is the port which exposes your API through the API manager. When you 
> invoke
> the http://192.168.144.2:8280/// it will be
> sent to the production endpoint that you configured through the UI.
>
> You can refer to APIM Docs[1] for more details
>
> [1] - https://docs.wso2.com/display/AM210/Create+and+Publish+an+API
>
> Thanks
>
>
>
> On Wed, Aug 2, 2017 at 4:19 PM, Sagar Kapadia 
> wrote:
>
>>
>>
>> On Wed, Aug 2, 2017 at 4:18 PM, Sagar Kapadia 
>> wrote:
>>
>>> Hi,
>>> I tried to create an API in the API manager. Everything is ok,
>>> except for the fact that the end point ip anddress and port in the
>>> implementation page are ignored. I get the following ip address and port
>>> 192.168.144.2:8280
>>>
>>> The screen shots show the issue
>>> Sagar
>>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thusitha Dayaratne
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809 <+94%2071%20275%206809>
> Blog  alokayasoya.blogspot.com
> Abouthttp://about.me/thusithathilina
> 
>
>
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> Thanks
>>> Abimaran Kugathasan
>>> Senior Software Engineer - API Technologies
>>>
>>> Email : abima...@wso2.com
>>> Mobile : +94 773922820 <+94%2077%20392%202820>
>>>
>>> 
>>> 
>>>   
>>> 
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> With Regards,
>
> *Rasika Perera*
> Senior Software Engineer
> LinkedIn: http://lk.linkedin.com/in/rasika90
>
> 
>
> WSO2 Inc. www.wso2.com
> 

Re: [Dev] Why does WSO2 API Manager change the endpoint ip and port addresses to 192.168.144.2:8280

2017-08-03 Thread Rasika Perera
Hi Sagar,

Are you using VMware or virtualbox? Please check your network interfaces.
Sometimes WSO2 Server could have binded into a wrong network interface when
there are multiple network interfaces in the host machine.

You can check this with ifconfig(in linux) or ipconfig(in windows).

Best Regards,
Rasika

On Wed, Aug 2, 2017 at 8:28 PM, Sagar Kapadia  wrote:

> Abimaran,
> Actually, API manager is running on 192.168.11.68 and not 192.168.144.2.
> I am making a call to API manager via the swagger definition in the api
> store. However, the end point doesnt get hit because it is pointing to the
> wrong url [192.168.144.2.] instead of 192.168.11.65
> Sagar
>
> On Wed, Aug 2, 2017 at 6:15 PM, Abimaran Kugathasan 
> wrote:
>
>> Hi Sagar,
>>
>> API Manager runs on 192.168.144.2 and this IP is shown in Store UI. If
>> you want to hit the backend directly from your client, then there isn't any
>> reason for using API Manager. I don't understand why you are expecting to
>> hit backend URL directly. API Manager function as a proxy to route the
>> request to the backend which runs on 192.168.11.65.
>>
>> There can be many reasons not receiving a response, this might help you
>> on this [1]. Also, You can try using cURL.
>>
>> [1]: http://blog.lakmali.com/2014/11/troubleshooting-issues-
>> with-swagger-in.html
>>
>> On Wed, Aug 2, 2017 at 5:15 PM, Sagar Kapadia  wrote:
>>
>>> Hi Thuistha,
>>> Thanks for your quick response. I had followed the tutorial below. My
>>> problem is my pc has ip 192.168.11.68 and not 192.168.144.2.
>>> when I try to call the api from the api store page via it's swagger
>>> definition ,there is a call to my server but, i get no response from the
>>> server. I believe the reason is that the implementation url of the api
>>> points to an invalid ip (192.168.144.2), instead of the ip i specified
>>> in production and sandbox url.
>>> This is my confusion.
>>> Sagar
>>>
>>> On Aug 2, 2017 4:24 PM, "Thusitha Thilina Dayaratne" 
>>> wrote:
>>>
 Hi Sagar,

 192.168.144.2 is the IP address of your APIM running instance and 8280
 is the port which exposes your API through the API manager. When you invoke
 the http://192.168.144.2:8280/// it will be
 sent to the production endpoint that you configured through the UI.

 You can refer to APIM Docs[1] for more details

 [1] - https://docs.wso2.com/display/AM210/Create+and+Publish+an+API

 Thanks



 On Wed, Aug 2, 2017 at 4:19 PM, Sagar Kapadia 
 wrote:

>
>
> On Wed, Aug 2, 2017 at 4:18 PM, Sagar Kapadia 
> wrote:
>
>> Hi,
>> I tried to create an API in the API manager. Everything is ok, except
>> for the fact that the end point ip anddress and port in the 
>> implementation
>> page are ignored. I get the following ip address and port
>> 192.168.144.2:8280
>>
>> The screen shots show the issue
>> Sagar
>>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Thusitha Dayaratne
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 Mobile  +94712756809 <+94%2071%20275%206809>
 Blog  alokayasoya.blogspot.com
 Abouthttp://about.me/thusithathilina
 


>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thanks
>> Abimaran Kugathasan
>> Senior Software Engineer - API Technologies
>>
>> Email : abima...@wso2.com
>> Mobile : +94 773922820 <+94%2077%20392%202820>
>>
>> 
>> 
>>   
>> 
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
With Regards,

*Rasika Perera*
Senior Software Engineer
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] Why does WSO2 API Manager change the endpoint ip and port addresses to 192.168.144.2:8280

2017-08-02 Thread Sagar Kapadia
Abimaran,
Actually, API manager is running on 192.168.11.68 and not 192.168.144.2. I
am making a call to API manager via the swagger definition in the api
store. However, the end point doesnt get hit because it is pointing to the
wrong url [192.168.144.2.] instead of 192.168.11.65
Sagar

On Wed, Aug 2, 2017 at 6:15 PM, Abimaran Kugathasan 
wrote:

> Hi Sagar,
>
> API Manager runs on 192.168.144.2 and this IP is shown in Store UI. If you
> want to hit the backend directly from your client, then there isn't any
> reason for using API Manager. I don't understand why you are expecting to
> hit backend URL directly. API Manager function as a proxy to route the
> request to the backend which runs on 192.168.11.65.
>
> There can be many reasons not receiving a response, this might help you on
> this [1]. Also, You can try using cURL.
>
> [1]: http://blog.lakmali.com/2014/11/troubleshooting-
> issues-with-swagger-in.html
>
> On Wed, Aug 2, 2017 at 5:15 PM, Sagar Kapadia  wrote:
>
>> Hi Thuistha,
>> Thanks for your quick response. I had followed the tutorial below. My
>> problem is my pc has ip 192.168.11.68 and not 192.168.144.2.
>> when I try to call the api from the api store page via it's swagger
>> definition ,there is a call to my server but, i get no response from the
>> server. I believe the reason is that the implementation url of the api
>> points to an invalid ip (192.168.144.2), instead of the ip i specified
>> in production and sandbox url.
>> This is my confusion.
>> Sagar
>>
>> On Aug 2, 2017 4:24 PM, "Thusitha Thilina Dayaratne" 
>> wrote:
>>
>>> Hi Sagar,
>>>
>>> 192.168.144.2 is the IP address of your APIM running instance and 8280
>>> is the port which exposes your API through the API manager. When you invoke
>>> the http://192.168.144.2:8280/// it will be
>>> sent to the production endpoint that you configured through the UI.
>>>
>>> You can refer to APIM Docs[1] for more details
>>>
>>> [1] - https://docs.wso2.com/display/AM210/Create+and+Publish+an+API
>>>
>>> Thanks
>>>
>>>
>>>
>>> On Wed, Aug 2, 2017 at 4:19 PM, Sagar Kapadia 
>>> wrote:
>>>


 On Wed, Aug 2, 2017 at 4:18 PM, Sagar Kapadia 
 wrote:

> Hi,
> I tried to create an API in the API manager. Everything is ok, except
> for the fact that the end point ip anddress and port in the implementation
> page are ignored. I get the following ip address and port
> 192.168.144.2:8280
>
> The screen shots show the issue
> Sagar
>


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> Thusitha Dayaratne
>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>
>>> Mobile  +94712756809 <+94%2071%20275%206809>
>>> Blog  alokayasoya.blogspot.com
>>> Abouthttp://about.me/thusithathilina
>>> 
>>>
>>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks
> Abimaran Kugathasan
> Senior Software Engineer - API Technologies
>
> Email : abima...@wso2.com
> Mobile : +94 773922820
>
> 
> 
>   
> 
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Why does WSO2 API Manager change the endpoint ip and port addresses to 192.168.144.2:8280

2017-08-02 Thread Abimaran Kugathasan
Hi Sagar,

API Manager runs on 192.168.144.2 and this IP is shown in Store UI. If you
want to hit the backend directly from your client, then there isn't any
reason for using API Manager. I don't understand why you are expecting to
hit backend URL directly. API Manager function as a proxy to route the
request to the backend which runs on 192.168.11.65.

There can be many reasons not receiving a response, this might help you on
this [1]. Also, You can try using cURL.

[1]:
http://blog.lakmali.com/2014/11/troubleshooting-issues-with-swagger-in.html

On Wed, Aug 2, 2017 at 5:15 PM, Sagar Kapadia  wrote:

> Hi Thuistha,
> Thanks for your quick response. I had followed the tutorial below. My
> problem is my pc has ip 192.168.11.68 and not 192.168.144.2.
> when I try to call the api from the api store page via it's swagger
> definition ,there is a call to my server but, i get no response from the
> server. I believe the reason is that the implementation url of the api
> points to an invalid ip (192.168.144.2), instead of the ip i specified in
> production and sandbox url.
> This is my confusion.
> Sagar
>
> On Aug 2, 2017 4:24 PM, "Thusitha Thilina Dayaratne" 
> wrote:
>
>> Hi Sagar,
>>
>> 192.168.144.2 is the IP address of your APIM running instance and 8280 is
>> the port which exposes your API through the API manager. When you invoke
>> the http://192.168.144.2:8280/// it will be sent
>> to the production endpoint that you configured through the UI.
>>
>> You can refer to APIM Docs[1] for more details
>>
>> [1] - https://docs.wso2.com/display/AM210/Create+and+Publish+an+API
>>
>> Thanks
>>
>>
>>
>> On Wed, Aug 2, 2017 at 4:19 PM, Sagar Kapadia  wrote:
>>
>>>
>>>
>>> On Wed, Aug 2, 2017 at 4:18 PM, Sagar Kapadia 
>>> wrote:
>>>
 Hi,
 I tried to create an API in the API manager. Everything is ok, except
 for the fact that the end point ip anddress and port in the implementation
 page are ignored. I get the following ip address and port
 192.168.144.2:8280

 The screen shots show the issue
 Sagar

>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thusitha Dayaratne
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> Mobile  +94712756809 <+94%2071%20275%206809>
>> Blog  alokayasoya.blogspot.com
>> Abouthttp://about.me/thusithathilina
>> 
>>
>>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks
Abimaran Kugathasan
Senior Software Engineer - API Technologies

Email : abima...@wso2.com
Mobile : +94 773922820


  
  
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Why does WSO2 API Manager change the endpoint ip and port addresses to 192.168.144.2:8280

2017-08-02 Thread Sagar Kapadia
Hi Abimaran,
Thanks for your reply.
Does that mean that i can ignore the displayed url. But when i call the api
through swagger definition in api store page, call goes through correctly,
but actual end point is not hit. What could the reason be?
Sagar

On Aug 2, 2017 5:01 PM, "Abimaran Kugathasan"  wrote:

> Hi Sagar,
>
> Production URL shown in publisher UI is your real backend production URL
> and Production and Sandbox URL shown in Store is Gateway's (or API Manager)
> URL for that API, not the real backend URL. And you are supposed to use
> that to invoke the API.
>
> On Wed, Aug 2, 2017 at 4:24 PM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> Hi Sagar,
>>
>> 192.168.144.2 is the IP address of your APIM running instance and 8280 is
>> the port which exposes your API through the API manager. When you invoke
>> the http://192.168.144.2:8280/// it will be sent
>> to the production endpoint that you configured through the UI.
>>
>> You can refer to APIM Docs[1] for more details
>>
>> [1] - https://docs.wso2.com/display/AM210/Create+and+Publish+an+API
>>
>> Thanks
>>
>>
>>
>> On Wed, Aug 2, 2017 at 4:19 PM, Sagar Kapadia  wrote:
>>
>>>
>>>
>>> On Wed, Aug 2, 2017 at 4:18 PM, Sagar Kapadia 
>>> wrote:
>>>
 Hi,
 I tried to create an API in the API manager. Everything is ok, except
 for the fact that the end point ip anddress and port in the implementation
 page are ignored. I get the following ip address and port
 192.168.144.2:8280

 The screen shots show the issue
 Sagar

>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thusitha Dayaratne
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> Mobile  +94712756809 <+94%2071%20275%206809>
>> Blog  alokayasoya.blogspot.com
>> Abouthttp://about.me/thusithathilina
>> 
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks
> Abimaran Kugathasan
> Senior Software Engineer - API Technologies
>
> Email : abima...@wso2.com
> Mobile : +94 773922820
>
> 
> 
>   
> 
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Why does WSO2 API Manager change the endpoint ip and port addresses to 192.168.144.2:8280

2017-08-02 Thread Sagar Kapadia
Hi Thuistha,
Thanks for your quick response. I had followed the tutorial below. My
problem is my pc has ip 192.168.11.68 and not 192.168.144.2.
when I try to call the api from the api store page via it's swagger
definition ,there is a call to my server but, i get no response from the
server. I believe the reason is that the implementation url of the api
points to an invalid ip (192.168.144.2), instead of the ip i specified in
production and sandbox url.
This is my confusion.
Sagar

On Aug 2, 2017 4:24 PM, "Thusitha Thilina Dayaratne" 
wrote:

> Hi Sagar,
>
> 192.168.144.2 is the IP address of your APIM running instance and 8280 is
> the port which exposes your API through the API manager. When you invoke
> the http://192.168.144.2:8280/// it will be sent
> to the production endpoint that you configured through the UI.
>
> You can refer to APIM Docs[1] for more details
>
> [1] - https://docs.wso2.com/display/AM210/Create+and+Publish+an+API
>
> Thanks
>
>
>
> On Wed, Aug 2, 2017 at 4:19 PM, Sagar Kapadia  wrote:
>
>>
>>
>> On Wed, Aug 2, 2017 at 4:18 PM, Sagar Kapadia  wrote:
>>
>>> Hi,
>>> I tried to create an API in the API manager. Everything is ok, except
>>> for the fact that the end point ip anddress and port in the implementation
>>> page are ignored. I get the following ip address and port
>>> 192.168.144.2:8280
>>>
>>> The screen shots show the issue
>>> Sagar
>>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thusitha Dayaratne
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809
> Blog  alokayasoya.blogspot.com
> Abouthttp://about.me/thusithathilina
> 
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Why does WSO2 API Manager change the endpoint ip and port addresses to 192.168.144.2:8280

2017-08-02 Thread Abimaran Kugathasan
Hi Sagar,

Production URL shown in publisher UI is your real backend production URL
and Production and Sandbox URL shown in Store is Gateway's (or API Manager)
URL for that API, not the real backend URL. And you are supposed to use
that to invoke the API.

On Wed, Aug 2, 2017 at 4:24 PM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> Hi Sagar,
>
> 192.168.144.2 is the IP address of your APIM running instance and 8280 is
> the port which exposes your API through the API manager. When you invoke
> the http://192.168.144.2:8280/// it will be sent
> to the production endpoint that you configured through the UI.
>
> You can refer to APIM Docs[1] for more details
>
> [1] - https://docs.wso2.com/display/AM210/Create+and+Publish+an+API
>
> Thanks
>
>
>
> On Wed, Aug 2, 2017 at 4:19 PM, Sagar Kapadia  wrote:
>
>>
>>
>> On Wed, Aug 2, 2017 at 4:18 PM, Sagar Kapadia  wrote:
>>
>>> Hi,
>>> I tried to create an API in the API manager. Everything is ok, except
>>> for the fact that the end point ip anddress and port in the implementation
>>> page are ignored. I get the following ip address and port
>>> 192.168.144.2:8280
>>>
>>> The screen shots show the issue
>>> Sagar
>>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thusitha Dayaratne
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809 <+94%2071%20275%206809>
> Blog  alokayasoya.blogspot.com
> Abouthttp://about.me/thusithathilina
> 
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks
Abimaran Kugathasan
Senior Software Engineer - API Technologies

Email : abima...@wso2.com
Mobile : +94 773922820


  
  
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Why does WSO2 API Manager change the endpoint ip and port addresses to 192.168.144.2:8280

2017-08-02 Thread Thusitha Thilina Dayaratne
Hi Sagar,

192.168.144.2 is the IP address of your APIM running instance and 8280 is
the port which exposes your API through the API manager. When you invoke
the http://192.168.144.2:8280/// it will be sent to
the production endpoint that you configured through the UI.

You can refer to APIM Docs[1] for more details

[1] - https://docs.wso2.com/display/AM210/Create+and+Publish+an+API

Thanks



On Wed, Aug 2, 2017 at 4:19 PM, Sagar Kapadia  wrote:

>
>
> On Wed, Aug 2, 2017 at 4:18 PM, Sagar Kapadia  wrote:
>
>> Hi,
>> I tried to create an API in the API manager. Everything is ok, except for
>> the fact that the end point ip anddress and port in the implementation page
>> are ignored. I get the following ip address and port
>> 192.168.144.2:8280
>>
>> The screen shots show the issue
>> Sagar
>>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thusitha Dayaratne
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog  alokayasoya.blogspot.com
Abouthttp://about.me/thusithathilina

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Why does WSO2 API Manager change the endpoint ip and port addresses to 192.168.144.2:8280

2017-08-02 Thread Sagar Kapadia
On Wed, Aug 2, 2017 at 4:18 PM, Sagar Kapadia  wrote:

> Hi,
> I tried to create an API in the API manager. Everything is ok, except for
> the fact that the end point ip anddress and port in the implementation page
> are ignored. I get the following ip address and port
> 192.168.144.2:8280
>
> The screen shots show the issue
> Sagar
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev