Forum

Technical issue occ...
 
Notifications
Clear all

Technical issue occured possibly due to bad network connection

19 Posts
3 Users
0 Reactions
16.9 K Views
(@gulsum)
Posts: 11
Active Member
Topic starter
 
[#4355]

After upgrading to version 6.2.4 we have troubles. When we try to open an existing record or click create new button we got an error:
"Technical issue occured possibly due to bad network connection.
Please try again.
If issue persists, please contact your administrator."

There is nothing in log file. And in apache log i've:
[Wed May 17 11:44:58 2017] [error] File does not exist: /xxx/projeqtor/external/promise, referer: http://xxx/projeqtor/view/main.php
We dont have promise directory really. I tried to download source code for several times and never recieve such a directory.

I've tried with many browsers all the same. In browser consolo log i've:
Error on xhrPost return for loadContent('objectDetail.php?destinationWidth=1645&destinationHeight=104&isIE=', 'detailDiv', '[object HTMLFormElement]', 'undefined') :
RequestError: Unable to load objectDetail.php?destinationWidth=1645&destinationHeight=104&isIE= status: 0
projeqtor.js (831,13)

I tried your online demo, it works.
I've set max_input_vars to 4000 in php.ini.
We dont have any customizations in model/custom diectory.
I don't know what to check more?


 
Posted : 17 May 2017 13H11
(@babynus)
Posts: 14952
Member Admin
 

The promise directory may be missing in deployment procedure.
We'll fix this.
But this is not source of issue as is it used only with IE to produce PDF export for planning.

To understand issue, please check for errors in browser console.
If no error is displayed, check for netrwork tab and look for response of request raising the issue. Send us this response.


 
Posted : 17 May 2017 20H48
(@gulsum)
Posts: 11
Active Member
Topic starter
 

Yes i ve error on browser console. It is written in my message.
Microsoft Edge Error:
Error on xhrPost return for loadContent('objectDetail.php?destinationWidth=1645&destinationHeight=104&isIE=', 'detailDiv', '[object HTMLFormElement]', 'undefined') :
RequestError: Unable to load objectDetail.php?destinationWidth=1645&destinationHeight=104&isIE= status: 0
projeqtor.js (831,13)

Firefox Error:
Error on xhrPost return for loadContent('objectDetail.php?destinationWidth=1334.4&destinationHeight=501.4&isIE=', 'detailDiv', '[object HTMLFormElement]', 'undefined') :
RequestError: Unable to load objectDetail.php?destinationWidth=1334.4&destinationHeight=501.4&isIE= status: 0


 
Posted : 18 May 2017 10H17
(@babynus)
Posts: 14952
Member Admin
 

Hi,

I saw the main error, it is "RequestError: Unable to load objectDetail.php".
I expected to sse more detailed error message.
Only hint it give is that it cannot load the main object page... but we cannot know why.

That was subject of my second request :
"If no error is displayed, check for network tab and look for response of request raising the issue (it is request to objectDetail.php). Send us this response."
This may give some hints.
As you wrote there is nothing in log file, and Apache log showing nothing relative to objectDatil.php, it is quite difficult to investigate 🙁


 
Posted : 18 May 2017 11H11
(@gulsum)
Posts: 11
Active Member
Topic starter
 

Ok this is full error text:

=> 863ms | page='objectMain.php' | destination='centerDiv' (server:144ms, client:719ms)
projeqtor.js (76,3)
SCRIPT7002: XMLHttpRequest: Ağ Hatası 0x800c0007, İstenilen kaynak için kullanılabilir bir veri yok.

main.php
Error on xhrPost return for loadContent('objectDetail.php?destinationWidth=1325&destinationHeight=0&isIE=', 'detailDiv', 'listForm', 'undefined') :
RequestError: Unable to load objectDetail.php?destinationWidth=1325&destinationHeight=0&isIE= status: 0
projeqtor.js (831,13)
RequestError: Unable to load objectDetail.php?destinationWidth=1325&destinationHeight=0&isIE= status: 0
dojo.js (2,103057)
{
[functions]: ,
__proto__: { },
message: "Unable to load objectDetail.php?destinationWidth=1325&destinationHeight=0&isIE= status: 0",
name: "RequestError",
response: {
[functions]: ,
__proto__: { },
options: { },
status: 0,
text: "",
url: "objectDetail.php?destinationWidth=1325&destinationHeight=0&isIE=",
xhr: {
[functions]: ,
__proto__: { },
DONE: 4,
HEADERS_RECEIVED: 2,
LOADING: 3,
msCaching: "auto",
onabort: null,
onerror: null,
onload: null,
onloadend: null,
onloadstart: null,
onprogress: null,
onreadystatechange: null,
ontimeout: null,
OPENED: 1,
readyState: 4,
response: "",
responseText: "",
responseType: "",
responseURL: "",
responseXML: null,
status: 0,
statusText: "",
timeout: 0,
UNSENT: 0,
upload: { },
withCredentials: false
}
},
responseText: "",
stack: "Error: Unable to load objectDetail.php?destinationWidth=1325&destinationHeight=0&isIE= status: 0
at _4a6 ( http://test.proje.com/k/projeqtor/external/dojo/dojo.js?version=V6.2.4.0168:2:125468)
at _32a ( http://test.proje.com/k/projeqtor/external/dojo/dojo.js?version=V6.2.4.0168:2:84994 )",
status: 0,
xhr: { }
}


 
Posted : 18 May 2017 17H21
(@gulsum)
Posts: 11
Active Member
Topic starter
 

"If no error is displayed, check for network tab and look for response of request raising the issue (it is request to objectDetail.php). Send us this response."

response to this request in network tab is this:

 

 
 Resource #40 
 - XXX TEst

<div style="paddin


 
Posted : 18 May 2017 17H29
(@babynus)
Posts: 14952
Member Admin
 

The response really ends at

<div style="paddin

???

Then, sure response in not complete...
There must be an error in the log file (not very likely) or in the apache log file, of possibly on one network control item (firewall, proxy).
It really semms that response has been abuptly "ended".


 
Posted : 18 May 2017 19H17
 DiRi
(@diri)
Posts: 43
Active Member
 

Ever thought about slow connections?

Javascript can be very sensible ...


 
Posted : 19 May 2017 7H26
(@gulsum)
Posts: 11
Active Member
Topic starter
 

But if it's about my firewall protection, then your online demo also won't be work for me, doesn't it?


 
Posted : 24 May 2017 17H07
(@gulsum)
Posts: 11
Active Member
Topic starter
 

But i had no problem before upgrade and also again your online demo works fine.


 
Posted : 24 May 2017 17H08
(@babynus)
Posts: 14952
Member Admin
 

But if it's about my firewall protection, then your online demo also won't be work for me, doesn't it?

No, because it may be due to Firewall or Proxy on server side, not on your workstation.


 
Posted : 24 May 2017 17H31
(@babynus)
Posts: 14952
Member Admin
 

Try and check for errors in Apache error log file.
Maybe we'll find hints here.


 
Posted : 24 May 2017 17H33
(@gulsum)
Posts: 11
Active Member
Topic starter
 

Our server is test server and runs on intranet so we switched off firewall. We don't use Proxy also:(


 
Posted : 25 May 2017 17H13
(@gulsum)
Posts: 11
Active Member
Topic starter
 

Nothing on apache log except from missing promise directory.


 
Posted : 25 May 2017 17H14
(@babynus)
Posts: 14952
Member Admin
 

Try and increase the output_buffering size in php.ini
It may be the source of output truncation (and V6.2 uses buffering that was not used before)


 
Posted : 25 May 2017 19H54
(@gulsum)
Posts: 11
Active Member
Topic starter
 

Increased the buffer size. Now the error changed:
It says: ERROR : An error occurred on 2017-05-26 at 10:50:52

In projector error log:
2017-05-26 10:45:52.072 ** ERROR ** [V6.2.4] on file '/srv/www/htdocs/projeqtor/view/objectDetail.php' at line (4510)
2017-05-26 10:45:52.072 ** ERROR ** [V6.2.4] cause = ob_get_clean(): failed to delete buffer zlib output compression

No error log for apache nor browser console.


 
Posted : 26 May 2017 11H55
(@gulsum)
Posts: 11
Active Member
Topic starter
 

I set zlib.output_compression off and it works now!


 
Posted : 26 May 2017 12H10
(@babynus)
Posts: 14952
Member Admin
 

GREAT !!!!

So it was an output_buffering issue...


 
Posted : 26 May 2017 12H17
(@gulsum)
Posts: 11
Active Member
Topic starter
 

Yes seems like that. Thank you so much.


 
Posted : 26 May 2017 12H20
Share:

Scroll to Top