Mibew Messenger Community

Contributions => Plugins, tips, and tricks => Topic started by: jeebus on May 30, 2016, 11:31:58 AM

Title: Wurrd app doesn't show the operator as online
Post by: jeebus on May 30, 2016, 11:31:58 AM
Hi,

I'm using Mibew 2.1.0 with the latest Wurrd plugins, which are activated. I can successfully login with the iOS app and the operator's avatar and company name show up just fine, however in Mibew the operator with which I just logged in is always offline. I tested the iOS app with the test Wurrd server and it works just fine. I'm running nginx+hhvm so there may be part of the problem. Otherwise Mibew works just fine with a couple of nginx redirection rules. I see no messages relating to what the problem might be in nginx/hhvm logs.

Just tried logging in as the same operator on the Mibew page, left a message from the website, received a notification from Mibew, nothing from the app.
Title: Re: Wurrd app doesn't show the operator as online
Post by: scalior on May 30, 2016, 01:53:49 PM
Hi jeebus,

I came up with a script that does some basic testing on your installation. Drop the following php file on your server, run it and let me know where it fails.

https://github.com/alberto234/wurrd-client-interface-plugin/blob/master/diagnostics/testwurrd.php
Title: Re: Wurrd app doesn't show the operator as online
Post by: jeebus on May 30, 2016, 02:04:28 PM
Hi jeebus,

I came up with a script that does some basic testing on your installation. Drop the following php file on your server, run it and let me know where it fails.

https://github.com/alberto234/wurrd-client-interface-plugin/blob/master/diagnostics/testwurrd.php

Hi scalior,

Doesn't seem to be much to the script, are you sure it's the right version? There is nothing but a form an if statement that does nothing if login and password have been entered. Which is exactly what it does, nothing.
Title: Re: Wurrd app doesn't show the operator as online
Post by: scalior on May 30, 2016, 04:20:48 PM
Sorry, didn't check in the latest version. Try again.
Title: Re: Wurrd app doesn't show the operator as online
Post by: jeebus on May 30, 2016, 04:31:50 PM
Sorry, didn't check in the latest version. Try again.

Thanks! I'm getting the following. Running the test did activate the operator as being "online", which the app fails to do.

Chat server: https://domain.com/dev/mibew
API Version: 1004
Use POST: false

Operator: myuser

Start login testing...
Login success

Start check for updates testing...
Check for updates success

Start logout testing...
Logout success
Title: Re: Wurrd app doesn't show the operator as online
Post by: jeebus on May 30, 2016, 04:45:48 PM
Just tested it with Android and it seems to work just fine.
Title: Re: Wurrd app doesn't show the operator as online
Post by: scalior on May 30, 2016, 04:56:06 PM
Just sent you a private message.

It works on Android because Android can check for updates in the background. It wouldn't work for iOS since iOS doesn't support true background processing. Will update you once we can import your certificate in our runtime.

Eyong