Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.

java.net.UnknownHostException #370

Open
Devender210590 opened this issue Jul 20, 2020 · 0 comments
Open

java.net.UnknownHostException #370

Devender210590 opened this issue Jul 20, 2020 · 0 comments

Comments

@Devender210590
Copy link

Hi,

I am facing below issue while triggering PR from Bitbucket(Atlassian Bitbucket v5.16.11) toward jenkins:

Pull Request Notifier Version: 3.24

2020-07-20 06:05:31,867 ERROR [threadpool:thread-2] <UserID>*1O9CA51x365x10064721x0 bqys8e 100.126.0.0 "POST /<Project Repo in BitBucket>
java.net.UnknownHostException: <jenkinsServerName>: Try again                                                                                                                
        at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)                                                                                                                
        at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929)                                                                                                            
        at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324)                                                                                                   
        at java.net.InetAddress.getAllByName0(InetAddress.java:1277)                                                                                                                 
        at java.net.InetAddress.getAllByName(InetAddress.java:1193)                                                                                                                  
        at java.net.InetAddress.getAllByName(InetAddress.java:1127)                                                                                                                  
        at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)                                                                              
        at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112)                                                       
        at org.apache.http.impl.conn.BasicHttpClientConnectionManager.connect(BasicHttpClientConnectionManager.java:325)                                                             
        at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381)                                                                                     
        at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237)                                                                                            
        at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)                                                                                                
        at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)                                                                                                       
        at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)                                                                                                
        at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)                                                                                     
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)                                                                                      
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)                                                                                     
        at se.bjurr.prnfb.http.UrlInvoker.doInvoke(UrlInvoker.java:376)                                                                                                              
        at se.bjurr.prnfb.http.UrlInvoker.invoke(UrlInvoker.java:182)                                                                                                                
        at se.bjurr.prnfb.listener.PrnfbPullRequestEventListener$1.invoke(PrnfbPullRequestEventListener.java:100)                                                                    
        at se.bjurr.prnfb.listener.PrnfbPullRequestEventListener.notify(PrnfbPullRequestEventListener.java:324)                                                                      
        at se.bjurr.prnfb.listener.PrnfbPullRequestEventListener.handleEventNotification(PrnfbPullRequestEventListener.java:163)                                                     
        at se.bjurr.prnfb.listener.PrnfbPullRequestEventListener.handleEvent(PrnfbPullRequestEventListener.java:134)                                                                 
        at se.bjurr.prnfb.listener.PrnfbPullRequestEventListener.access$000(PrnfbPullRequestEventListener.java:60)                                                                   
        at se.bjurr.prnfb.listener.PrnfbPullRequestEventListener$2.run(PrnfbPullRequestEventListener.java:178)                                                                       
        at com.atlassian.stash.internal.concurrent.DefaultTransferableStateManager$StateTransferringRunnable.run(DefaultTransferableStateManager.java:166)                          
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)                                                                                                  
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)                                                                                                                  
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)                                                     
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)                                                            
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)                                                                                           
        at java.lang.Thread.run(Thread.java:748)                                                                                                                                     
        ... 1 frame trimmed

The issue seems to be intermittent and coming for specific set of users. Kindly Help.

Thanks,
Dev

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant