PDA

View Full Version : 504: Gateway Time-out



thilakmsc
10 Aug 2012, 11:04 PM
I got Error in Store Preview option in Sencha Architect2.0.,

Ext.define('MyApp.store.StoreListDefinition', {
extend: 'Ext.data.Store',
requires: [
'MyApp.model.ModelListDefinition'
],

constructor: function(cfg) {
var me = this;
cfg = cfg || {};
me.callParent([Ext.apply({
autoLoad: true,
autoSync: true,
storeId: 'StoreListDefinition',
model: 'MyApp.model.ModelListDefinition',
proxy: {
type: 'ajax',
simpleSortMode: true,
url: 'http://sample129/List/ScriptPage/ScriptPageProxy.aspx/GetListDefinition ',
reader: {
type: 'json',
root: 'd',
totalProperty: 'Total'
}
}
}, cfg)]);
}
});


Error ----504: Gateway Time-out

aconran
12 Aug 2012, 9:57 PM
http://sample129/List/ScriptPage/ScriptPageProxy.aspx/GetListDefinition

What does this point to? Does it resolve in your browser? Are you deploying to that server? (otherwise you will hit the same domain restriction of the browsers XHR)