Skip to main content

This sync issue has different variations. These are random issues. Random users are being affected.  Customer only uses Samsung Active 3 tabs. 

  

  1.  Sometimes the tablet displays a red dot on the sync screen, meaning it's been disconnected from the server. Relogging and reinitialization does not resolve the issue, the only way to fix the issue is to reinstall the app from scratch.  

  2.  Other times, the sync screen will display no activity, the tablet will not sync at all. To fix this issue, 

    • Users can re initialize. 

    • Restart the tablets. 

    • Re login fixes the issue sometimes. 

These are the some log entries.

 

  • |com.metrix.architecture.utilities.MetrixActivityHelper:createActivityIntent|main|java.lang.ClassNotFoundException: com.metrix.metrixmobile.ApplicationSettings
        at java.lang.Class.classForName(Native Method)

 

  • com.metrix.metrixmobile.system.SyncServiceMonitor:populateErrorList|main|java.lang.NullPointerException: Attempt to invoke virtual method 'android.widget.TabWidget android.widget.TabHost.getTabWidget()' on a null object reference
        at com.metrix.metrixmobile.system.SyncServiceMonitor.populateErrorList(SyncServiceMonitor.java:1119)

 

  • MetrixActivityHelper:createActivityIntent|main|java.lang.ClassNotFoundException: com.metrix.metrixmobile.SyncServiceMonitor …… Caused by: java.lang.ClassNotFoundException: com.metrix.metrixmobile.SyncServiceMonitor

 

  • com.metrix.metrixmobile.service.MetrixIntentService]|Problem reading remote response for POST https://serviceUrl/IFSMobileService//messages/mobileping HTTP/1.1: java.net.SocketException: Connection reset___at java.net.SocketInputStream.read(SocketInputStream.java:215)
        at java.net.SocketInputStream.read(SocketInputStream.java:144)

 

  • tcom.metrix.metrixmobile.service.MetrixIntentService]|Problem reading remote response for POST https://ServiceURL/IFSMobileService//messages/mobileping HTTP/1.1: org.apache.http.conn.ConnectTimeoutException: Connect to /IP:443 timed out

 

  • mcom.metrix.metrixmobile.service.MetrixIntentService]|Problem reading remote response for POST https://serviceUrl/IFSMobileService//messages/mobileping HTTP/1.1: javax.net.ssl.SSLPeerUnverifiedException: Cannot verify hostname: URL

 

  • com.metrix.architecture.services.MetrixSyncManager:fetchTransactions|IntentServicegcom.metrix.metrixmobile.service.MetrixIntentService]|java.lang.NullPointerException: Attempt to invoke virtual method 'int java.util.ArrayList.size()' on a null object reference

 

  • rcom.metrix.metrixmobile.service.MetrixIntentService]|Problem reading remote response for POST https://serviceUrl/IFSMobileService//messages/mobileping HTTP/1.1: org.apache.http.conn.HttpHostConnectException: Connection to https://URL refused ====  Caused by: java.net.ConnectException: failed to connect to URL/IP (port 443) from /:: (port 51872): connect failed: ECONNREFUSED (Connection refused)

=====Caused by: android.system.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
    
at libcore.io.Linux.connect(Native Method)
    at libcore.io.ForwardingOs.connect(ForwardingOs.java:94)
    at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:138)
    at libcore.io.ForwardingOs.connect(ForwardingOs.java:94)
    at libcore.io.IoBridge.connectErrno(IoBridge.java:156)
    at libcore.io.IoBridge.connect(IoBridge.java:134)
    ... 38 more
 

  • Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)

 

  • EX; 4579661; ProcessMessageToMobile; An unexpected error occurred processing message. Error: The database command failed and reported the following error: Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

 

 

What could be possible causes for this issue ?

Hi @PASCLK ,

I would check any firewalls or middleware that the mobile transactions pass through. These have been known to disrupt the communication and sometimes deny traffic in some cases, especially if there are attachments to be sent back.

The firewall/middleware should have a log that can be compared to the times on these sync errors at the very least to get a bigger picture of what is going on.

Kind regards,

Lee Pinchbeck


Hi Pasan,

any load balancers involved? If so, then check if the load balancer uses persistent connections based on source IP for Mobile Servers.

Best regards
Roman


Reply