jimbo505 Posted August 23, 2014 Report Posted August 23, 2014 Setup a client (first time) and added a New Service using the admin panel under their account. I can add all the information, but when it goes to provision, here's what I get: The connection was reset The connection to the server was reset while the page was loading. The page that loads is: admin/clients/addservice/2/1/2 Now it is actually adding the client in Plesk, but the hosting type is set to 'No web hosting' And it's not updating Blesta with the Service. I'm guessing I have to set the Service Plans to match Blesta? And not sure why the connection is resetting (after 5 to 8 seconds)
0 jimbo505 Posted August 23, 2014 Author Report Posted August 23, 2014 Okay, I found another post: This may be caused by1.Invalid Plesk credentials set in Blesta - It has the right credentials2.No plans exist in Plesk3.The Plesk API is not setup through your account to allow communication with Blesta It does have plans in Plesk (it did provision something, although not hosting and FTP)Showed in the logs: 1. Input - added customer information - and password 2. output ok 3. Input webspace added API - not sure how to do this, searched the interwebs and can't find anything.
0 Michael Posted August 23, 2014 Report Posted August 23, 2014 Weird must be something to do with the new Plesk... I don't know anything about Plesk so I'm not very helpful, hopefully the guys can help you but today is a weekend, and their office is closed, however they might pop on the forum.
0 Michael Posted August 23, 2014 Report Posted August 23, 2014 I never get to work ,I had two servers with plesk and not even one work.Since i don't have too many Plesk customers I just continue to use built -in parallels billing sistem.I have plan to work around and see what is wrong but actually never started . That's weird it does sound like Plesk changed their API system but we'll need to wait for the guys to help, did you buy it direct or using the trial?
0 Michael Posted August 23, 2014 Report Posted August 23, 2014 I have comercial licences,i din't get to work even with Client Exec. There is few solutions floating online but like I say it is alternative service for me and I din't bored at all just tryed few times,I had already paralles biling on one server and I just continue to use it for both plesk server. CE can't work with Plesk either, really sounds like Plesk have mucked up somewhere. Hopefully the guys can work with Plesk and yourself to fix it.
0 jimbo505 Posted August 25, 2014 Author Report Posted August 25, 2014 Nelsa, Looks like you have something missing? i think the screenshot you had was of the Packages section? I can see that it's not showing the packages as the image above is mine which shows, I'm using 11.5.3 After the first INPUT, you should have an OUTPUT I have the same exact input, but i do get an output but then it times out Are there instructions or a how to on setting this up with Plesk? I think mine is almost working but not sure if needs to have Plans in Plesk as well? Do they need to line up with the names? In Blesta there is a Gold Package and Plesk has a Gold Package worded exactly the same?
0 Tyson Posted August 25, 2014 Report Posted August 25, 2014 You should have plans setup in Plesk. Then in Blesta, when you select a Server, an API request is made to fetch the plans from Plesk, which are then shown in the drop-down, as your screenshot shows. The names of the plans/packages don't matter. However, you may want to avoid using the default plans from Plesk. I've seen default plans fail to provision on service creation.
0 jimbo505 Posted August 25, 2014 Author Report Posted August 25, 2014 Ah I have an 'unlimited plan' that was there by default. Was upgraded from version 9 I will add some new plans and see what happens and let you all know
0 jimbo505 Posted August 27, 2014 Author Report Posted August 27, 2014 Okay, made a new plan in Plesk and Blesta Same thing, it provisions the service in Plesk, but does not add the service in Blesta, says 'Problem loading page' I am also getting the email confirmation at my gmail account: "A new customer account has been created." Blesta and the client are both on the same exact server. anyone have any suggestions?
0 jimbo505 Posted August 27, 2014 Author Report Posted August 27, 2014 I've been trying different things and cannot get this to work. It looks liek it's trying to send data back from Plesk to Blesta and Plesk can't see it? Arghhh.. sorry, just very frustrating
0 Tyson Posted August 27, 2014 Report Posted August 27, 2014 What's contained in the module log in Blesta after you attempt to add the service?
0 Tyson Posted August 29, 2014 Report Posted August 29, 2014 The logs look like everything went through smoothly. But the service was not created in Blesta? Do you still receive one of the errors you mentioned before? The connection was resetThe connection to the server was reset while the page was loading. The process took about 8 seconds, but it may be possible your webserver's max execution time is too short, causing a timeout.
0 jimbo505 Posted August 30, 2014 Author Report Posted August 30, 2014 I set the PHP: max_execution_time = 45 rebooted the VPS and just for kicks, when the 'connection was reset' I tried resending the data. It does look it up and gives the following: 1007 Client with login name 'abcre' already exists.
0 jimbo505 Posted August 30, 2014 Author Report Posted August 30, 2014 I put in some more plans setup in plesk, added support dept users, update the 'uploads directory' made it writeable, added more plans in blesta so maybe I need to add invoices first then packages for a client? I just added a separate client - one with all the contact info filled out and no luck, same thing happening. About 8 seconds and Blesta crashes. I did set the PHP using Plesk and not by setting the PHP config file (think that's what it's called) Using the latest version of Blesta, no issues with install, running on VPS with about 8 clients on it. Removed all but 1 of the Plesk stock plans. I am using a sub domain: my.domain.com, DNS entry is pointing to the IP address of the VPS, Domain is added to my ISP's DNS domain is pointing to another IP, my main website is sitting on a Windows server. Thanks for all the replies so far.. hoping there's something I missed or need to do. By the way, I'm not a Linux person, but can google how to's if need be..
0 jimbo505 Posted September 13, 2014 Author Report Posted September 13, 2014 I was wondering if anyone else has any ideas to try, still having the same issue with the Plesk. It's adding the plan in Plesk, but won't add it to Blesta Should I reinstall?
0 rehatiel Posted September 18, 2014 Report Posted September 18, 2014 Having the same issue, but with interworx.. bumped up the execution time to 256, no difference.
0 jimbo505 Posted September 24, 2014 Author Report Posted September 24, 2014 I tried increasing the max limits, but alas it is still causing an issue, logs show only 8 seconds, but it is still timing out. Is there something in Blesta I can change to allow for an increased time for connections? Nelsa, did you have any luck so far? I have Blesta installed on Plesk and my clients on Plesk. What version are you running? Did you upgrade or do a fresh install?
0 jimbo505 Posted September 24, 2014 Author Report Posted September 24, 2014 Okay, I'm going to do a nuke and pave (delete the account and reinstall from scratch) Going to use 3.3 for a test I will let you know what happens. Anyone with any other ideas?
0 Tyson Posted September 24, 2014 Report Posted September 24, 2014 Are you receiving the OP's original timeout error ("The connection was reset")? I'm not sure if this applies to Plesk or not, but some modules can perform actions without responding to Blesta. For example, Interworx might receive a request to create an account--and it will create the account-- then restart the server immediately. However, Interworx never notifies Blesta that it created the account (because it restarted immediately), thus causing a timeout. The end result is that the account exists in Interworx, but is not activated in Blesta. If that sounds like what may be happening, there could be a setting in Plesk, similar to Inteworx, which allows for graceful restarts so that an API response is sent back to Blesta before Plesk performs another action. Michael 1
0 jimbo505 Posted September 27, 2014 Author Report Posted September 27, 2014 Nelsa is having a problem not seeing the service plans in Plesk or rather Blesta is not seeing them. times out rehaital above is having a problem with interworx, timeout issue I got farther than that, but I cannot get it to respond back to Blesta, creates in Plesk but then crashes (timeout) Also the subscription ID doesn't seem to be working either, I am responding to another post that is having a similar issue.
0 Tyson Posted September 27, 2014 Report Posted September 27, 2014 Have you checked whether Plesk is sending a response back to Blesta at all (by monitoring outgoing packets from Plesk)? It might be that Plesk is simply not sending a response or a firewall is blocking the response, and the connection times out for that reason. It's sounding more like the issue I mentioned above about Interworx--that the server may be restarting before it sends an API response back to Blesta.
0 Max Posted September 28, 2014 Report Posted September 28, 2014 Setup a client (first time) and added a New Service using the admin panel under their account. I can add all the information, but when it goes to provision, here's what I get: The connection was reset The connection to the server was reset while the page was loading. The page that loads is: admin/clients/addservice/2/1/2 Now it is actually adding the client in Plesk, but the hosting type is set to 'No web hosting' And it's not updating Blesta with the Service. Is Blesta hosted on the same Plesk server? Has been reported before that that doesn't work. Plesk restarts the webserver and kills all running PHP processes -including the Blesta one- the moment you add or update any webhosting account. Having the same issue, but with interworx.. bumped up the execution time to 256, no difference. Also concerns the same server that is hosting Blesta? If it concerns multiple modules, Blesta should be changed to provision hosting packages asynchronously. (from cron, or by spawning a separate process that calls setsid() first so it doesn't belong to the same session as the webserver, and then performs the actions in the background) Michael 1
0 jimbo505 Posted September 30, 2014 Author Report Posted September 30, 2014 Blesta is hosted on the same server Quick info about my Logs: Input - Blesta is sending data over to Plesk (adding customer information) - It's not kicking out here Output - Blesta is receiving Status of OK and ID of 36 Input - Adding Webspace (setup hosting account) ok kicks out, doesn't update Blesta - but the account is in Plesk and working So the reasons could be: 1. Blesta is on the same server it's provisioning Nelsa is having a problem and he has 3 Plesk servers, none of them work with provisioning (blesta installed on BSD) 2. Plesk is kicking out the session or restarting the webserver? If so then shouldn't it kick out when it creates a client? There really has to be something else that's wrong, I will try to I really don't want to get a VPS account just for Blesta and then it doesn't work and I can't use it for clients.
0 Max Posted September 30, 2014 Report Posted September 30, 2014 Blesta is hosted on the same server Running Plesk on the same server as Blesta is known to be broken. Was already reported by me before, but think the thread got deleted, because it was in the beta forum of a previous Blesta version. 2. Plesk is kicking out the session or restarting the webserver? If so then shouldn't it kick out when it creates a client? Creating a client only adds the customer to Plesk's database, it doesn't affect webserver configuration, so that works without webserver restart. Once you do any chance that adds or updates a website it does restart it. Note that the Plesk admin webinterface/API server itself does not run under Apache, is not restarted, and sends a proper reply back, however since Blesta is killed it cannot process the response.
0 Tyson Posted September 30, 2014 Report Posted September 30, 2014 Running Plesk on the same server as Blesta is known to be broken. Was already reported by me before, but think the thread got deleted, because it was in the beta forum of a previous Blesta version. Thanks for the reminder. I forgot about that caveat with Plesk. You can find that previous thread here.
Question
jimbo505
Setup a client (first time) and added a New Service using the admin panel under their account.
I can add all the information, but when it goes to provision, here's what I get:
The connection was reset
The connection to the server was reset while the page was loading.
The page that loads is:
admin/clients/addservice/2/1/2
Now it is actually adding the client in Plesk, but the hosting type is set to 'No web hosting'
And it's not updating Blesta with the Service.
I'm guessing I have to set the Service Plans to match Blesta?
And not sure why the connection is resetting (after 5 to 8 seconds)
26 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now