cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2605
Views
0
Helpful
8
Replies

RemoteExpertMobile Network reachability changed to:NO - here the application has the chance to inform the user that connectivity is lost

chujianping
Level 1
Level 1

hello everyone

    

     when I run RemoteEcperMobile Demo(IOS CSDK) ,  I caught an err 。

     server ip : http://10.10.102.70 port:8080

     log follows:

2015-10-12 23:52:54.782 RemoteExpertMobile[4757:275894] Starting AssistSDK Support...

2015-10-12 23:52:54.782 RemoteExpertMobile[4757:275894] iOS version is 8.1

2015-10-12 23:52:54.783 RemoteExpertMobile[4757:275894] AssistSDK detected UIApplicationDidBecomeActiveNotification event.

2015-10-12 23:52:54.785 RemoteExpertMobile[4757:275894] urlStr = http://10.10.102.70:8080

2015-10-12 23:52:54.786 RemoteExpertMobile[4757:275894] scheme = http; server = 10.10.102.70; port = 8080

2015-10-12 23:52:54.787 RemoteExpertMobile[4757:275894] Reachability callback - Network connection flags: Reachable

2015-10-12 23:52:54.787 RemoteExpertMobile[4757:275894] Reachability: wifi

2015-10-12 23:52:54.787 RemoteExpertMobile[4757:275894] Network reachability changed to:NO - here the application has the chance to inform the user that connectivity is lost

2015-10-12 23:52:54.787 RemoteExpertMobile[4757:275894] Network reachability changed to:YES - here the application has the chance to inform the user that connectivity is lost

2015-10-12 23:52:54.788 RemoteExpertMobile[4757:275894] Sending bundleID=default&targetServer=aHR0cDovLzEwLjEwLjEwMi43MDo4MDgw to http://10.10.102.70:8080/assistserver/bundleService

2015-10-12 23:52:54.789 RemoteExpertMobile[4757:275894] In CXLASpotlightView drawRect.

2015-10-12 23:52:54.789 RemoteExpertMobile[4757:275894] In CXLAGlassView drawRect.

2015-10-12 23:52:54.797 RemoteExpertMobile[4757:276110] request access for video granted = 1

2015-10-12 23:52:54.818 RemoteExpertMobile[4757:275894] Did receive response 200

2015-10-12 23:52:54.818 RemoteExpertMobile[4757:275894] Finished loading

2015-10-12 23:52:54.819 RemoteExpertMobile[4757:275894] Will obtain graphical resources from http://10.10.102.70:8080/assistserver/defaultUIResources

2015-10-12 23:52:54.819 RemoteExpertMobile[4757:275894] Video Mode set to default (full)

2015-10-12 23:52:54.821 RemoteExpertMobile[4757:275894] -[UIImageView setImageWithURL:placeholderImage:]: unrecognized selector sent to instance 0xe557610

2015-10-12 23:52:54.825 RemoteExpertMobile[4757:275894] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIImageView setImageWithURL:placeholderImage:]: unrecognized selector sent to instance 0xe557610'

1 Accepted Solution

Accepted Solutions

Hi Changhoon,

For expert_assist_iOS_SDK-10.6.2.10000-4 please reach out to however you received expert_assist_iOS_SDK-10.6.1.10000-8 from.

Regards,

Rob

View solution in original post

8 Replies 8

ewindgat
Level 5
Level 5

Can you explain the scenario, to help us reproduce the error?

use Remote export moblie  demo (IOS SDK)。set server ip 10.10.102.70 port:8080。

the scenario  is

+(NSString *) getServerHost {

    NSUserDefaults* systemSettings = [NSUserDefaults standardUserDefaults];

    NSString *serverAdr = [systemSettings stringForKey:@"serverAddress"];

    if (!serverAdr) {

        serverAdr = @"http://10.10.102.70:8080";

    }

    return serverAdr;

}

I want to know ,what is the defualt port of the REM system for ios appliaction client ?

Screenshot:

rem.png

2015-10-13 17:56:38.666 RemoteExpertMobile[6940:405712] AssistSDK detected UIApplicationDidBecomeActiveNotification event.

2015-10-13 17:56:38.669 RemoteExpertMobile[6940:405712] urlStr = http://10.10.102.70:8080

2015-10-13 17:56:38.669 RemoteExpertMobile[6940:405712] scheme = http; server = 10.10.102.70; port = 8080

2015-10-13 17:56:38.670 RemoteExpertMobile[6940:405712] Reachability callback - Network connection flags: Reachable

2015-10-13 17:56:38.670 RemoteExpertMobile[6940:405712] Reachability: wifi

2015-10-13 17:56:38.670 RemoteExpertMobile[6940:405712] Network reachability changed to:NO - here the application has the chance to inform the user that connectivity is lost

2015-10-13 17:56:38.671 RemoteExpertMobile[6940:405712] Network reachability changed to:YES - here the application has the chance to inform the user that connectivity is lost

2015-10-13 17:56:38.671 RemoteExpertMobile[6940:405712] Sending bundleID=default&targetServer=aHR0cDovLzEwLjEwLjEwMi43MDo4MDgw to http://10.10.102.70:8080/assistserver/bundleService

2015-10-13 17:56:38.672 RemoteExpertMobile[6940:405712] In CXLASpotlightView drawRect.

2015-10-13 17:56:38.672 RemoteExpertMobile[6940:405712] In CXLAGlassView drawRect.

2015-10-13 17:56:38.679 RemoteExpertMobile[6940:407205] request access for video granted = 1

2015-10-13 17:56:38.681 RemoteExpertMobile[6940:405712] Did receive response 200

2015-10-13 17:56:38.681 RemoteExpertMobile[6940:405712] Finished loading

2015-10-13 17:56:38.682 RemoteExpertMobile[6940:405712] Will obtain graphical resources from http://10.10.102.70:8080/assistserver/defaultUIResources

2015-10-13 17:56:38.682 RemoteExpertMobile[6940:405712] Video Mode set to default (full)

2015-10-13 17:56:38.684 RemoteExpertMobile[6940:405712] -[UIImageView setImageWithURL:placeholderImage:]: unrecognized selector sent to instance 0xbf32160

2015-10-13 17:56:38.688 RemoteExpertMobile[6940:405712] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIImageView setImageWithURL:placeholderImage:]: unrecognized selector sent to instance 0xbf32160'

*** First throw call stack:

(

  0   CoreFoundation                      0x049e7946 __exceptionPreprocess + 182

  1   libobjc.A.dylib                     0x04672a97 objc_exception_throw + 44

  2   CoreFoundation                      0x049ef5c5 -[NSObject(NSObject) doesNotRecognizeSelector:] + 277

  3   CoreFoundation                      0x049383e7 ___forwarding___ + 1047

  4   CoreFoundation                      0x04937fae _CF_forwarding_prep_0 + 14

  5   RemoteExpertMobile                  0x00024e45 -[ASDKAgentViewWithVideo setupElements] + 389

  6   RemoteExpertMobile                  0x00024aa7 -[ASDKAgentViewWithVideo initWithDelegate:] + 279

  7   RemoteExpertMobile                  0x0000b2bf -[AssistSDK restart:supportParameters:] + 1327

  8   RemoteExpertMobile                  0x00019117 -[AssistSDK dataLoaded:response:tag:] + 663

  9   RemoteExpertMobile                  0x00027f22 -[ASDKClientHTTPSConnectionHandler connectionDidFinishLoading:] + 258

  10  CFNetwork                           0x02f76d29 ___ZL32_NSURLConnectionDidFinishLoadingP16_CFURLConnectionPKv_block_invoke + 40

  11  CFNetwork                           0x02f8e879 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 83

  12  CFNetwork                           0x02f75dd9 -[NSURLConnectionInternalConnection invokeForDelegate:] + 145

  13  CFNetwork                           0x02f8e813 -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 189

  14  CFNetwork                           0x02f8e9c6 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 58

  15  CFNetwork                           0x02f753d0 _ZL32_NSURLConnectionDidFinishLoadingP16_CFURLConnectionPKv + 43

  16  CFNetwork                           0x02e3fe65 ___ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointerFvvE_block_invoke + 115

  17  CFNetwork                           0x02f1ec5d ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 290

  18  CFNetwork                           0x02e2a6bc _ZN19RunloopBlockContext13_invoke_blockEPKvPv + 70

  19  CoreFoundation                      0x048dc3d9 CFArrayApplyFunction + 57

  20  CFNetwork                           0x02e2a57d _ZN19RunloopBlockContext7performEv + 149

  21  CFNetwork                           0x02f7fdc6 _ZThn16_N19RunloopBlockContext24multiplexerClientPerformEv + 20

  22  CFNetwork                           0x02e2a3c0 _ZN17MultiplexerSource7performEv + 292

  23  CFNetwork                           0x02e2a1dc _ZN17MultiplexerSource8_performEPv + 76

  24  CoreFoundation                      0x0490b1df __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15

  25  CoreFoundation                      0x04900ced __CFRunLoopDoSources0 + 253

  26  CoreFoundation                      0x04900248 __CFRunLoopRun + 952

  27  CoreFoundation                      0x048ffbcb CFRunLoopRunSpecific + 443

  28  CoreFoundation                      0x048ff9fb CFRunLoopRunInMode + 123

  29  GraphicsServices                    0x078ba24f GSEventRunModal + 192

  30  GraphicsServices                    0x078ba08c GSEventRun + 104

  31  UIKit                               0x034aa8b6 UIApplicationMain + 1526

  32  RemoteExpertMobile                  0x00004dea main + 138

  33  libdyld.dylib                       0x054a5ac9 start + 1

)

libc++abi.dylib: terminating with uncaught exception of type NSException

(lldb)

 

The default external firewall ports are HTTP/HTTPS (80/443)

 

The default REM service ports are 8080 for http and 8443 for https.

 

I set  vserverAdr values  :

            serverAdr = @"http://10.10.102.70:80";

           serverAdr = @"http://10.10.102.70:8080";

           serverAdr = @"https://10.10.102.70:8443";

           serverAdr = @"https://10.10.102.70:443";

    try connect again . result is stiil err.

    

015-10-15 21:37:03.361 RemoteExpertMobile[17254:972117] Network reachability changed to:YES - here the application has the chance to inform the user that connectivity is lost

2015-10-15 21:37:03.361 RemoteExpertMobile[17254:972117] Sending bundleID=default&targetServer=aHR0cDovLzEwLjEwLjEwMi43MDo4MA== to http://10.10.102.70:80/assistserver/bundleService

2015-10-15 21:37:03.362 RemoteExpertMobile[17254:972117] In CXLASpotlightView drawRect.

2015-10-15 21:37:03.362 RemoteExpertMobile[17254:972117] In CXLAGlassView drawRect.

2015-10-15 21:37:03.371 RemoteExpertMobile[17254:972117] Connection failed. Error - Could not connect to the server. http://10.10.102.70:80/assistserver/bundleService

2015-10-15 21:37:03.372 RemoteExpertMobile[17254:972117] Video Mode set to default (full)

2015-10-15 21:37:03.374 RemoteExpertMobile[17254:972117] -[UIImageView setImageWithURL:placeholderImage:]: unrecognized selector sent to instance 0xbf3a670

2015-10-15 21:37:03.377 RemoteExpertMobile[17254:972117] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIImageView setImageWithURL:placeholderImage:]: unrecognized selector sent to instance 0xbf3a670'

*** First throw call stack:

(


This was an issue, that was fixed in the SKD verion 10.6.2.10000-3.

Could I ask what verion of the SDK you are using?

Same issue.

I'm using expert_assist_iOS_SDK-10.6.1.10000-8.

Where is expert_assists_iOS_SDK-10.6.2.10000-3?

Setting the SDK version in user settings to 1.2.22

Starting AssistSDK Support...

iOS version is 8.1.2

AssistSDK detected UIApplicationDidBecomeActiveNotification event.

request access for video granted = 1

request access for audio granted = 1

urlStr = https://10.10.20.55:8443

scheme = https; server = 10.10.20.55; port = 8443

Reachability callback - Network connection flags: Reachable

Reachability: wifi

Network reachability changed to:NO - here the application has the chance to inform the user that connectivity is lost

Network reachability changed to:YES - here the application has the chance to inform the user that connectivity is lost

Sending bundleID=default&targetServer=aHR0cHM6Ly8xMC4xMC4yMC41NTo4NDQz to https://10.10.20.55:8443/assistserver/bundleService

In CXLASpotlightView drawRect.

In CXLAGlassView drawRect.

Connection failed. Error - The request timed out. https://10.10.20.55:8443/assistserver/bundleService

Video Mode set to default (full)

In MenuView.initWithFrame:laView:

In MenuView.setupElements

urlStr = https://10.10.20.55:8443

scheme = https; server = 10.10.20.55; port = 8443

Sending type=create&targetServer=aHR0cHM6Ly8xMC4xMC4yMC41NTo4NDQz to https://10.10.20.55:8443/assistserver/consumer

Connection failed. Error - Could not connect to the server. https://10.10.20.55:8443/assistserver/consumer

Cleaning up call with callTerminated: 0

Calling endCall on call handler

DONE Cleaning up call with callTerminated: 0

Hi Changhoon,

For expert_assist_iOS_SDK-10.6.2.10000-4 please reach out to however you received expert_assist_iOS_SDK-10.6.1.10000-8 from.

Regards,

Rob

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: