pacs-integration connection timeout with atomfeed of openmrs

Application Name: pacs-integration Version Number: current version

Question: I am getting error connection timeout for atomfeed my openmrs is on the server and i am using the correct feed uri still i am getting connection timeout error


2023-12-15 01:12:44.503  INFO 11832 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 9081 (http)
2023-12-15 01:12:44.506  INFO 11832 --- [           main] org.bahmni.module.PacsIntegration        : Started PacsIntegration in 6.96 seconds (JVM running for 7.449)
2023-12-15 01:12:47.305  INFO 11832 --- [pool-2-thread-1]   : Processing feed...
2023-12-15 01:13:10.372 ERROR 11832 --- [pool-2-thread-1] o.s.s.s.TaskUtils$LoggingErrorHandler    : Unexpected error occurred in scheduled task.

org.ict4h.atomfeed.client.exceptions.AtomFeedClientException: org.ict4h.atomfeed.client.exceptions.AtomFeedClientException: Connection timed out: connect
	at org.ict4h.atomfeed.client.service.AtomFeedClient.processEvents(
	at org.bahmni.module.pacsintegration.atomfeed.ScheduledTasks$
	at java.base/java.util.concurrent.Executors$
	at java.base/
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.base/java.util.concurrent.ThreadPoolExecutor$
	at java.base/
Caused by: org.ict4h.atomfeed.client.exceptions.AtomFeedClientException: Connection timed out: connect
	at org.ict4h.atomfeed.client.repository.datasource.DefaultHttpClient.fetch(
	at org.ict4h.atomfeed.client.repository.AllFeeds.getFor(
	at org.ict4h.atomfeed.client.service.FeedEnumerator.seekFirstFeed(
	at org.ict4h.atomfeed.client.service.FeedEnumerator.initializeEnumeration(
	at org.ict4h.atomfeed.client.service.FeedEnumerator.<init>(
	at org.ict4h.atomfeed.client.service.AtomFeedClient.processEvents(
	... 10 common frames omitted
Caused by: Connection timed out: connect
	at java.base/ Method)
	at java.base/
	at java.base/

i tried to get the data from uri on postman i got the xml data on postman but on this pacs-integration i am getting connection timeout error please help me to resolve this error .


I resolved the issue of connection timeout The problem was in the version of <atomfeed.version>1.10.1</atomfeed.version> in pom.xml file now i changed it to <atomfeed.version>1.9.4</atomfeed.version> now it is working fine .