SessionID invalid & Error during AJAX Communication

Moderator: crythias

Locked
ccummings
Znuny newbie
Posts: 35
Joined: 16 Aug 2012, 18:55
Znuny Version: 3.1.8
Real Name: Craig
Company: IIT

SessionID invalid & Error during AJAX Communication

Post by ccummings »

OTRS suddently started exhibited these 2 errors last week...which is strange because no changes have been made to anything on the server. I'm the only one with access, and I was out of town.

1. After creating a ticket, users are returned to login screen with the error "SessionID invalid"
2. After logging back in, subsequent attempts to create a ticket return "Error during AJAX Communication"...and the SessionID invalid errors continues to happen if they continue creating a new ticket.

I have tried setting both SessionCheckRemoteIP and SessionDeleteIfNotRemoteID to 0 per viewtopic.php?f=81&t=5978&p=24028&hilit ... lid#p24028, but this has not resolved the problem.
Last edited by ccummings on 05 Nov 2012, 17:14, edited 2 times in total.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: SessionID invalid & Error during AJAX Communication

Post by reneeb »

Please check the OTRS' SystemLog. You should find some error messages there...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
ccummings
Znuny newbie
Posts: 35
Joined: 16 Aug 2012, 18:55
Znuny Version: 3.1.8
Real Name: Craig
Company: IIT

Re: SessionID invalid & Error during AJAX Communication

Post by ccummings »

Looks like it's still deleting sessions after setting SessionCheckRemoteIP = 0

Mon Nov 5 15:35:54 2012 notice OTRS-CGI-10 User: ccummings authentication ok (REMOTE_ADDR: 108.193.191.33).
Mon Nov 5 15:35:49 2012 notice OTRS-CGI-10 Removed SessionID 10e49458328c6f79156c7df73bc433e29f.
Mon Nov 5 15:35:49 2012 notice OTRS-CGI-10 RemoteIP of '10e49458328c6f79156c7df73bc433e29f' (76.231.17.189) is different with the request IP (108.193.191.33). Don't grant access!!! Disable config 'SessionCheckRemoteIP' if you don't want this!
Mon Nov 5 15:35:32 2012 notice OTRS-CGI-10 User: ccummings authentication ok (REMOTE_ADDR: 76.231.17.189).
Mon Nov 5 15:35:25 2012 notice OTRS-CGI-10 Removed SessionID 10f80c4c8db34efec9ea0c9ad4d330bbf3.
Mon Nov 5 15:35:25 2012 notice OTRS-CGI-10 RemoteIP of '10f80c4c8db34efec9ea0c9ad4d330bbf3' (76.231.17.189) is different with the request IP (108.193.191.33). Don't grant access!!! Disable config 'SessionCheckRemoteIP' if you don't want this!
Mon Nov 5 15:34:30 2012 notice OTRS-CGI-10 User: b_barber authentication ok (REMOTE_ADDR: 108.193.191.33).
Mon Nov 5 15:34:09 2012 notice OTRS-CGI-10 User: ccummings authentication ok (REMOTE_ADDR: 76.231.17.189).
ccummings
Znuny newbie
Posts: 35
Joined: 16 Aug 2012, 18:55
Znuny Version: 3.1.8
Real Name: Craig
Company: IIT

[SOLVED] Re: SessionID invalid & Error during AJAX Communica

Post by ccummings »

This turned out to be caused by 2 routes to the internet with 2 differnt IP addresses.
Locked