Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

"Apply config" -> Error: Did not receive valid response from server #65

Closed
barhom opened this issue Mar 18, 2019 · 7 comments
Closed

"Apply config" -> Error: Did not receive valid response from server #65

barhom opened this issue Mar 18, 2019 · 7 comments

Comments

@barhom
Copy link

barhom commented Mar 18, 2019

Whenever I click "Apply config" I get the following error,

Error: Did not receive valid response from server
XHR response code: 504 XHR responseText: undefined jQuery status: error

The error is when reaching /admin/ajax.php?command=reload.
It gets a 504 error.

@barhom
Copy link
Author

barhom commented Mar 18, 2019

I tracked it down to:
libraries/BMO/Framework.class.php
public function doReload($passthru=false) {

The following codes simply hangs and does not continue:

            $process = new \Symfony\Component\Process\Process($AMPSBIN.'/fwconsole reload --json');
            $process->setTimeout(1800);
            $process->run();

If I run "fwconsole reload --json" from inside container (bash) it runs fine

@tiredofit
Copy link
Owner

Alot of times we have been seeing these upstream errors from Freepbx - I believe I am going to need to switch to a different method and start pinning stable releases to this image as oposed to just pulling from their git repositories.
I am moving and will be away for a week, once I return I will look into this.

@barhom
Copy link
Author

barhom commented Apr 1, 2019

@tiredofit were you able to reproduce the same issue?

@tiredofit
Copy link
Owner

Hi @barhom - I cannot recreate on a fresh install. My test scenario involved updating all modules and adding an extension.

@barhom
Copy link
Author

barhom commented Apr 11, 2019

cant reproduce my problem anymore. closing the issue.

@barhom barhom closed this as completed Apr 11, 2019
@barhom barhom reopened this Apr 12, 2019
@barhom
Copy link
Author

barhom commented Apr 12, 2019

@tiredofit actually I was able to reproduce it if I used tag "15-3.3.1". Works good if I dont specify a tag.

@tjbillion
Copy link

Hi Guys, I installed a fresh new FreePBX 16.0.40.6
But then still got this issue.
How to fix this, why there FreePBX always having this issue on all of its new version?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants