Hi Botond,
You were right, my httpd doesn't seem to respect the keep-alive header and 
always closes the connection. I tried with another httpd and it worked.

But once nxlog is finish sending the messages, it logs an ERROR like:

2014-03-07 09:01:54 INFO nxlog-ce-2.7.1191 started
2014-03-07 09:01:56 INFO connecting to 127.0.0.1:8080
2014-03-07 09:02:27 ERROR disconnected

Assuming a long running nxlog process, these ERROR logs would fill up the nxlog 
file. Anything I can do to not have this message appear in the nxlog.?

Regards,


> On Mar 6, 2014, at 0:02, Botond Botyanszki <b...@nxlog.org> wrote:
> 
> Hi,
> 
> It still looks like the http server closes the connection after each
> message. 
> 
> Regards,
> Botond
> 
> On Tue, 4 Mar 2014 14:33:41 +0200
> Shedis <she...@gmail.com> wrote:
> 
>> Hi Botond,
>> Ok I enabled the keep alive config on the http server. Even though all the 
>> messages are received by the httpd, the nxlog client side logs lot of 
>> following message.
>> 
>> ....
>> INFO reconnecting in 0 seconds
>> ERROR disconnected
>> INFO connecting to x.x.x.x:8000
>> ERROR unhandled event! (reqevents: 33, rtnevents: 64)
>> ERROR unhandled event! (reqevents: 33, rtnevents: 64)
>> ERROR disconnected
>> ....
>> 
>> 
>> Regards,
>> 
>> Sent from my Mobile Device!
>> 
>>> On Mar 4, 2014, at 13:22, Botond Botyanszki <b...@nxlog.org> wrote:
>>> 
>>> Hi,
>>> 
>>> The om_http module sends an HTTP 1.1 POST request in keep-alive mode.
>>> I recommend looking at the network traffic with wireshark/tcpdump to see
>>> what's going on.
>>> 
>>> Regards,
>>> Botond
>>> 
>>> On Mon, 3 Mar 2014 13:36:35 +0200
>>> Shedis <she...@gmail.com> wrote:
>>> 
>>>> Yes, I'm running on windows. Can you tell what http protocol version verbs 
>>>> are used by om_http module. It may help me to configure the http server 
>>>> more appropriately.
>>>> 
>>>> Regards,
>>>> 
>>>> Sent from my Mobile Device!
>>>> 
>>>>> On Mar 3, 2014, at 10:59, Botond Botyanszki <b...@nxlog.org> wrote:
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> Looks like the http endpoint is closing the connection immediately and the
>>>>> error message seems to be triggered by this. Are you running on windows?
>>>>> 
>>>>> Regards,
>>>>> Botond
>>>>> 
>>>>> 
>>>>> 
>>>>> On Fri, 28 Feb 2014 00:50:16 +0200
>>>>> Shedis <she...@gmail.com> wrote:
>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> When using om_http module i’m seeing the following messages in nxlog, 
>>>>>> are these normal, any hints what is going wrong here?
>>>>>> 
>>>>>> <Output viahttp>
>>>>>>  Module om_http
>>>>>>  Url    http://x.x.x.x:8000/in.adp
>>>>>> </Output>
>>>>>> 
>>>>>> nxlog shows:
>>>>>> 
>>>>>> 2014-02-28 00:42:08 INFO nxlog-ce-2.7.1191 started
>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000
>>>>>> 2014-02-28 00:42:08 INFO reconnecting in 0 seconds
>>>>>> 2014-02-28 00:42:08 ERROR disconnected
>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000
>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000
>>>>>> 2014-02-28 00:42:08 INFO reconnecting in 0 seconds
>>>>>> 2014-02-28 00:42:08 ERROR disconnected
>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000
>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000
>>>>>> 2014-02-28 00:42:08 INFO reconnecting in 0 seconds
>>>>>> 2014-02-28 00:42:08 ERROR disconnected
>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000
>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000
>>>>>> 2014-02-28 00:42:08 INFO reconnecting in 0 seconds
>>>>>> 2014-02-28 00:42:08 ERROR disconnected
>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000
>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000
>>>>>> 2014-02-28 00:42:08 ERROR unhandled event! (reqevents: 33, rtnevents: 64)
>>>>>> 2014-02-28 00:42:08 ERROR last message repeated 59 times
>>>>>> 2014-02-28 00:42:08 INFO reconnecting in 0 seconds
>>>>>> 2014-02-28 00:42:08 ERROR disconnected
>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000
>>>>>> 2014-02-28 00:42:08 INFO connecting to x.x.x.x:8000
>>>>>> 2014-02-28 00:42:08 ERROR unhandled event! (reqevents: 33, rtnevents: 64)
>>>>>> 2014-02-28 00:42:08 ERROR last message repeated 7 times
>>>>>> 2014-02-28 00:42:08 INFO reconnecting in 0 seconds
>>>>>> 
>>>>>> 
>>>>>> Thanks in advance!
>>>>>> Regards,
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> Subversion Kills Productivity. Get off Subversion & Make the Move to 
>>>>> Perforce.
>>>>> With Perforce, you get hassle-free workflows. Merge that actually works. 
>>>>> Faster operations. Version large binaries.  Built-in WAN optimization and 
>>>>> the
>>>>> freedom to use Git, Perforce or both. Make the move to Perforce.
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
>>>>> _______________________________________________
>>>>> nxlog-ce-users mailing list
>>>>> nxlog-ce-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users
>>> 
>>> ------------------------------------------------------------------------------
>>> Subversion Kills Productivity. Get off Subversion & Make the Move to 
>>> Perforce.
>>> With Perforce, you get hassle-free workflows. Merge that actually works. 
>>> Faster operations. Version large binaries.  Built-in WAN optimization and 
>>> the
>>> freedom to use Git, Perforce or both. Make the move to Perforce.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> nxlog-ce-users mailing list
>>> nxlog-ce-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users
>> 
>> ------------------------------------------------------------------------------
>> Subversion Kills Productivity. Get off Subversion & Make the Move to 
>> Perforce.
>> With Perforce, you get hassle-free workflows. Merge that actually works. 
>> Faster operations. Version large binaries.  Built-in WAN optimization and the
>> freedom to use Git, Perforce or both. Make the move to Perforce.
>> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
>> _______________________________________________
>> nxlog-ce-users mailing list
>> nxlog-ce-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users
> 
> ------------------------------------------------------------------------------
> Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works. 
> Faster operations. Version large binaries.  Built-in WAN optimization and the
> freedom to use Git, Perforce or both. Make the move to Perforce.
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> _______________________________________________
> nxlog-ce-users mailing list
> nxlog-ce-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

Reply via email to