Jump to content
  • 0

Add New Service Using Plesk -


jimbo505

Question

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)

Link to comment
Share on other sites

Recommended Posts

  • 0

Okay, I found another post:

 This may be caused by
1.Invalid Plesk credentials set in Blesta - It has the right credentials
2.No plans exist in Plesk
3.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.

 


 

Link to comment
Share on other sites

  • 0

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?

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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

blesta.jpg

 

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?

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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?

Link to comment
Share on other sites

  • 0

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 reset
The 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.

Link to comment
Share on other sites

  • 0

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..

Link to comment
Share on other sites

  • 0

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

blesta.jpg

 

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?

Well I missed your post and see it now,Yes you are right it shoud show service plans but as I said it won't load servers at all,so it doesn't show service plans at all,not  even Ip address...

As you see in screen S of log it only has input field,which mean it load all the time without any respond....  :)  I tryed blesta Demo to see if this issue is on my side and it is problem on my side, because here on Blesta demo it load all servers and service plans without any issue and everything work fine.I will look closely today and try to see what is wrong,to be honest I didn't even try to resolve this issue because I don't have many  Plesk linux customers(and I have built in paralels billing) and also Blesta is installed on server with free BSD and without any GUI or panel so It will be pain in the ... s to debug it but I have already few ideas...

Link to comment
Share on other sites

  • 0

As I find yesterday some time I force my self to debug my issue with Plesk module,and as I tought in first place it is issue with MYSQL connection,to be exact MYSQL server close conection due longer timeout than permited.Now I know I can simple incrase max timeout but it will be last option, since I know for sure  I set decent max alowed packet size and max connection timeout I woud rather to see why only Plesk module has this issue and if posible try to solve this at other way than simple incresing limits...when in same time some scripts which is known to require higher connection timeout and max alowed packet size limits work without any issue.

Link to comment
Share on other sites

  • 0

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?

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...