Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Apache Upstream Error

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
armyboylegend
Posts: 33
Joined: Sun Oct 05, 2014 7:53 am

Apache Upstream Error
  • Quote

Post by armyboylegend » Tue Jun 02, 2015 4:05 pm

I found this error in apache/domain logs while integrating with vetsa with boxbilling.. had same error while integrating WHMCS.. m using Ubuntu 12.04 32-bit.

Code: Select all

2015/06/01 17:57:56 [error] 5384#0: *1 upstream prematurely closed connection while reading response header from upstream, client: xx.xx.xx.xx, server: xxxxxxxx.com, request: "GET /manager/index.php/api/admin/order/activate?id=2 HTTP/1.1", upstream: "http://xx.xx.xx.xx:8080/manager/index.php/api/admin/order/activate?id=2", host: "www.xxxxxxx.com", referrer: "http://www.xxxxxxxxx.com/manager/bb-admin.php/order/manage/2"
i feel like this is wronge which is using server ip as upstream

Code: Select all

upstream: "http://xx.xx.xx.xx:8080/manager/index.php/api/admin/order/activate?id=2
when i add this link in browser it times out
it should be like this with domain.com

Code: Select all

upstream: "http://xxxxxxx.com:8080/manager/index.php/api/admin/order/activate?id=2
when i add this link to brower it says

Code: Select all

{"result":null,"error":{"message":"Invalid request. Make sure request origin is http:\/\/www.xxxxxxxx.com\/manager\/","code":1004}}
that means apache is not using correct link for upstream

thanks much for your help
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Apache Upstream Error
  • Quote

Post by skurudo » Wed Jun 03, 2015 7:45 am

Try different Boxbilling module - viewtopic.php?f=18&t=8474
Author on this forum and there is support for module. Other modules have no actual support (I think).
Top

armyboylegend
Posts: 33
Joined: Sun Oct 05, 2014 7:53 am

Re: Apache Upstream Error
  • Quote

Post by armyboylegend » Wed Jun 03, 2015 8:38 am

skurudo wrote:Try different Boxbilling module - viewtopic.php?f=18&t=8474
Author on this forum and there is support for module. Other modules have no actual support (I think).
Its not the module issue.. i am already using latest module V2.. error clearly says there upstream server issue, i had same error with whmcs too. I have reinstalled both whmcs and boxbilling with fresh OS on ubuntu and centos but both gave same error.. error says that it tries to connect to ip not domain. I tried to find the config for upstream server so that if i could make any change if i can but couldnt. Kindly guide. Thanks a lot
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password