Results 1 to 2 of 2

Thread: Ajax "Communication failure" on connection server through localhost:portnumber

  1. #1
    Sencha User
    Join Date
    Sep 2010

    Default Ajax "Communication failure" on connection server through localhost:portnumber

    Hi everyone,

    I hope I am in the right forum here. I am currently using ExtJs with Ext.ux.FileTreeMenu / Panel
    I am "routing" the connection to the actual server via a localhost:port.

    This gives me Ajax request failure "Communication failure". I think this might be because of the different "urls" on the server and client? I do see the Ajax request posted to the sever as the .php files is giving output to the console via firephp. So serverside it looks to work fine, there just no request captured on the client side.

    So at the point where I print the json as a returnvalue it simply seems not to go to the client at all.
    I am currently trying to debug this, but I am not so happy messing around in the core files of ExtJs.

    Maybe anyone of you had such an issue already and can point me in the right direction?

    Thanks a lot for your support

  2. #2
    Sencha User
    Join Date
    Sep 2010


    Ok, I figured out its possibly the same-origin-issue to prevent xss.

    So using scripttagproxy might help. But I understand this is ok for custom made Ajax-calls. How can I use this with the store loader of the tree Ext.tree.TreeLoader?

    Edit: I found this script example using scripttagproxy for TreeLoader in case anyone else is interessted:

    Will try this solution.

Similar Threads

  1. ext-base "communication failure" in Chrome Packaged Application
    By mgutz in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 4 Feb 2011, 12:50 AM
  2. Replies: 0
    Last Post: 22 Jul 2010, 7:33 PM
  3. ExtJS and Rails - client-server communication "a-la" Netzke
    By xonmac in forum Community Discussion
    Replies: 0
    Last Post: 27 Sep 2009, 8:16 PM
  4. Replies: 3
    Last Post: 4 Jun 2007, 11:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts