dear Jochen,
Thank you it is working now ;) .
Guillaume.
On Tuesday, August 2, 2016 at 4:41:18 PM UTC+2, Jochen Schalanda wrote:
>
> Hi Guillaume,
>
> that's the wrong port. The POST request must be directed to the Graylog
> REST API.
>
> Make sure to remove or comment out the web_endpoint_uri setting in your
> Graylog configuration file.
>
> Cheers,
> Jochen
>
> On Tuesday, 2 August 2016 16:28:43 UTC+2, Guillaume Migaszewski wrote:
>>
>> Dear Jochen ,
>>
>> Attached my server.conf.
>>
>>
>> Also some additional curl output
>>
>> curl -v -XPOST 10.1.0.215:9000/system/sessions
>> * About to connect() to 10.1.0.215 port 9000 (#0)
>> * Trying 10.1.0.215... connected
>> * Connected to 10.1.0.215 (10.1.0.215) port 9000 (#0)
>> > POST /system/sessions HTTP/1.1
>> > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/
>> 3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
>> > Host: 10.1.0.215:9000
>> > Accept: */*
>> >
>> < HTTP/1.1 405 Method Not Allowed
>> < Allow: GET,OPTIONS
>> < X-Graylog-Node-ID: 5416caad-4269-4f9b-ad0f-1beb73770838
>> < Vary: Accept-Encoding
>> < Content-Type: application/json
>> < Date: Tue, 02 Aug 2016 14:27:43 GMT
>> < Content-Length: 59
>> <
>> * Connection #0 to host 10.1.0.215 left intact
>> * Closing connection #0
>> {"type":"ApiError","message":"HTTP 405 Method Not Allowed"}[
>>
>>
>>
>> Guillaume.
>>
>>
>> On Tuesday, August 2, 2016 at 2:57:13 PM UTC+2, Jochen Schalanda wrote:
>>>
>>> Hi Guillaume,
>>>
>>> please post your complete Graylog configuration file or be more explicit
>>> about how the relevant settings (rest_* and web_*) are configured right
>>> now.
>>>
>>> Also check the Developer Console of your web browser for error messages
>>> and post them here.
>>>
>>> Cheers,
>>> Jochen
>>>
>>> On Tuesday, 2 August 2016 14:30:29 UTC+2, Guillaume Migaszewski wrote:
>>>>
>>>> Dear Graylog users,
>>>>
>>>> I have done an rpm install of Graylog . At first I was not able to
>>>> login from any other machine than localhost .As a result , with your
>>>> assistance , I have changed following settings server.conf
>>>>
>>>> rest_listen_uri = http://127.0.0.1:12900/
>>>> rest_listen_uri = http://10.1.0.215:12900/ (10.1.0.215 my server ip)
>>>>
>>>> web_listen_uri = http://127.0.0.1:9000/
>>>> web_listen_uri = http://10.1.0.215:9000/
>>>>
>>>>
>>>> As a result I can reach login screen from any workstation. But after
>>>> sending my credentials I have following error message :
>>>>
>>>> Error - the server returned: 405 - cannot POST /system/sessions (405)
>>>>
>>>>
>>>> All resources I have found are speaking about reverse proxy or ssl use
>>>> but I have none of it .
>>>>
>>>> It has been a while I did not have such a hard time to install an
>>>> application on Linux. ;) .But I will not give up.
>>>>
>>>> Thanks for your help.
>>>>
>>>> Guillaume.
>>>>
>>>
--
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/6d8cb89d-077a-4276-8a33-c23860f612bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.