Linux Mid Server Issue

sparkshobit
Tera Expert

Current situation with linux installation of mid server,

 

Servicenow instance is reachable from mid server

tested via curl using proxy option like "curl -x Proxyserver:port Instanceurl" and getting 

 

the same proxy server mentioned in config.xml , but getting below errors in agent log file

as per tcpdump , no packet flowing to my proxy IP from server

 

2023-10-16T08:18:09.061+1300 INFO (WrapperStartStopAppMain) [Instance:1384] Setting basic authentication with user mid.itom
2023-10-16T08:18:09.069+1300 INFO (WrapperStartStopAppMain) [KeyStoreProvider:245] Keystore file security/agent_keystore not found. Creating new keystore file.
2023-10-16T08:18:11.062+1300 INFO (WrapperStartStopAppMain) [Bootstrapper:41] Welcome to the ServiceNow MID Server
2023-10-16T08:18:12.191+1300 INFO (WrapperStartStopAppMain) [ExtensionContainer:98] ExtensionContainer ThreadPool started with corePoolSize: 25, maximumPoolSize: 25, maximumQueueSize
: 500
2023-10-16T08:18:13.405+1300 INFO (WrapperStartStopAppMain) [SenderFilesInfoService:46] Service started.
2023-10-16T08:18:13.406+1300 INFO (WrapperStartStopAppMain) [DrainingStateTransitionHandler:125] Drain timeout set (900 seconds).
2023-10-16T08:18:13.422+1300 INFO (MIDServer) [MIDCredentialsConfigProvider:36] MIDCredentialsConfigProvider initialized with com.service_now.mid.creds.provider.standard.StandardCred
entialsProvider
2023-10-16T08:18:13.428+1300 INFO (MIDServer) [PriorityThreadPoolProvider:274] Drain timeout set (900 seconds).
2023-10-16T08:18:15.142+1300 INFO (MIDServer) [BootConfigProvider:36] Attempting to load boot config file at location: /opt/servicenow/devmid/agent/boot-config.yaml
2023-10-16T08:18:15.143+1300 INFO (MIDServer) [BootConfigProvider:44] Boot configuration file not found at default location: /opt/servicenow/devmid/agent/boot-config.yaml, providing
empty configuration
2023-10-16T08:18:15.399+1300 INFO (MIDServer) [Main:266] Initializing MID Server
2023-10-16T08:18:15.399+1300 INFO (MIDServer) [Main:281] Running under Java version: 11.0.16.1-sncmid1, java PID: 64080, args: start
2023-10-16T08:18:16.659+1300 INFO (MIDServer) [Main:289] JVM default socket factory: class com.service_now.mid.security.policy.PolicyBasedSSLSocketFactory
2023-10-16T08:18:17.880+1300 WARN (MIDServer) [HTTPClient:830] Socket error
2023-10-16T08:18:17.885+1300 ERROR (MIDServer) [RemoteGlideRecord:918] getRecords failed (Socket error)
2023-10-16T08:18:17.891+1300 WARN (MIDServer) [RetryExecutor:104] MIDRemoteGlideRecord.query failed, retrying in 10 seconds
2023-10-16T08:18:27.895+1300 WARN (MIDServer) [HTTPClient:830] Socket error
2023-10-16T08:18:27.896+1300 ERROR (MIDServer) [RemoteGlideRecord:918] getRecords failed (Socket error)
2023-10-16T08:18:27.896+1300 WARN (MIDServer) [RetryExecutor:104] MIDRemoteGlideRecord.query failed, retrying in 15 seconds
2023-10-16T08:18:42.901+1300 WARN (MIDServer) [HTTPClient:830] Socket error
2023-10-16T08:18:42.901+1300 ERROR (MIDServer) [RemoteGlideRecord:918] getRecords failed (Socket error)
2023-10-16T08:18:42.901+1300 WARN (MIDServer) [RetryExecutor:104] MIDRemoteGlideRecord.query failed, retrying in 22 seconds
2023-10-16T08:19:05.407+1300 WARN (MIDServer) [HTTPClient:830] Socket error

1 ACCEPTED SOLUTION

sparkshobit
Tera Expert

It has been fixed now

 

It happened due to missed to uncomment proxy section in config.xml

 

Thanks!

View solution in original post

2 REPLIES 2

Rahul Priyadars
Giga Sage
Giga Sage

No Packet Flowing--> Need to Involve Your N/W team for more troubleshooting.

 

Regards

RP

sparkshobit
Tera Expert

It has been fixed now

 

It happened due to missed to uncomment proxy section in config.xml

 

Thanks!