basis-company / tarantool-admin

MIT License
110 stars 29 forks source link

/admin/api not answering, app instant loading #80

Closed darkfessing closed 2 months ago

darkfessing commented 2 months ago

Hi there! Pls help to resolve the issue. App is working fine on our standard environment. We use is very often. Thx!

But on closed-isolated-client (btw, system-wide proxy server are used) environment the app not loading. "Pls, wait" on start page, POST hung request to /admin/api. No errors on logs. Zero ideas what could go wrong. Tried different versions, self-rebuilded images, etc.

App launched with standard command: docker run -p 8000:80 quay.io/basis-company/tarantool-admin without any envs.

изображение изображение изображение

Pls help to resolve the issue.

darkfessing commented 2 months ago

Fixed here: https://github.com/darkfessing/tarantool-admin/commit/1dc32a9defbb489dac7a535b2cbd6d086bb6ff48

nekufa commented 2 months ago

hi @darkfessing, looks like backend can't reach the github to check version.

You can disable that feature for private networks via env: TARANTOOL_CHECK_VERSION - default is true. set to false if you want to disable version check https://github.com/basis-company/tarantool-admin?tab=readme-ov-file#configure-using-env

fix can be applied to admin.configuration job, we need extend context configuration to reduce timeout while fetching version https://github.com/basis-company/tarantool-admin/blob/master/php/Job/Admin/Configuration.php#L56

darkfessing commented 2 months ago

Okay thx!