1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

[API RPC] 'Error 324 (net::ERR_EMPTY_RESPONSE)'

Discussion in 'Plesk 11.x for Linux' started by MariuszS, Sep 13, 2012.

  1. MariuszS

    MariuszS New Pleskian

    10
    35%
    Joined:
    Jul 24, 2012
    Messages:
    9
    Likes Received:
    0
    Hi there.

    I've got problem with subscription creation by API call.

    I'm net getting response from curl when subscription is created.

    With account creation (customer) I'm getting normal response.

    Also when I'm trying to create subscription with domain which already exists in panel I'm getting normal response from API.

    I will try to reproduce that:

    1. making call to create subscription
    2. getting empty response (subscription created in plesk panel)
    3. trying call again subscritpion creation with the same parameters send previously
    4 getting error from API about that domain already exists.

    this is my code with deleted IP, and login details
     
  2. MariuszS

    MariuszS New Pleskian

    10
    35%
    Joined:
    Jul 24, 2012
    Messages:
    9
    Likes Received:
    0
    Anyone have any idea ??
     
  3. pabloax

    pabloax New Pleskian

    10
     
    Joined:
    Oct 16, 2012
    Messages:
    1
    Likes Received:
    0
    Same problem

    Did you ever get any help with this? I have exactly the same problem. Error 'Domain already exists' but the Customer and subscription are created correctly. I need to retrieve the ID and GUID after creation but it returns just the error string if you check the page source code.
    The return page shows: Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data. but the source does show the error if you echo it in your script by viewing page source.

    Paul.
     
  4. GonçaloE

    GonçaloE New Pleskian

    10
     
    Joined:
    Nov 16, 2012
    Messages:
    2
    Likes Received:
    0
    I have same issue. Any solution?
     
  5. GonçaloE

    GonçaloE New Pleskian

    10
     
    Joined:
    Nov 16, 2012
    Messages:
    2
    Likes Received:
    0
    When the subscription is created, I noticed that the plesk creates a file in /usr/local/psa/var/httpd_restart

    As apache is restarted, and the connection is lost.
     
  6. DiegoL

    DiegoL New Pleskian

    10
     
    Joined:
    Feb 27, 2013
    Messages:
    3
    Likes Received:
    0

    This is the problem!

    Then...

    Is there a way to not restart?
    And restart later?
     
  7. bob231

    bob231 Basic Pleskian

    26
    57%
    Joined:
    Jan 4, 2008
    Messages:
    63
    Likes Received:
    0
    Still same problem in Plesk 12.5
    Anyone make a work around for this?
     
  8. SdeWijs

    SdeWijs New Pleskian

    2
     
    Joined:
    Thursday
    Messages:
    1
    Likes Received:
    0
    Location:
    Nederland
    I searched for a solution and found this one: How to enable graceful restart for Apache? . It enables Apache graceful restart which prevents the connection from being lost before the Plesk API can send a response.
     
Loading...