After setting up a new PBXact system, running system updates, and setting up the basic zulu server, just configuring the advanced options based on the wiki article. After that and restarting I am getting a 502 bad gateway error after logging in. The system can reach the internet and I can manipulate it by SSH but I can’t seem to find anything regarding this issue or solutions. Any thoughts would be greatly appreciated.
/var
/www
/html
/admin
/modules
/soundlang
/Soundlang.class.php
}
if(!empty($exceptions)) {
$message = '';
$code = '';
foreach($exceptions as $e) {
if($this->FreePBX->Config->get('MODULE_REPO') !== $this->FreePBX->Config->get_conf_default_setting('MODULE_REPO')) {
$this->FreePBX->Config->reset_conf_settings(array('MODULE_REPO'),true);
$code = 500;
$message = _("The mirror server did not return the correct response and had been previously changed from the default server(s), it has now been reset back to the standard default. Please try again");
} else {
$code = $e->getCode();
$msg = $e->getMessage();
$message .= !empty($msg) ? $msg : sprintf(_("Error %s returned from remote servers %s"),$code,json_encode($mirrors['mirrors']));
$message .= ", ";
}
}
$message = rtrim(trim($message),",");
throw new \Exception($message,$code);
} else {
throw new \Exception(sprintf(_("Unknown Error. Response was empty from %s"),json_encode($mirrors['mirrors'])),0);
}
}
public function getRightNav($request) {
return load_view(dirname(__FILE__).'/views/rnav.php',array());
}
}
Arguments
"""
<html><body><h1>502 Bad Gateway</h1>\n
The server returned an invalid or incomplete response.\n
</body></html>\n
"""
Environment & details:
GET Data empty
POST Data empty
Files empty
Cookies
lang
“en_US”
PHPSESSID
“on6cf6k1g0cpemdds9vpmt8837”
Session
langdirection
“ltr”
module_name
“”
module_page
“”
AMP_user
ampuser {}
Server/Request Data
UNIQUE_ID
“Xqsm85GNnQMKDCCk2NAyggAAAAU”
HTACCESS
“on”
HTTPS
“on”
SSL_SERVER_S_DN_C
“–”
SSL_SERVER_S_DN_ST
“SomeState”
SSL_SERVER_S_DN_L
“SomeCity”
SSL_SERVER_S_DN_O
“SomeOrganization”
SSL_SERVER_S_DN_OU
“SomeOrganizationalUnit”
SSL_SERVER_S_DN_CN
“localhost.localdomain”
SSL_SERVER_S_DN_Email
“root@localhost.localdomain”
SSL_SERVER_I_DN_C
“–”
SSL_SERVER_I_DN_ST
“SomeState”
SSL_SERVER_I_DN_L
“SomeCity”
SSL_SERVER_I_DN_O
“SomeOrganization”
SSL_SERVER_I_DN_OU
“SomeOrganizationalUnit”
SSL_SERVER_I_DN_CN
“localhost.localdomain”
SSL_SERVER_I_DN_Email
“root@localhost.localdomain”
SSL_VERSION_INTERFACE
“mod_ssl/2.4.6”
SSL_VERSION_LIBRARY
“OpenSSL/1.0.2k-fips”
SSL_PROTOCOL
“TLSv1.2”
SSL_SECURE_RENEG
“true”
SSL_COMPRESS_METHOD
“NULL”
SSL_CIPHER
“ECDHE-RSA-AES128-GCM-SHA256”
SSL_CIPHER_EXPORT
“false”
SSL_CIPHER_USEKEYSIZE
“128”
SSL_CIPHER_ALGKEYSIZE
“128”
SSL_CLIENT_VERIFY
“NONE”
SSL_SERVER_M_VERSION
“3”
SSL_SERVER_M_SERIAL
“7708”
SSL_SERVER_V_START
“Apr 17 14:11:29 2020 GMT”
SSL_SERVER_V_END
“Apr 17 14:11:29 2021 GMT”
SSL_SERVER_S_DN
“emailAddress=root@localhost.localdomain,CN=localhost.localdomain,OU=SomeOrganizationalUnit,O=SomeOrganization,L=SomeCity,ST=SomeState,C=–”
SSL_SERVER_I_DN
“emailAddress=root@localhost.localdomain,CN=localhost.localdomain,OU=SomeOrganizationalUnit,O=SomeOrganization,L=SomeCity,ST=SomeState,C=–”
SSL_SERVER_A_KEY
“rsaEncryption”
SSL_SERVER_A_SIG
“sha256WithRSAEncryption”
SSL_SESSION_ID
“49a778b12e782ac21a5cb2830a2642f1b53184ccff895f2300df30cc1ec68f0e”
SSL_SESSION_RESUMED
“Resumed”
HTTP_HOST
“10.200.4.10”
HTTP_USER_AGENT
“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0”
HTTP_ACCEPT
“text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8”
HTTP_ACCEPT_LANGUAGE
“en-US,en;q=0.5”
HTTP_ACCEPT_ENCODING
“gzip, deflate, br”
HTTP_DNT
“1”
HTTP_CONNECTION
“keep-alive”
HTTP_COOKIE
“lang=en_US; PHPSESSID=on6cf6k1g0cpemdds9vpmt8837”
HTTP_UPGRADE_INSECURE_REQUESTS
“1”
PATH
“/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin”
SERVER_SIGNATURE
“”
SERVER_SOFTWARE
“Apache/2.4.6 (Sangoma) OpenSSL/1.0.2k-fips PHP/5.6.40”
SERVER_NAME
“10.200.4.10”
SERVER_ADDR
“10.200.4.10”
SERVER_PORT
“443”
REMOTE_ADDR
“10.200.1.3”
DOCUMENT_ROOT
“/var/www/html”
REQUEST_SCHEME
“https”
CONTEXT_PREFIX
“”
CONTEXT_DOCUMENT_ROOT
“/var/www/html”
SERVER_ADMIN
“root@sangoma.localhost”
SCRIPT_FILENAME
“/var/www/html/admin/config.php”
REMOTE_PORT
“18087”
GATEWAY_INTERFACE
“CGI/1.1”
SERVER_PROTOCOL
“HTTP/1.1”
REQUEST_METHOD
“GET”
QUERY_STRING
“”
REQUEST_URI
“/admin/config.php”
SCRIPT_NAME
“/admin/config.php”
PHP_SELF
“/admin/config.php”
REQUEST_TIME_FLOAT
1588274931.774
REQUEST_TIME
1588274931
Environment Variables empty
Registered Handlers
0. Whoops\Handler\PrettyPageHandler