Hi Asiri,

You need to check the /etc/hosts file in the machine that you're
running the browser to access Stratos console (client side).

As I understood you can access the Stratos console using EC2 IP (
https://ip:9443/console ) but it only fails when you use the host name
( https://stratos.apache.org:9443/console ). Is that the case?

Also you need to run dnslookup in your machine (client side) to make
sure Stratos hostname is correctly mapped to desired EC2 IP.

As Nirmal suggested, you should always use EC2 private IP for MB
communication and Puppet configuration.

On Fri, Aug 1, 2014 at 9:28 PM, Udara Liyanage <ud...@wso2.com> wrote:
>
> Hi,
>
> I hope Stratos is working fine now, issue is you can not access it via
> browser.
>
> Earlier in your mail you
> Mentioned stratos.apache.org. however your DNS lookup is for
> stratostest.apache.org. Did I mis something here?
>
> Touched, not typed. Erroneous words are a feature, not a typo.
>
> On Aug 1, 2014 9:23 PM, "Asiri Liyana Arachchi" <asiriw...@gmail.com> wrote:
>>
>> Hi Nirmal ,
>>
>> I've tried setting a private IP as mb IP. Still the same result.
>>
>> Thanks
>>
>>
>> On Fri, Aug 1, 2014 at 5:37 PM, Nirmal Fernando <nirmal070...@gmail.com>
>> wrote:
>>>
>>> Hi Asiri,
>>>
>>> Can you please try setting private IP as mb IP?
>>>
>>>
>>> On Fri, Aug 1, 2014 at 2:37 PM, Asiri Liyana Arachchi
>>> <asiriw...@gmail.com> wrote:
>>>>
>>>> On Fri, Aug 1, 2014 at 8:29 AM, Akila Ravihansa Perera
>>>> <raviha...@wso2.com> wrote:
>>>>>
>>>>> Hi Asiri,
>>>>>
>>>>> I presume you were able to telnet to ActiveMQ only after changing the
>>>>> security group in EC2?
>>>>
>>>>
>>>> Yes. In setup.conf
>>>> export mb_ip="54.191.12.21" # Machine ip on which mb run
>>>>
>>>>>
>>>>>
>>>>> Check your /etc/hosts file again for any duplicate entries for that
>>>>> hostname. Also try doing a dnslookup and see whether
>>>>> stratos.apache.org actually points to the desired IP.
>>>>>
>>>>
>>>>
>>>> Checked again with deleting duplicate entries created on each start up
>>>> of stratos in /etc/hosts .
>>>> /etc/hosts content :
>>>> 127.0.0.1  localhost
>>>> 127.0.0.1  puppet.test.org
>>>> 54.191.12.21 stratostest.apache.org # stratos domain
>>>>
>>>> dns lookup
>>>>
>>>> nslookup stratostest.apache.org :
>>>> Server: 172.31.0.2
>>>> Address: 172.31.0.2#53
>>>>
>>>> ** server can't find stratostest.apache.org: NXDOMAIN
>>>>
>>>>
>>>> (changed setup.conf
>>>> export stratos_domain="stratostest.apache.org" )
>>>>
>>>>
>>>> Thanks.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Fri, Aug 1, 2014 at 11:33 AM, Nirmal Fernando
>>>> <nirmal070...@gmail.com> wrote:
>>>>>
>>>>> For AWS internal calls, it's always better to use private IP of the
>>>>> instance rather than public IPs.
>>>>>
>>>>>
>>>>> On Fri, Aug 1, 2014 at 8:29 AM, Akila Ravihansa Perera
>>>>> <raviha...@wso2.com> wrote:
>>>>>>
>>>>>> Hi Asiri,
>>>>>>
>>>>>> I presume you were able to telnet to ActiveMQ only after changing the
>>>>>> security group in EC2?
>>>>>>
>>>>>> Check your /etc/hosts file again for any duplicate entries for that
>>>>>> hostname. Also try doing a dnslookup and see whether
>>>>>> stratos.apache.org actually points to the desired IP.
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> On Fri, Aug 1, 2014 at 2:17 AM, Asiri Liyana Arachchi
>>>>>> <asiriw...@gmail.com> wrote:
>>>>>> > On Thu, Jul 31, 2014 at 11:23 PM, Akila Ravihansa Perera
>>>>>> > <raviha...@wso2.com> wrote:
>>>>>> >>
>>>>>> >> Hi Asiri,
>>>>>> >>
>>>>>> >> I think this is because of the EC2 security group that you have
>>>>>> >> configured
>>>>>> >> in your instance. Have you opened the ports required by Stratos and
>>>>>> >> ActiveMQ
>>>>>> >> (Message Broker)?
>>>>>> >
>>>>>> >
>>>>>> > Yep after changing the security group settings now it's possible to
>>>>>> > access
>>>>>> > https://ip:9443/console .
>>>>>> > But still can't access https://stratos.apache.org:9443/console .
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> > On Fri, Aug 1, 2014 at 12:01 AM, Udara Liyanage <ud...@wso2.com>
>>>>>> > wrote:
>>>>>> >>
>>>>>> >> Hi,
>>>>>> >>
>>>>>> >> Can you check whether ActiveMQ is accessible from Stratos machine.
>>>>>> >> Try
>>>>>> >>
>>>>>> >> telnet 54.191.61.79 61616
>>>>>> >> Touched, not typed. Erroneous words are a feature, not a typo.
>>>>>> >
>>>>>> > It's accessible. output:
>>>>>> >
>>>>>> > Trying 54.191.61.79...
>>>>>> > Connected to 54.191.61.79.
>>>>>> > Escape character is '^]'.
>>>>>> > � ActiveMQ ....
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> > On Fri, Aug 1, 2014 at 12:01 AM, Udara Liyanage <ud...@wso2.com>
>>>>>> > wrote:
>>>>>> >>
>>>>>> >>
>>>>>> >> Hi,
>>>>>> >>
>>>>>> >> Can you check whether ActiveMQ is accessible from Stratos machine.
>>>>>> >> Try
>>>>>> >>
>>>>>> >> telnet 54.191.61.79 61616
>>>>>> >>
>>>>>> >> Touched, not typed. Erroneous words are a feature, not a typo.
>>>>>> >
>>>>>> >
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Akila Ravihansa Perera
>>>>>> Software Engineer
>>>>>> WSO2 Inc.
>>>>>> http://wso2.com
>>>>>>
>>>>>> Phone: +94 77 64 154 38
>>>>>> Blog: http://ravihansa3000.blogspot.com
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best Regards,
>>>>> Nirmal
>>>>>
>>>>> Nirmal Fernando.
>>>>> PPMC Member & Committer of Apache Stratos,
>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>
>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Best Regards,
>>> Nirmal
>>>
>>> Nirmal Fernando.
>>> PPMC Member & Committer of Apache Stratos,
>>> Senior Software Engineer, WSO2 Inc.
>>>
>>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>



-- 
Akila Ravihansa Perera
Software Engineer
WSO2 Inc.
http://wso2.com

Phone: +94 77 64 154 38
Blog: http://ravihansa3000.blogspot.com

Reply via email to