{"action":"created","issue":{"url":"https://api.github.com/repos/trntv/yii2-glide/issues/23","repository_url":"https://api.github.com/repos/trntv/yii2-glide","labels_url":"https://api.github.com/repos/trntv/yii2-glide/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/trntv/yii2-glide/issues/23/comments","events_url":"https://api.github.com/repos/trntv/yii2-glide/issues/23/events","html_url":"https://github.com/trntv/yii2-glide/issues/23","id":315960170,"number":23,"title":"Glide and CloudFlare","user":{"login":"ztdan4ik","id":14123515,"avatar_url":"https://avatars0.githubusercontent.com/u/14123515?v=4","gravatar_id":"","url":"https://api.github.com/users/ztdan4ik","html_url":"https://github.com/ztdan4ik","followers_url":"https://api.github.com/users/ztdan4ik/followers","following_url":"https://api.github.com/users/ztdan4ik/following{/other_user}","gists_url":"https://api.github.com/users/ztdan4ik/gists{/gist_id}","starred_url":"https://api.github.com/users/ztdan4ik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ztdan4ik/subscriptions","organizations_url":"https://api.github.com/users/ztdan4ik/orgs","repos_url":"https://api.github.com/users/ztdan4ik/repos","events_url":"https://api.github.com/users/ztdan4ik/events{/privacy}","received_events_url":"https://api.github.com/users/ztdan4ik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-04-19T16:55:08Z","updated_at":"2018-04-26T14:02:20Z","closed_at":null,"author_association":"NONE","body":"Good afternoon!\r\nFirst of all thanks for you work with your extension!\r\n\r\nI have some non-trivial problem.\r\nMy trntv/yii2-glide version is 1.3.0\r\nPHP 7.1.16\r\nCentOS\r\nusing CloudFlare\r\n\r\nMy problem with displaying images with resized image more than 192px\r\nNext screen video will eloquently explain the problem - http://i.de-v.net/1524404756.webm\r\nAs you can see image is creating and shows on the page but after ~5 second it disappears.\r\n\r\n**Running code**\r\n```\r\nreturn \\yii\\helpers\\Html::img(\r\n    Yii::$app->glide->createSignedUrl([\r\n        'glide/index',\r\n        'path' => $model->uploadedProductPictures[0]->picture_path,\r\n        'w' => 500\r\n    ], true)\r\n);\r\n```\r\n\r\n**Configurations**\r\n```\r\n'controllerMap' => [\r\n    'glide' => '\\trntv\\glide\\controllers\\GlideController'\r\n]\r\n...\r\n'glide' => [\r\n    'class' => 'trntv\\glide\\components\\Glide',\r\n    'sourcePath' => '@storage/source',\r\n    'cachePath' => '@storage/cache',\r\n    'maxImageSize' => 4000000,\r\n    'signKey' => 'IsOOUu_ixnoxqrx6jN34IF7TL25yWuT3'\r\n]\r\n...\r\n'urlManager' => [\r\n    'enablePrettyUrl' => true,\r\n    'showScriptName' => false,\r\n    'rules'=> [\r\n        ['pattern'=>'cache/<path:(.*)>', 'route'=>'glide/index', 'encodeParams' => false]\r\n    ]\r\n]\r\n...\r\n```\r\n\r\n**Browser log**\r\n```\r\nt=66267 [st=46025]      HTTP2_STREAM_ERROR\r\n                        —> description = \"Server reset stream.\"\r\n                        —> net_error = \"ERR_SPDY_PROTOCOL_ERROR\"\r\n                        —> stream_id = 1\r\nt=66267 [st=46025]   -HTTP_TRANSACTION_READ_BODY\r\n                      —> net_error = -337 (ERR_SPDY_PROTOCOL_ERROR)\r\nt=66267 [st=46025]    FAILED\r\n                      —> net_error = -337 (ERR_SPDY_PROTOCOL_ERROR)\r\nt=66267 [st=46025] -REQUEST_ALIVE\r\n                    —> net_error = -337 (ERR_SPDY_PROTOCOL_ERROR)\r\n```\r\n\r\nI have tested with different browsers, computers and networks.\r\n\r\nIf 'w' (width) parameter less than 192px - working fine.\r\nIf i disabling ssl and CloudFlare - also working fine.\r\n\r\nPlease, advise me with this problem.\r\n\r\nThank you in advance."},"comment":{"url":"https://api.github.com/repos/trntv/yii2-glide/issues/comments/384652115","html_url":"https://github.com/trntv/yii2-glide/issues/23#issuecomment-384652115","issue_url":"https://api.github.com/repos/trntv/yii2-glide/issues/23","id":384652115,"user":{"login":"ztdan4ik","id":14123515,"avatar_url":"https://avatars0.githubusercontent.com/u/14123515?v=4","gravatar_id":"","url":"https://api.github.com/users/ztdan4ik","html_url":"https://github.com/ztdan4ik","followers_url":"https://api.github.com/users/ztdan4ik/followers","following_url":"https://api.github.com/users/ztdan4ik/following{/other_user}","gists_url":"https://api.github.com/users/ztdan4ik/gists{/gist_id}","starred_url":"https://api.github.com/users/ztdan4ik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ztdan4ik/subscriptions","organizations_url":"https://api.github.com/users/ztdan4ik/orgs","repos_url":"https://api.github.com/users/ztdan4ik/repos","events_url":"https://api.github.com/users/ztdan4ik/events{/privacy}","received_events_url":"https://api.github.com/users/ztdan4ik/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T14:02:20Z","updated_at":"2018-04-26T14:02:20Z","author_association":"NONE","body":"In one sentence, what is solution?"}}
{"actor":{"display_login":"ztdan4ik"}}