^ GuzzleHttp\Exception\ClientException {#1598
-request: GuzzleHttp\Psr7\Request {#1609
-method: "GET"
-requestTarget: null
-uri: GuzzleHttp\Psr7\Uri {#1612
-scheme: "https"
-userInfo: ""
-host: "api.realworks.nl"
-port: null
-path: "/wonen/v1/zoekopdracht/locaties"
-query: "afdelingscode=906888"
-fragment: ""
-composedComponents: "https://api.realworks.nl/wonen/v1/zoekopdracht/locaties?afdelingscode=906888"
}
-headers: array:3 [
"User-Agent" => array:1 [
0 => "GuzzleHttp/7"
]
"Host" => array:1 [
0 => "api.realworks.nl"
]
"Authorization" => array:1 [
0 => "rwauth 37749d97-c8a9-4e56-bb98-4b89c0d814b6"
]
]
-headerNames: array:3 [
"user-agent" => "User-Agent"
"host" => "Host"
"authorization" => "Authorization"
]
-protocol: "1.1"
-stream: GuzzleHttp\Psr7\Stream {#1610
-stream: stream resource @553
wrapper_type: "PHP"
stream_type: "TEMP"
mode: "w+b"
unread_bytes: 0
seekable: true
uri: "php://temp"
options: []
}
-size: 0
-seekable: true
-readable: true
-writable: true
-uri: "php://temp"
-customMetadata: []
}
}
-response: GuzzleHttp\Psr7\Response {#1601
-reasonPhrase: "Forbidden"
-statusCode: 403
-headers: array:9 [
"Date" => array:1 [
0 => "Fri, 08 Nov 2024 01:47:45 GMT"
]
"Content-Type" => array:1 [
0 => "application/json"
]
"Content-Length" => array:1 [
0 => "130"
]
"Connection" => array:1 [
0 => "keep-alive"
]
"x-amzn-RequestId" => array:1 [
0 => "2410c696-2dcb-4909-b49d-ba8429acc057"
]
"Access-Control-Allow-Origin" => array:1 [
0 => "*"
]
"x-amz-apigw-id" => array:1 [
0 => "A54WOGedliAEJpw="
]
"X-Amzn-Trace-Id" => array:1 [
0 => "Root=1-672d6dc1-29ff7e265a86321d6c000c9f;Parent=7ed33abd8902fb0c;Sampled=0;Lineage=1:81678adc:0"
]
"Access-Control-Allow-Credentials" => array:1 [
0 => "true"
]
]
-headerNames: array:9 [
"date" => "Date"
"content-type" => "Content-Type"
"content-length" => "Content-Length"
"connection" => "Connection"
"x-amzn-requestid" => "x-amzn-RequestId"
"access-control-allow-origin" => "Access-Control-Allow-Origin"
"x-amz-apigw-id" => "x-amz-apigw-id"
"x-amzn-trace-id" => "X-Amzn-Trace-Id"
"access-control-allow-credentials" => "Access-Control-Allow-Credentials"
]
-protocol: "1.1"
-stream: GuzzleHttp\Psr7\Stream {#1604
-stream: stream resource @560
wrapper_type: "PHP"
stream_type: "TEMP"
mode: "w+b"
unread_bytes: 0
seekable: true
uri: "php://temp"
options: []
}
-size: 130
-seekable: true
-readable: true
-writable: true
-uri: "php://temp"
-customMetadata: []
}
}
-handlerContext: []
#message: """
Client error: `GET https://api.realworks.nl/wonen/v1/zoekopdracht/locaties?afdelingscode=906888` resulted in a `403 Forbidden` response:\n
{"error":"Voor dit token is een IP bereik opgegeven. Deze aanvraag wordt gedaan van buiten het toegestane IP adres \/ IP (truncated...)\n
"""
#code: 403
#file: "/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php"
#line: 113
trace: {
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 {
GuzzleHttp\Exception\RequestException::create(RequestInterface $request, ResponseInterface $response = null, Throwable $previous = null, array $handlerContext = [], BodySummarizerInterface $bodySummarizer = null): self …
›
› return new $className($message, $request, $response, $previous, $handlerContext);
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/guzzlehttp/guzzle/src/Middleware.php:69 {
GuzzleHttp\Middleware::GuzzleHttp\{closure} …
› }
› throw RequestException::create($request, $response, null, [], $bodySummarizer);
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/guzzlehttp/promises/src/Promise.php:204 {
GuzzleHttp\Promise\Promise::callHandler($index, $value, array $handler) …
› unset($handler);
› $promise->resolve($f($value));
› } elseif ($index === 1) {
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/guzzlehttp/promises/src/Promise.php:153 {
GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure} …
› foreach ($handlers as $handler) {
› self::callHandler($id, $value, $handler);
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/guzzlehttp/promises/src/TaskQueue.php:48 {
GuzzleHttp\Promise\TaskQueue->run() …
› /** @var callable $task */
› $task();
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/guzzlehttp/promises/src/Promise.php:248 {
GuzzleHttp\Promise\Promise->invokeWaitFn() …
› $this->waitFn = null;
› $wfn(true);
› } catch (\Exception $reason) {
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/guzzlehttp/promises/src/Promise.php:224 {
GuzzleHttp\Promise\Promise->waitIfPending() …
› } elseif ($this->waitFn) {
› $this->invokeWaitFn();
› } elseif ($this->waitList) {
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/guzzlehttp/promises/src/Promise.php:269 {
GuzzleHttp\Promise\Promise->invokeWaitList() …
› do {
› $result->waitIfPending();
› $result = $result->result;
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/guzzlehttp/promises/src/Promise.php:226 {
GuzzleHttp\Promise\Promise->waitIfPending() …
› } elseif ($this->waitList) {
› $this->invokeWaitList();
› } else {
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/guzzlehttp/promises/src/Promise.php:62 {
GuzzleHttp\Promise\Promise->wait($unwrap = true) …
› {
› $this->waitIfPending();
›
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/guzzlehttp/guzzle/src/Client.php:187 {
GuzzleHttp\Client->request(string $method, $uri = '', array $options = []): ResponseInterface …
› $options[RequestOptions::SYNCHRONOUS] = true;
› return $this->requestAsync($method, $uri, $options)->wait();
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/guzzlehttp/guzzle/src/ClientTrait.php:44 {
GuzzleHttp\Client->get($uri, array $options = []): ResponseInterface …
› {
› return $this->request('GET', $uri, $options);
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/app/Http/Controllers/RealworksController.php:138 {
App\Http\Controllers\RealworksController->getPlaatsen() …
› 'query' => [
› 'afdelingscode' => self::AFDELINGSCODE
› ],
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/app/Http/Controllers/RealworksController.php:32 {
App\Http\Controllers\RealworksController->show(): View …
› return view('realworks.index', [
› 'plaatsen' => $this->getPlaatsen()
› ]);
}
App\Http\Controllers\RealworksController->show() {}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 {
Illuminate\Routing\Controller->callAction($method, $parameters) …
› {
› return call_user_func_array([$this, $method], $parameters);
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45 {
Illuminate\Routing\ControllerDispatcher->dispatch(Route $route, $controller, $method) …
› if (method_exists($controller, 'callAction')) {
› return $controller->callAction($method, $parameters);
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Route.php:219 {
Illuminate\Routing\Route->runController() …
› return $this->controllerDispatcher()->dispatch(
› $this, $this->getController(), $this->getControllerMethod()
› );
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Route.php:176 {
Illuminate\Routing\Route->run() …
› if ($this->isControllerAction()) {
› return $this->runController();
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:681 {
Illuminate\Routing\Router->Illuminate\Routing\{closure} …
› return $this->prepareResponse(
› $request, $route->run()
› );
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› try {
› return $destination($passable);
› } catch (Exception $e) {
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/topsite/cms4-core/src/Middleware/HandleLanguage.php:28 {
Topsite\Core\Middleware\HandleLanguage->handle(Request $request, Closure $next) …
›
› return $next($request);
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41 {
Illuminate\Routing\Middleware\SubstituteBindings->handle($request, Closure $next) …
›
› return $next($request);
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:76 {
Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle($request, Closure $next) …
› ) {
› return tap($next($request), function ($response) use ($request) {
› if ($this->shouldAddXsrfTokenCookie()) {
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 {
Illuminate\View\Middleware\ShareErrorsFromSession->handle($request, Closure $next) …
›
› return $next($request);
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:56 {
Illuminate\Session\Middleware\StartSession->handle($request, Closure $next) …
›
› $response = $next($request);
›
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 {
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle($request, Closure $next) …
› {
› $response = $next($request);
›
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:66 {
Illuminate\Cookie\Middleware\EncryptCookies->handle($request, Closure $next) …
› {
› return $this->encrypt($next($this->decrypt($request)));
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:105 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:683 {
Illuminate\Routing\Router->runRouteWithinStack(Route $route, Request $request) …
› );
› });
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:658 {
Illuminate\Routing\Router->runRoute(Request $request, Route $route) …
› return $this->prepareResponse($request,
› $this->runRouteWithinStack($route, $request)
› );
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:624 {
Illuminate\Routing\Router->dispatchToRoute(Request $request) …
› {
› return $this->runRoute($request, $this->findRoute($request));
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:613 {
Illuminate\Routing\Router->dispatch(Request $request) …
›
› return $this->dispatchToRoute($request);
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:170 {
Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure} …
›
› return $this->router->dispatch($request);
› };
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› try {
› return $destination($passable);
› } catch (Exception $e) {
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 {
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next) …
›
› return $next($request);
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 {
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next) …
›
› return $next($request);
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 {
Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle($request, Closure $next) …
›
› return $next($request);
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63 {
Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle($request, Closure $next) …
›
› return $next($request);
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/fideloper/proxy/src/TrustProxies.php:57 {
Fideloper\Proxy\TrustProxies->handle(Request $request, Closure $next) …
›
› return $next($request);
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:105 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:145 {
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter($request) …
› ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
› ->then($this->dispatchToRouter());
› }
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:110 {
Illuminate\Foundation\Http\Kernel->handle($request) …
›
› $response = $this->sendRequestThroughRouter($request);
› } catch (Exception $e) {
}
/var/www/vhosts/dehuizenbemiddelaarbreda.nl/httpdocs/public/index.php:55 {
› $response = $kernel->handle(
› $request = Illuminate\Http\Request::capture()
› );
}
}
}