Forums
« Back to Installation

Web Browser plugin unstable - sometimes says is not installed

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hello,
 
I downloaded the latest web browser plugin with video support.
It's working fine, but sometimes, when i open the browser with the video sample, it appears this error:
<strong style="color: red;">ERROR: cannot initialize phone: Plugin not available (code
1)
cwic javascript version is 2.0.0.60598
plugin upgrade mandatory

 
To workaround that, i need to close the browser, open the sample in a different browser, close this one too and open the first browser again. With this, the video sample loads the activeX and works again. BUT, even this workaround does not work sometimes. When that happens, i have to uninstall the plugin and install it again to get it to work.
 
Is anybody experience this behavior?
Is there a way to fix this?
 
Thanks

Hi Filipe,

What OS are you running ? XP or 7 ? 32 or 64 bits ?
Does the problem occur in any browser (IE, Firefox, Chrome) or a particular one ?
Could you send your logs (softphone.log) to jabbersdk-support@cisco.com ?
The log file can be found under
XP: C:\Documents And Settings\{user}\Local Settings\Application Data\softphone.log
Vista and 7: C:\Users\{user}\AppData\Local\softphone.log

Thanks, Thomas

Hello Thomas,

Win7, 64bits. I didnt test it with firefox.
There is nothing relevant in that log, because the problem is that the browser does not load the ActiveX, so nothing is wrote to the log.

I tried different behaviors and i got to a simple one! The ActiveX is not loaded when i have both browsers opened. Some examples:
1. IE and Chrome closed - open IE with the sample => works ok
2. IE open with the sample ok - close IE and open it again => works ok
3. IE and Chrome closed - open Chrome on any website, open IE with the sample => error Plugin not available
4. IE open with the sample error and Chrome opened - close both.Open IE with the sample => works ok
5. IE open with the sample ok - open Chrome on any website. Refresh the sample page in IE => works ok

So, everytime i have the chrome open and then open the video sample in IE, it wont work until i close Chrome. Since i'm developing and testing the SDK, i can live with that.

On Chrome (version 19.0.1084.52) the sample never worked with me.

Hi Filipe,

We have identified a similar problem caused by some ActiveX internal dependencies. We are working on a fix which should be available in the next maintenance release (no date yet).

Thanks, Thomas

Hi,

Is this issue fixed now?

I do have similar problems with IE9 on Win7 64bit.
The Browser crashes regularly when browsing to your sample page.
I do have the Plugin Version 2.0.3.60643 - 9.0(1) MR1

Thanks,

Lorenz

Lorenz,
This crashing issue was because of the ssl dlls that the SDK is used are non-relocatable. This means that sometimes when the plugin tries to load, the area those dlls attempt to load into is already in use and IE crashes at that point.

This usually only happens in IE due to the fact that the plugin shares the same process space as the browser. In other browsers it is much less likely to happen due to the fact they host the plugin in another plugin-container process.

There is a workaround that works in many, but not all situations. If the application detects that it is running in IE, it can initialise the plugin early in the page load process i.e. in window.onLoad or jQuery(document).ready() using the following code:
try {
var plugin = new ActiveXObject(‘CiscoSystems.CiscoWebCommunicator’);
} catch(e) {
}

Howard

Hi Howard

1try {
2var plugin = new ActiveXObject(‘CiscoSystems.CiscoWebCommunicator’);
3} catch(e) {
4}

Is it correct to add the code to my jquery document.ready function?
I tried to, but it doesn't make a difference. It still crashes the IE 9 browser everytime it tries to load the plugin.

Can it make difference, that we load the cwic plugin within an IFrame?

Lorenz

Hi Lorenz,
 
The code snippet you pasted has smart quotes in it.  Please check to see you have normal quotes in the code in your application.
 
You can put it in $(document).ready(), however the earlier it is in the page load process, the better.  So attaching it to the handler or as the very first $(document).ready() to be defined would be best.
 
It is, however, just a workaround and is not guaranteed to work.  We're working on a permanent fix to the issue, but I don't have a firm date for when that will be available yet.
 
Regards,
Martin.

HI Thomas,
I am getting error
Error
Automation server can't create object
cannot initialize Cisco Web Communicator
Browser is IE9. Chrome.
Any ideas as re-installed the plug-in quite a few times but still getting this error.
 
 

Hi Imran,
What version of the plugin and web page are you using for testing ? The latest plugin (2.0.3+) has some improvements regarding initialization.
The "Automation server can't create object" usually comes from security settings preventing ActiveX objects to be loaded by the browser. Can you successfully load other ActiveX-based pages in IE9 ?
Hope this helps, Thomas