HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   General (
-   -   Connection problem when adding sites and dns records (

Jepso 10th May 2013 13:21

Connection problem when adding sites and dns records
I'm trying to add several sites (each having 1 Zone, 4 A-records, 4 NS-records and 1 MX-record), but sometimes couple of these will fail.
Sites that I'm trying to add are identical in almost every way. Only difference usually is top level domain (com, net, info etc.).

Here is how this process goes:

Loop each site {
dns_a_add; (x4)
dns_ns_add; (x4)

Failure might occur at any phase of this process.

Here are some of the errors I have receive:
  • SoapClient::__doRequest() [soapclient.--dorequest]: SSL: Connection reset by peer
  • SoapClient::__doRequest() [soapclient.--dorequest]: Failed to enable crypto
  • SoapClient::__doRequest() [soapclient.--dorequest]: connect() failed: Unspecified error
  • SoapClient::__doRequest() [soapclient.--dorequest]: connect() failed: Connection refused

Here is some more information.
Adding zone failed right after successful login and SOAP faultstring contained this: "The Session is expired or does not exist." How is this possible?
Another faultstring for some other add failure contained: Could not connect to host.

This problem seems to only affect adding. Getting stuff works like a charm.

Any help is appreciated. :)

till 11th May 2013 19:18

The session is stored in the remote session table, so it should not disappera and i did not had that problm yet.

Regarding the connect to host issue, when you add several sites in a loop and the server were you added the site is the same server that runs the controlpanel interface then it can happen that apache gets resaterted or reloaded while you are connected.

All times are GMT +2. The time now is 18:10.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.