Author Topic: timeout, reconnecting  (Read 21103 times)

0 Members and 1 Guest are viewing this topic.

MATTSTATON

  • Jr. Member
  • **
  • Posts: 3
timeout, reconnecting
« on: September 06, 2009, 02:15:43 AM »
My desktop app keeps saying "timeout, reconnecting" - it happens every 5-10 seconds.  It's very hard to type messages this way.

Inspirer

  • Mibew Project founder
  • Native
  • *****
  • Posts: 262
    • Mibew Messenger
Re: timeout, reconnecting
« Reply #1 on: September 07, 2009, 09:20:19 AM »
Your connection is low (or has a big latency), may be a dial-up. Another version is that you installed Mibew on a slow virtual server.

Go to "Settings -> Performance".
Set "Operator's console refresh time" = 4 (or more),
"Chat refresh time" = 4 (or more).

Changing timeouts (only if it still tries to reconnect):

Edit /webim/js/source/chat.js, line 62:   this._options.timeout = 5000; // 5sec, value in milliseconds
Edit /webim/js/source/users.js, line 9:   this._options.timeout = 5000;

Minify Javascript (you'll need Java and Ant (ant.apache.org)):
in /webim/js/source/ run "ant"

or copy all .js files from /js/source/ -> /js/162/

melzoo

  • Jr. Member
  • **
  • Posts: 1
Re: timeout, reconnecting
« Reply #2 on: April 15, 2010, 05:59:46 AM »
I m getting the same problem when i uploaded the mibew on Linux server its working perfact.

But the same code and database not working on Windows NT server.

Its working but giving me timeout,reconnecting messages.
And the typed messages deliver after 1-2 minutes insted of few seconds.

mohsentaleb

  • Jr. Member
  • **
  • Posts: 1
    • www.mohsentaleb.com
Re: timeout, reconnecting
« Reply #3 on: October 31, 2011, 12:29:15 PM »
In case you get a "Timeout, reconnecting" error in chat thread window, or waiting user's page and you're using Windows server, you may check if the line below is present in your %SystemRoot%\system32\drivers\etc\host file.
Code: [Select]
127.0.0.1        localhost
or you can directly use MySQL sever's host IP (127.0.0.1) in /libs/config.php in your database connection string.


hostingder.com

  • Full Member
  • ***
  • Posts: 7
Re: timeout, reconnecting
« Reply #4 on: January 06, 2012, 04:40:14 PM »
I am also getting this same error, timeout, reconnecting during a chat session.

Adam

  • Jr. Member
  • **
  • Posts: 1
Re: timeout, reconnecting
« Reply #5 on: March 25, 2012, 05:48:19 PM »
Same problem. That has to be something very specific within Mibew.

I have very good internet connection and Mibew instaled on dedicated server (Debian, Apache2-chrooted, Mysql5).

On same server i have few other scripts and cms (even one ajax chat). Few are quite demanding. All run fast.

Mibew is terrible slow on this machine. No traces any error in logs or comunicates but even logout is taking about 30 sec when you have /operator/users.php opened.
Browser doesn't matter (FF11, IE8, Chrome - same).

I change instalation place to cheap shared hosting and Mibew works ok.

What can I do to give You more informations?


imvirtually

  • Jr. Member
  • **
  • Posts: 1
Re: timeout, reconnecting
« Reply #6 on: March 26, 2012, 07:13:13 PM »
After i have followed your instruction.. still facing same issue with "time out re-connecting"

Orion

  • Jr. Member
  • **
  • Posts: 2
Re: timeout, reconnecting
« Reply #7 on: May 12, 2012, 09:17:50 PM »
I have installed Mibew and I am also having this issue. Was a solution or explanation ever found?