Skip to content

DNS gives 500 server error #222

@gecampbell

Description

@gecampbell

Obviously, this is a server-side error, but since it worked before, I'm suspecting that something in this release has changed.

Basically, I'm iterating through records, changing an old IP address to a new one. Here's the response:

A campbell.io 166.78.41.134 => 162.209.115.131 PHP Fatal error: Uncaught exception 'Guzzle\Http\Exception\ServerErrorResponseException' with message 'Server error response
[status code] 500
[reason phrase] Server Error
[message]
[method] PUT
[url] https://dns.api.rackspacecloud.com/v1.0/545108/domains/3805604/records/A-10772632' in /Users/glen/src/php-opencloud/lib/OpenCloud/Common/Http/Exception/BadResponseException.php:42
Stack trace:
#0 /Users/glen/src/php-opencloud/lib/OpenCloud/Common/Http/Message/ResponseHandler.php(100): OpenCloud\Common\Http\Exception\BadResponseException::factory(Object(OpenCloud\Common\Http\Message\EntityEnclosingRequest), Object(Guzzle\Http\Message\Response))
#1 /Users/glen/src/php-opencloud/lib/OpenCloud/Common/Http/Message/EntityEnclosingRequest.php(76): OpenCloud\Common\Http\Message\ResponseHandler->handle()
#2 [internal function]: OpenCloud\Common\Http\Message\EntityEnclosingRequest->onRequestCompletion(Object(Guzzle\Common\Event))
#3 /Users/glen/src/php-opencloud/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispa in /Users/glen/src/php-opencloud/lib/OpenCloud/Common/Http/Exception/BadResponseException.php on line 42

Fatal error: Uncaught exception 'Guzzle\Http\Exception\ServerErrorResponseException' with message ' in /Users/glen/src/php-opencloud/lib/OpenCloud/Common/Http/Exception/BadResponseException.php on line 42

Guzzle\Http\Exception\ServerErrorResponseException: Server error response
[status code] 500
[reason phrase] Server Error
[message]
[method] PUT
[url] https://dns.api.rackspacecloud.com/v1.0/545108/domains/3805604/records/A-10772632 in /Users/glen/src/php-opencloud/lib/OpenCloud/Common/Http/Exception/BadResponseException.php on line 42

Call Stack:
0.0005 240808 1. {main}() /Users/glen/src/scripts/fixdns.php:0
5.9208 5553040 2. OpenCloud\DNS\Resource\Object->update() /Users/glen/src/scripts/fixdns.php:31
5.9213 5583000 3. OpenCloud\Common\PersistentObject->update() /Users/glen/src/php-opencloud/lib/OpenCloud/DNS/Resource/Object.php:48
5.9236 5595832 4. Guzzle\Http\Message\Request->send() /Users/glen/src/php-opencloud/lib/OpenCloud/Common/PersistentObject.php:256
5.9236 5595832 5. Guzzle\Http\Client->send() /Users/glen/src/php-opencloud/vendor/guzzle/http/Guzzle/Http/Message/Request.php:198

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions