We have tried putting these on both side, but still facing same issue :( 

On Thursday, October 1, 2020 at 1:33:57 AM UTC+8 [email protected] wrote:

> ideally, on both sides, make it on one side usually is enough.
>
> El miércoles, 30 de septiembre de 2020 a las 3:22:00 UTC+2, 
> [email protected] escribió:
>
>> Thanks, are these setting to be applied on master side or slave or both?
>>
>> On Wednesday, September 30, 2020 at 12:15:23 AM UTC+8 [email protected] 
>> wrote:
>>
>>>
>>>    - Why does agent tries to connect to master when its already 
>>>    connected?
>>>
>>> That suggests half-closed connections, it means that the agent loses the 
>>> connection with the Jenkins instance but the FIN notification never arrived 
>>> to the Jenkins instance so the connection is open in the Jenkins instance 
>>> side. It could be related to networks equipment and the policies that have 
>>> for open connections, the recommendation is to tune the TCP stack to keep 
>>> those connections open with traffic see 
>>> https://support.cloudbees.com/hc/en-us/articles/115001416548#7tcpretransmissiontimeoutossperhapsincrease
>>>
>>> El martes, 29 de septiembre de 2020 a las 10:47:22 UTC+2, 
>>> [email protected] escribió:
>>>
>>>> Hi Team, We are using JNLP to connect Mac agent to Linux master node.
>>>>
>>>> Jenkins agent keeps disconnecting frequently, and we are getting below 
>>>> logs in master.
>>>>
>>>> Can you please suggest how to resolve this? What are the steps to 
>>>> further triage the same.
>>>>
>>>> Some of the questions we are trying to answer is:
>>>>
>>>>    - What is EOFException?
>>>>    - Why does agent tries to connect to master when its already 
>>>>    connected?
>>>>    - Why does eventually the ping / connection fails? 
>>>>
>>>> We keep seeing this pattern in logs too often and too frequently. Any 
>>>> help would be appreciated.
>>>>
>>>> Results are same even if we try any of the below options:
>>>>
>>>>    - Connected using *Launch agent from Browser*
>>>>    - Connected by *starting automator* in Mac which runs shell/zsh to 
>>>>    run agent.jar
>>>>    - Connected by running *plist* in Mac
>>>>
>>>> * Jenkins environment:*
>>>>
>>>>    - Jenkins: 2.249.1
>>>>    - Master Node: Linux RHEL 8.1
>>>>    - Master Java Version: 1.8.0_242
>>>>    - Slave System: macOS Catalina, Version 10.15.6
>>>>    - Slave Java Version: 1.8.0_261
>>>>
>>>> *Connection #xxx failed: java.io.EOFException Sep 29, 2020 2:45:21 AM  
>>>> INFO hudson.TcpSlaveAgentListener$ConnectionHandler run Accepted 
>>>> JNLP4-connect connection #xxx from x.x.x.x/x.x.x.x:57215 Sep 29, 2020 
>>>> 2:45:21 AM  
>>>> INFO org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer on 
>>>> Recv[JNLP4-connect connection from x.x.x.x/x.x.x.x:57215] Refusing headers 
>>>> from remote: <agent_name> is already connected to this master. Rejecting 
>>>> this connection.Sep 29, 2020 2:45:31 AM  
>>>> INFO hudson.TcpSlaveAgentListener$ConnectionHandler runConnection #xxx 
>>>> failed: java.io.EOFException Sep 29, 2020 2:45:31 
>>>> AM INFO hudson.TcpSlaveAgentListener$ConnectionHandler runAccepted 
>>>> JNLP4-connect connection #xxx from x.x.x.x/x.x.x.x:57218 Sep 29, 2020 
>>>> 2:45:32 AM  
>>>> INFO org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer 
>>>> onRecv[JNLP4-connect connection from x.x.x.x/x.x.x.x] Refusing headers 
>>>> from 
>>>> remote: <agent_name> is already connected to this master. Rejecting this 
>>>> connection.Sep 29, 2020 2:45:32 AM INFO hudson.slaves.ChannelPinger$1 
>>>> onDeadPing failed. Terminating the channel JNLP4-connect connection from 
>>>> x.x.x.x/x.x.x.x:57015. java.util.concurrent.TimeoutException: Ping started 
>>>> at 1601318492966 hasn't completed by 1601318732966        at 
>>>> hudson.remoting.PingThread.ping(PingThread.java:134)        at 
>>>> hudson.remoting.PingThread.run(PingThread.java:90) *
>>>>
>>>>  
>>>>
>>>> TIA
>>>>
>>>>  
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins 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/jenkinsci-users/c8522ac5-64f0-458f-b853-ac874d2ef6b6n%40googlegroups.com.

Reply via email to