Ajax Communication error

Moderator: crythias

Post Reply
inderjohar2287
Znuny newbie
Posts: 48
Joined: 12 Sep 2014, 19:11
Znuny Version: 3.3.8
Real Name: Inder
Company: QAS

Ajax Communication error

Post by inderjohar2287 »

From last 2 months there was no error into the OTRS. Now after changing is IP from 192 series to 10 series it start giving the AJAX communication error.
I have to select "Prevent this page..." then it stops for a while... At least in a day it comes once.

Second hurdle is that after changing IP series it is logging out sessions of agent and customer even then their is setting set of refresh after 2 mins. Sometime it is loging after 1 min when an agent is putting update on the ticket.
The time that I have seen from admin panel is 5 hours of session that I have increased earlier to 8 hours but also it didn't resolve my problem therefore I made it default.

Please help on above to hurdles. BTW my OTRS is on VM
OTRS 3.3.8 (private) on Linux with MySQL database.
inderjohar2287
Znuny newbie
Posts: 48
Joined: 12 Sep 2014, 19:11
Znuny Version: 3.3.8
Real Name: Inder
Company: QAS

Re: Ajax Communication error

Post by inderjohar2287 »

Please help me to fix this
OTRS 3.3.8 (private) on Linux with MySQL database.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Ajax Communication error

Post by crythias »

your config seems to have default website under old IP.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
inderjohar2287
Znuny newbie
Posts: 48
Joined: 12 Sep 2014, 19:11
Znuny Version: 3.3.8
Real Name: Inder
Company: QAS

Re: Ajax Communication error

Post by inderjohar2287 »

Config file will have old IP. This what you mean?

Also please help me to find the resolution of 2nd point that is session out even after 2 mins.
OTRS 3.3.8 (private) on Linux with MySQL database.
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Ajax Communication error

Post by jojo »

check the OTRS config for the IP address for the old system
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
jevans
Znuny newbie
Posts: 22
Joined: 04 Dec 2014, 21:14
Znuny Version: 4.0.2
Real Name: Jacob Evans
Company: Higher Information Group

Re: Ajax Communication error

Post by jevans »

Did you ever get his working?

I had a similar issue with chrome, viewtopic.php?f=62&t=27422
inderjohar2287
Znuny newbie
Posts: 48
Joined: 12 Sep 2014, 19:11
Znuny Version: 3.3.8
Real Name: Inder
Company: QAS

Re: Ajax Communication error

Post by inderjohar2287 »

I have changed into the main configuration file where I found the old IP.

Problem is still persisting as AJAX communication error and session out.
OTRS 3.3.8 (private) on Linux with MySQL database.
jevans
Znuny newbie
Posts: 22
Joined: 04 Dec 2014, 21:14
Znuny Version: 4.0.2
Real Name: Jacob Evans
Company: Higher Information Group

Re: Ajax Communication error

Post by jevans »

did you give everyone read permissions to the js cache objects?

Code: Select all

chmod 664 /opt/otrs/var/httpd/htdocs/js/js-cache/*
inderjohar2287
Znuny newbie
Posts: 48
Joined: 12 Sep 2014, 19:11
Znuny Version: 3.3.8
Real Name: Inder
Company: QAS

Re: Ajax Communication error

Post by inderjohar2287 »

it will fix AJAX communication error as well session log out issue?
OTRS 3.3.8 (private) on Linux with MySQL database.
jevans
Znuny newbie
Posts: 22
Joined: 04 Dec 2014, 21:14
Znuny Version: 4.0.2
Real Name: Jacob Evans
Company: Higher Information Group

Re: Ajax Communication error

Post by jevans »

I assume the logout button doesn't work until you refresh the screen because javascript isn't loading.

javascript isn't loading because your can't access it (no read permissions).

tldr; yes.

I do still have some ajax issues with loading the RichTextEditor but only if I clear the browser cache.
jevans
Znuny newbie
Posts: 22
Joined: 04 Dec 2014, 21:14
Znuny Version: 4.0.2
Real Name: Jacob Evans
Company: Higher Information Group

Re: Ajax Communication error

Post by jevans »

IF that doesn't work, I ended up enabling Enhanced Richtext Editor (Core::WEB)

Seemed to shut chrome up for good.

I also disabled minification of CSS and JS, not 100% sure if that helped.
inderjohar2287
Znuny newbie
Posts: 48
Joined: 12 Sep 2014, 19:11
Znuny Version: 3.3.8
Real Name: Inder
Company: QAS

Re: Ajax Communication error

Post by inderjohar2287 »

All these doesn't help out to fix the hurdle of logout and the error message.
OTRS 3.3.8 (private) on Linux with MySQL database.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Ajax Communication error

Post by crythias »

Did you bin/otrs.DeleteCache.pl ?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
inderjohar2287
Znuny newbie
Posts: 48
Joined: 12 Sep 2014, 19:11
Znuny Version: 3.3.8
Real Name: Inder
Company: QAS

Re: Ajax Communication error

Post by inderjohar2287 »

I have done the and it shows status "Done" but still session is logging out.
OTRS 3.3.8 (private) on Linux with MySQL database.
Post Reply