Page 2 of 2

Re: Boxbilling-VestaCP-Module-v2

Posted: Mon Jun 01, 2015 12:30 pm
by Pctec2012
skurudo wrote:Thanks for your module, let's hope it'll live long and get updates ;-)
I have now fixed a issue with this module there it would cause all server modules not to show when my Vesta.php was added .

Re: Boxbilling-VestaCP-Module-v2

Posted: Mon Jun 01, 2015 4:03 pm
by armyboylegend
thanks a lot for quick support on fix.. thanks much. vesta.php shows in server manager and configurable now.. only issue i have now is that when i activate order, it creates all things in vesacp panel through API but gives BAD GATEWAY error in the end. vesta error logs are also empty means module is working perfect. if you can guide me in this BAD GATEWAY issue would be really helpful to me.. thanks a lot

Re: Boxbilling-VestaCP-Module-v2

Posted: Mon Jun 01, 2015 4:07 pm
by armyboylegend
only error i found in apache/domain logs is this

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 is say

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

Re: Boxbilling-VestaCP-Module-v2

Posted: Mon Jun 01, 2015 9:13 pm
by Pctec2012
armyboylegend wrote:only error i found in apache/domain logs is this

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 is say

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
Hi again

I Have not had this problem on my servers ?

But i will look into this , it may be worth you puting the above problem in the "Web Server" part of this forum .

i hope my Vesta.php is still working ok ? :-)

Paul

Re: Boxbilling-VestaCP-Module-v2

Posted: Tue Nov 03, 2015 3:01 pm
by lexsus
i get Server Manager Vesta CP Error: Create Domain failure in boxbilling

Re: Boxbilling-VestaCP-Module-v2

Posted: Wed Nov 18, 2015 1:07 pm
by lexsus
lexsus wrote:i get Server Manager Vesta CP Error: Create Domain failure in boxbilling
Any one?

Re: Boxbilling-VestaCP-Module-v2

Posted: Fri Nov 20, 2015 3:26 am
by bhaktie
Before Activate Client orders, go to Client menu and edit their profile. Add last name besides first name. After update it and back to Activate order you'll get the successful activation but still come with the message "Bad Gateway". It was okey since the user creation in VestaCP is success. Still trying to solve other problems in Boxbilling.

Finally I found solution for bad gateway. The server that we use for boxbilling should not receive any order activation. I try to create another server and add in boxbilling server config there is no bad gateway message when activating order.

Re: Boxbilling-VestaCP-Module-v2

Posted: Fri Jul 22, 2016 1:32 pm
by malinscky.ilya
Thank you all very much!

Re: Boxbilling-VestaCP-Module-v2

Posted: Fri Sep 23, 2016 12:51 pm
by skurudo
Closed.