Thanks Jochen, it is working now.


On Tuesday, September 20, 2016 at 4:29:40 PM UTC+8, Jochen Schalanda wrote:
>
> Hi,
>
> 192.168.0.1 is obviously an IP address from a private IP range. You need 
> to configure the public URI or IP address of your Graylog REST API (the 
> Elastic IP one) using the web_endpoint_uri 
> <https://github.com/Graylog2/graylog2-server/blob/2.1.1/misc/graylog.conf#L137-L139>
>  
> setting.
>
>
> Cheers,
> Jochen
>
> On Tuesday, 20 September 2016 05:56:12 UTC+2, [email protected] wrote:
>>
>> Hi Jochen
>> here you go 192.168.0.1 is the internal IP, and has a elastic IP binded 
>> for internet access.
>>
>> *rest_listen_uri* = http://192.168.0.1:9000/api/
>>
>> #*rest_transport_uri* = http://192.168.0.1::9000
>>
>> *web_listen_uri* = http://192.168.0.1::9000
>>
>> # *web_endpoint_uri* = http://192.168.0.1::9000/api/
>>
>> Thanks
>>
>> Owen
>>
>> On Monday, September 19, 2016 at 3:10:47 PM UTC+8, [email protected] 
>> wrote:
>>>
>>> Current Behavior
>>>
>>> After setting up new Garylog server following instructions in following 
>>> URL, problem connecting to the web server. It is a single instance setup, 
>>> with everying in 1 single centos cloud VM.
>>> http://docs.graylog.org/en/2.1/pages/installation/os/centos.html
>>>
>>> Error message
>>> Bad request
>>> Original Request
>>> GET http://xxxxxxxx:9000/api/system/sessions
>>> Status code
>>> undefined
>>> Full error message
>>> Error: Request has been terminated Possible causes: the network is 
>>> offline, Origin is not allowed by Access-Control-Allow-Origin, the page is 
>>> being unloaded, etc.
>>>
>>> when typing http://xxxxxxxx:9000/api/system/cluster/node#, something 
>>> can be display out
>>>
>>>
>>> {"cluster_id":"a1a5e3ab-d704-44fc-a445-5de53966534d","node_id":"60c87211-8541-4d63-96ed-be84fc021c11","type":"server","transport_address":"
>>> http://xxxxxxx:9000/api/
>>> ","last_seen":"2016-09-19T04:54:19.000Z","short_node_id":"60b87210","hostname":"xxxxxxxxxx","is_master":true}
>>> Your Environment
>>>    
>>>    - Graylog Version: 2.1
>>>    - Elasticsearch Version: 2.4
>>>    - MongoDB Version: 3.2
>>>    - Operating System: CentOS 7
>>>    - Browser version: Chrome
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/44e5986f-6808-4e00-b631-06a9c00bb855%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to