Error

We're sorry, but an unhandled error occurred. Please see the details below.

file_get_contents(https://up.qair.kz/egiojs/instagram-feed/kvptk/mainfirst.json): failed to open stream: Connection timed out

/home/admin/web/kvptk.kz/public_html/themes/demo/pages/home.htm line 45

		),
		'http' => array('timeout' => 5)
	); 
 
 
 
	$insposts = file_get_contents('https://up.qair.kz/egiojs/instagram-feed/kvptk/mainfirst.json', false, stream_context_create($arrContextOptions));
	$insarray = json_decode($insposts, true);
 
	//foreach ($insarray as $item) { 
	//	$post = file_get_contents('https://up.qair.kz/egiojs/instagram-feed/kvptk/'.$item.'/main.json', false, stream_context_create($arrContextOptions));
	//	$ins[] = json_decode($post, true);
	//}

Stack trace

# Called Code Document Line
48 file_get_contents() ~/modules/cms/classes/CodeParser.php(291) : eval()'d code 15
47 Cms6708e76bc3ac7089187460_e89db334aa648183bcb5867e87a034a6Class->onStart() ~/modules/cms/classes/Controller.php 500
46 Cms\Classes\Controller->execPageCycle() ~/modules/cms/classes/Controller.php 394
45 Cms\Classes\Controller->runPage() ~/modules/cms/classes/Controller.php 225
44 Cms\Classes\Controller->run() ~/modules/cms/classes/CmsController.php 50
43 Cms\Classes\CmsController->run()
42 call_user_func_array() ~/vendor/laravel/framework/src/Illuminate/Routing/Controller.php 54
41 Illuminate\Routing\Controller->callAction() ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 45
40 Illuminate\Routing\ControllerDispatcher->dispatch() ~/vendor/laravel/framework/src/Illuminate/Routing/Route.php 212
39 Illuminate\Routing\Route->runController() ~/vendor/laravel/framework/src/Illuminate/Routing/Route.php 169
38 Illuminate\Routing\Route->run() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 658
37 Illuminate\Routing\Router->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 30
36 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}() ~/plugins/rainlab/translate/classes/LocaleMiddleware.php 29
35 RainLab\Translate\Classes\LocaleMiddleware->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
34 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
33 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php 41
32 Illuminate\Routing\Middleware\SubstituteBindings->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
31 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
30 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php 49
29 Illuminate\View\Middleware\ShareErrorsFromSession->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
28 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
27 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php 63
26 Illuminate\Session\Middleware\StartSession->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
25 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
24 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php 37
23 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
22 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
21 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php 68
20 Illuminate\Cookie\Middleware\EncryptCookies->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
19 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
18 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 102
17 Illuminate\Pipeline\Pipeline->then() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 660
16 Illuminate\Routing\Router->runRouteWithinStack() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 635
15 Illuminate\Routing\Router->runRoute() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 601
14 Illuminate\Routing\Router->dispatchToRoute() ~/vendor/october/rain/src/Router/CoreRouter.php 20
13 October\Rain\Router\CoreRouter->dispatch() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 176
12 Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 30
11 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}() ~/plugins/serenitynow/cacheroute/classes/RouteCacheMiddleware.php 38
10 SerenityNow\Cacheroute\Classes\RouteCacheMiddleware->cacheResponse() ~/plugins/serenitynow/cacheroute/classes/RouteCacheMiddleware.php 22
9 SerenityNow\Cacheroute\Classes\RouteCacheMiddleware->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
8 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
7 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php 46
6 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle() ~/vendor/october/rain/src/Foundation/Http/Middleware/CheckForMaintenanceMode.php 25
5 October\Rain\Foundation\Http\Middleware\CheckForMaintenanceMode->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
4 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
3 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 102
2 Illuminate\Pipeline\Pipeline->then() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 151
1 Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 116
0 Illuminate\Foundation\Http\Kernel->handle() ~/index.php 43