My apps were working perfectly fine until I migrated servers.
So I have my server configured with 2 different subdomains on the same domain, but they both point to the same IP address via A records.
I have my apache configured with 2 different VHOSTS for each subdomain, pointing to each of their own www home folders.
So when I go to each URL in the browser, it all works perfectly fine. Even have htaccess working properly.
But here comes the problem. my httpjob keeps timing out with read timed out. In the access.log, the first entry pops up and thats it. Once the app times out, the 2nd one pops up.
Both are here:
any ideas? It seems as if OkHTTP/Httpjob isnt handling the vhosts correctly, as the server expects the correct data to know which vhost/www directory to point to.
I tried to use the GetRequest.SetHeader but it seems to be a missing function.
So I have my server configured with 2 different subdomains on the same domain, but they both point to the same IP address via A records.
I have my apache configured with 2 different VHOSTS for each subdomain, pointing to each of their own www home folders.
So when I go to each URL in the browser, it all works perfectly fine. Even have htaccess working properly.
But here comes the problem. my httpjob keeps timing out with read timed out. In the access.log, the first entry pops up and thats it. Once the app times out, the 2nd one pops up.
Both are here:
B4X:
24.246.166.244 - - [22/Feb/2018:21:14:48 -0500] "POST /Auth/index.php?action=activate HTTP/1.1" 401 3967 "-" "okhttp/2.4.0"
24.246.166.244 - activation [22/Feb/2018:21:14:49 -0500] "POST /Auth/index.php?action=activate HTTP/1.1" 200 231 "-" "okhttp/2.4.0"
any ideas? It seems as if OkHTTP/Httpjob isnt handling the vhosts correctly, as the server expects the correct data to know which vhost/www directory to point to.
I tried to use the GetRequest.SetHeader but it seems to be a missing function.
Last edited: