- Это популярное сообщение.
ace965
-
Публикации
5 -
Зарегистрирован
-
Посещение
Сообщения, опубликованные пользователем ace965
-
-
В логах вот что пишет
Скрытый текстЦитата2017/05/28 04:44:47 [warn] 31149#31149: *8411 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/7/05/0000000057 while reading upstream, client: 36.74.66.17, server: trendsezona.by, request: "GET / HTTP/1.0", upstream: "http://127.0.0.1:8080/"
2017/05/28 12:11:38 [error] 31149#31149: *8660 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 79.111.117.214, server: trendsezona.by, request: "GET /specials/ HTTP/1.1", upstream: "http://127.0.0.1:8080/specials/", host: "trendsezona.by", referrer: "https://trendsezona.by/"
2017/05/28 12:12:19 [error] 31149#31149: *8668 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 79.111.117.214, server: trendsezona.by, request: "GET /converse HTTP/1.1", upstream: "http://127.0.0.1:8080/converse", host: "trendsezona.by", referrer: "https://trendsezona.by/brands/"
2017/05/28 12:12:21 [error] 31149#31149: *8671 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 79.111.117.214, server: trendsezona.by, request: "GET /kodi HTTP/1.1", upstream: "http://127.0.0.1:8080/kodi", host: "trendsezona.by", referrer: "https://trendsezona.by/brands/"
2017/05/28 12:12:22 [error] 31149#31149: *8667 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 79.111.117.214, server: trendsezona.by, request: "GET /kylie HTTP/1.1", upstream: "http://127.0.0.1:8080/kylie", host: "trendsezona.by", referrer: "https://trendsezona.by/brands/"
2017/05/28 12:19:36 [error] 31149#31149: *8675 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 79.111.117.214, server: trendsezona.by, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "trendsezona.by"
2017/05/28 13:14:35 [error] 31149#31149: *8836 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 178.121.83.126, server: trendsezona.by, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "trendsezona.by"
2017/05/28 13:15:35 [error] 31149#31149: *8836 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 178.121.83.126, server: trendsezona.by, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "trendsezona.by", referrer: "https://www.google.by/"
2017/05/28 13:15:51 [error] 31149#31149: *8905 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 178.121.83.126, server: trendsezona.by, request: "GET /woomen/odejda-woomen/kyrtki-woomen/ HTTP/1.1", upstream: "http://127.0.0.1:8080/woomen/odejda-woomen/kyrtki-woomen/", host: "trendsezona.by", referrer: "https://www.google.by/"
2017/05/28 13:16:01 [warn] 31149#31149: *8916 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/8/05/0000000058 while reading upstream, client: 79.111.117.214, server: trendsezona.by, request: "GET /catalog/view/javascript/font-awesome/fonts/fontawesome-webfont.ttf?v=4.4.0 HTTP/1.1", upstream: "http://127.0.0.1:8080/catalog/view/javascript/font-awesome/fonts/fontawesome-webfont.ttf?v=4.4.0", host: "trendsezona.by", referrer: "https://trendsezona.by/catalog/view/javascript/font-awesome/css/font-awesome.min.css"
2017/05/28 13:17:00 [error] 31149#31149: *8905 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 178.121.83.126, server: trendsezona.by, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "trendsezona.by"
2017/05/28 13:22:18 [error] 31149#31149: *8976 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 178.121.83.126, server: trendsezona.by, request: "GET /makiyazh/ HTTP/1.1", upstream: "http://127.0.0.1:8080/makiyazh/", host: "trendsezona.by", referrer: "https://www.google.by/"
2017/05/28 14:40:28 [error] 31149#31149: *9245 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 178.121.83.126, server: trendsezona.by, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "trendsezona.by"
2017/05/28 14:46:30 [error] 31149#31149: *9254 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 178.121.83.126, server: trendsezona.by, request: "GET /men/aksesyari-men/ HTTP/1.1", upstream: "http://127.0.0.1:8080/men/aksesyari-men/", host: "trendsezona.by", referrer: "https://trendsezona.by/"
2017/05/28 14:47:33 [error] 31149#31149: *9254 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 178.121.83.126, server: trendsezona.by, request: "GET /men/aksesyari-men/ HTTP/1.1", upstream: "http://127.0.0.1:8080/men/aksesyari-men/", host: "trendsezona.by", referrer: "https://trendsezona.by/"
2017/05/28 14:58:19 [error] 31149#31149: *9348 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 178.121.83.126, server: trendsezona.by, request: "GET /index.php?route=product/search HTTP/1.1", upstream: "http://127.0.0.1:8080/index.php?route=product/search", host: "trendsezona.by", referrer: "https://trendsezona.by/"
2017/05/28 15:04:08 [warn] 31149#31149: *9398 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/9/05/0000000059 while reading upstream, client: 93.77.185.11, server: trendsezona.by, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "178.159.44.249"
2017/05/28 15:08:35 [warn] 31149#31149: *9403 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000000060, client: 79.111.117.214, server: trendsezona.by, request: "POST /admin/index.php?route=setting/setting&token=X2rDDcCDlUodVgIvZe6piuLPvqybMjPO HTTP/1.1", host: "trendsezona.by", referrer: "https://trendsezona.by/admin/index.php?route=setting/setting&token=X2rDDcCDlUodVgIvZe6piuLPvqybMjPO"
2017/05/28 15:16:47 [error] 31149#31149: *9510 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 79.111.117.214, server: trendsezona.by, request: "GET /admin/index.php?route=extension/extension&token=X2rDDcCDlUodVgIvZe6piuLPvqybMjPO HTTP/1.1", upstream: "http://127.0.0.1:8080/admin/index.php?route=extension/extension&token=X2rDDcCDlUodVgIvZe6piuLPvqybMjPO", host: "trendsezona.by", referrer: "https://trendsezona.by/admin/index.php?route=common/dashboard&token=X2rDDcCDlUodVgIvZe6piuLPvqybMjPO"
2017/05/28 15:36:59 [warn] 31149#31149: *9627 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000000061, client: 79.111.117.214, server: trendsezona.by, request: "POST /admin/index.php?route=setting/setting&token=tQKLbinDON6wWdWT6X9BjcspK8IwIR0B HTTP/1.1", host: "trendsezona.by", referrer: "https://trendsezona.by/admin/index.php?route=setting/setting&token=tQKLbinDON6wWdWT6X9BjcspK8IwIR0B"
2017/05/28 15:37:12 [warn] 31149#31149: *9627 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000000062, client: 79.111.117.214, server: trendsezona.by, request: "POST /admin/index.php?route=setting/setting&token=tQKLbinDON6wWdWT6X9BjcspK8IwIR0B HTTP/1.1", host: "trendsezona.by", referrer: "https://trendsezona.by/admin/index.php?route=setting/setting&token=tQKLbinDON6wWdWT6X9BjcspK8IwIR0B"
2017/05/28 15:57:20 [error] 31149#31149: *9867 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 79.111.117.214, server: trendsezona.by, request: "GET /admin/index.php?route=extension/extension&token=WxqlhSYaxYWuKhccBcW9axhZwHeHloIA HTTP/1.1", upstream: "http://127.0.0.1:8080/admin/index.php?route=extension/extension&token=WxqlhSYaxYWuKhccBcW9axhZwHeHloIA", host: "trendsezona.by", referrer: "https://trendsezona.by/admin/index.php?route=common/dashboard&token=WxqlhSYaxYWuKhccBcW9axhZwHeHloIA"
2017/05/28 16:25:32 [warn] 31149#31149: *9905 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/3/06/0000000063 while reading upstream, client: 185.103.41.39, server: trendsezona.by, request: "GET /catalog/view/javascript/font-awesome/fonts/fontawesome-webfont.ttf?v=4.4.0 HTTP/1.1", upstream: "http://127.0.0.1:8080/catalog/view/javascript/font-awesome/fonts/fontawesome-webfont.ttf?v=4.4.0", host: "trendsezona.by", referrer: "https://trendsezona.by/catalog/view/javascript/font-awesome/css/font-awesome.min.css" -
Всем здравствуйте!
Не так давно обнаружил что перестали работать некоторые страницы на сайте, сам сайт работает, но пару страниц не загружается. А именно,Товары со скидкой:https://trendsezona.by/specials/
И производители:https://trendsezona.by/converse
и так далее.
Сначала страницы пытаются загрузится, после чего выдают ошибкуСкрытый текстЦитата504 Gateway Time-out
nginx/1.10.2
Заметил эту проблему после того как перешёл на SSL, то есть c http на https.
В теме перехода http на https, сказали дело не в этом.
Пытался откатить всё назад, проблему не решило.
Вот некоторая информация по сайту:1.Был обычный хостинг, теперь перешёл на сервер (IaaS)
2. ocStore 2.3.0.2.2
3.шаблон Fractal
4.из последних модулей что ставил это "V2 Кэш страниц"
Когда был на хостинге, выдавало эту ошибку
Скрытый текстЦитатаFatal error: Uncaught exception 'Exception' with message 'Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM oc_setting WHERE store_id = '0'' in /home/user2027508/www/trendsezona.by/system/library/db/mysqli.php:40 Stack trace: #0 /home/user2027508/www/trendsezona.by/system/library/db.php(16): DB\MySQLi->query('SELECT * FROM o...', Array) #1 /home/user2027508/www/trendsezona.by/admin/controller/startup/startup.php(5): DB->query('SELECT * FROM o...') #2 [internal function]: ControllerStartupStartup->index() #3 /home/user2027508/www/trendsezona.by/system/storage/modification/system/engine/action.php(51): call_user_func_array(Array, Array) #4 /home/user2027508/www/trendsezona.by/system/engine/front.php(34): Action->execute(Object(Registry)) #5 /home/user2027508/www/trendsezona.by/system/engine/front.php(19): Front->execute(Object(Action)) #6 /home/user2027508/www/trendsezona.by/system/framework.php(103): Front->dispatch(Object(Action), Object(Action)) #7 /home/user2027508/www/trendsezona.by/system/startu in /home/user2027508/www/trendsezona.by/system/library/db/mysqli.php on line 40
Подсказали что проблема может быть в том что не хватает производительности.
Перешёл на сервер (IaaS), но проблема не ушла!В чем может быть проблема? Плиз хелп!
-
1.Был обычный хостинг, теперь перешёл на сервер (IaaS)
2. ocStore 2.3.0.2.2
4.шаблон Fractal
5.из последних что ставил это "V2 Кэш страниц"
6. делал всё по инструкции, последовательность та же. в чём был нюанс, не хотели работать редиректы. обратился в хостеру он влепил мне
ЦитатаRewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^ https://%1%{REQUEST_URI} [R=301,L]
RewriteCond %{SERVER_PORT} !^443
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ https://trendsezona.by%{REQUEST_URI} [R=301,L]и потом всё заработало.
В конфигах везде проставил https
Модуль HTTPS Fix включён.
пункт 8.1 проверял,всё ок.
пункт 8.3 не работает. картинки отдаются по http и https
Но в этот же день обнаружил что не работает несколько ссылок на сайте, а именно производители, и товары со скидкой. например
https://trendsezona.by/specials/
остальные страницы работают хорошо. после загрузки выдаёт ошибку 504 Gateway Time-out, или
ЦитатаFatal error: Uncaught exception 'Exception' with message 'Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM oc_setting WHERE store_id = '0'' in /home/user2027508/www/trendsezona.by/system/library/db/mysqli.php:40 Stack trace: #0 /home/user2027508/www/trendsezona.by/system/library/db.php(16): DB\MySQLi->query('SELECT * FROM o...', Array) #1 /home/user2027508/www/trendsezona.by/admin/controller/startup/startup.php(5): DB->query('SELECT * FROM o...') #2 [internal function]: ControllerStartupStartup->index() #3 /home/user2027508/www/trendsezona.by/system/storage/modification/system/engine/action.php(51): call_user_func_array(Array, Array) #4 /home/user2027508/www/trendsezona.by/system/engine/front.php(34): Action->execute(Object(Registry)) #5 /home/user2027508/www/trendsezona.by/system/engine/front.php(19): Front->execute(Object(Action)) #6 /home/user2027508/www/trendsezona.by/system/framework.php(103): Front->dispatch(Object(Action), Object(Action)) #7 /home/user2027508/www/trendsezona.by/system/startu in /home/user2027508/www/trendsezona.by/system/library/db/mysqli.php on line 40
Думал может проблема в хостинге, перешёл на более мощный сервак. Проблема осталась.
Теперь думаю может она и раньше появилась, и дело не в переходе с http на https, но вдруг кто поможет.
Спасибо! -
Всем доброго дня!
Не один день мучаю себя эти переездом, и вчера при помощи тех поддержки вроде всё настроил.Коды представленные здесь не подходили, то не происходило перенаправление, то не работал сайт (писал ошибку "перенапрвление было сделано слишком много раз").
Редирект стоит такой
ЦитатаRewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^ https://%1%{REQUEST_URI} [R=301,L]
RewriteCond %{SERVER_PORT} !^443
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ https://trendsezona.by%{REQUEST_URI} [R=301,L]В конфигах везде проставил https
Модуль HTTPS Fix включён.
пункт 8.1 проверял,всё ок.
пункт 8.3 не работает. картинки отдаются по http и https
И что ещё заметил, не переходит на страницы производителей. просто не грузятся.
В чём может быть проблема???
Перестали загружаться страницы
в Общие вопросы
Опубликовано:
Проблема решена. Всему виной был модуль "Отзывы на сайте"