Replies: 1 comment
-
Причин несколько:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Причин несколько:
|
Beta Was this translation helpful? Give feedback.
-
Вторая попытка развернуть сервер на импрессе на хостинге хероку, с process.env.PORT теперь всё отлично, но следующая проблема оказалась в подключении к БД
Хероку требует что бы сервер был запущен на http, а подключение к их БД происходило по SSL.
Я получаю
GET /api 500 Error: self signed certificate
при попытке выполнить запрос к БД из процедуры signinОшибка происходит именно внутри импресса, полагаю проблема в том что импресс работая без ssl, пытается подключится к базе тоже без ssl
Конфиг сервера:
Конфиг БД:
Полностью лог:
Так же я изменил application/db/setup.sh скрипт для того что бы можно было загрузить схему и данные бд на хероку
Может я что-то не так сконфигурировал?
И мне кажется что импресс не расчитан под такие хостинги, где есть свой логер)
Beta Was this translation helpful? Give feedback.
All reactions