Hi All
I ssh into the instance and had a look at the docker ps command to see the
mapping of the container port to open the ports in the security groups
inbound.First time when I add them I got a message from the wso2apim
manager and It was a server error kind of a message in the next time when
I'm accessing there was a gateway 504 error.And the ports mapping of the
docker ps command is totally different this time it has changed
dynamically.And when I'm looking in to this error I recognized that service
is stopping due to health check failure and restarting.In that time the
ports are changing

Is the health check target working properly it was mentioned as /echo/wso2
in the post[1].

[1]
https://medium.com/containermind/how-to-deploy-wso2-api-manager-on-amazon-ecs-bdc5a8d22844

Regards
Ayeshmantha


On Wed, Jul 5, 2017 at 1:34 PM, Ayeshmantha Perera <[email protected]>
wrote:

> Hi All
>
> I tried to telnet in to the instance but it's not working.But it says
> container started succefully.And all the ports are opend for the load
> balancer.But still no luck.Any idea on this
>
> Regards
> Ayesh
>
> On Tue, Jul 4, 2017 at 4:50 PM, Ayeshmantha Perera <
> [email protected]> wrote:
>
>>
>>
>> On Mon, Jul 3, 2017 at 8:17 PM, Pubudu Gunatilaka <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> Server log looks okay. Can you check whether api manager is running in
>>> the container? I guess you should be able to login to the container. Maybe
>>> you can telnet and check 9443 port is up and running.
>>>
>>> Thank you!
>>>
>>> On Mon, Jul 3, 2017 at 6:35 PM, Ayeshmantha Perera <
>>> [email protected]> wrote:
>>>
>>>> Hi Pubudu
>>>>
>>>> Am using a self signed certificate is that a problem.Because always
>>>> with that cert when I'm creating a http/s load blancer it says no healthy
>>>> targets are found
>>>>
>>>> Thanks
>>>> Regards
>>>> Ayesh
>>>>
>>>> On Mon, Jul 3, 2017 at 5:02 PM, Ayeshmantha Perera <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi Pubudu
>>>>>
>>>>> The log shows that hthe apim is up and running
>>>>> Is there an issue with /echo/wso2 health check endpoint
>>>>>
>>>>> Here I attach the log with the mail
>>>>>
>>>>> On Wed, Jun 28, 2017 at 8:06 PM, Pubudu Gunatilaka <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> HI Ayesh,
>>>>>>
>>>>>> Do you see any errors in the container logs?
>>>>>>
>>>>>> Thank you!
>>>>>>
>>>>>> On Wed, Jun 28, 2017 at 12:13 PM, Ayeshmantha Perera <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Hi All
>>>>>>>
>>>>>>> We deploy the wso2am 2.1.0 docker image which was taken from the
>>>>>>> wso2 docker hub in aws EC2 container service.And also followed the [1] 
>>>>>>> as a
>>>>>>> referece on deploying
>>>>>>>
>>>>>>> After creating the ECS service which is exposing the management
>>>>>>> console outside.It gives a 504 bad gateway error.And also it shows that 
>>>>>>> non
>>>>>>> of the instances are healthy in the region.I deployed it on 4 regions in
>>>>>>> all regions it was the same
>>>>>>>
>>>>>>> Appreciate if someone can help us to resolve this deployment issue
>>>>>>>
>>>>>>> Regards,
>>>>>>> Ayeshmantha
>>>>>>>
>>>>>>> [1] https://medium.com/containermind/how-to-deploy-wso2-api-
>>>>>>> manager-on-amazon-ecs-bdc5a8d22844
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Dev mailing list
>>>>>>> [email protected]
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Pubudu Gunatilaka*
>>>>>> Committer and PMC Member - Apache Stratos
>>>>>> Software Engineer
>>>>>> WSO2, Inc.: http://wso2.com
>>>>>> mobile : +94774078049 <%2B94772207163>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> *Pubudu Gunatilaka*
>>> Committer and PMC Member - Apache Stratos
>>> Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> mobile : +94774078049 <%2B94772207163>
>>>
>>>
>>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to