Tangerine-Community / Tangerine

Digitize your offline data collection. Create your Forms online with Tangerine Editor, conduct them offline with the Tangerine Android App. All results you collect can be exported as a CSV file, easy for processing in a spreadsheet. Tangerine has been used in over 1 million assessments and surveys in over 60 countries and in 100 languages.
http://www.tangerinecentral.org/
GNU General Public License v3.0
49 stars 30 forks source link

custom-login-markup error #3687

Open chrisekelley opened 7 months ago

chrisekelley commented 7 months ago

Current version: 4.0.1 rc

Login screen will not render:

image

ERROR Error: Uncaught (in promise): HttpErrorResponse: {"headers":{"normalizedNames":{},"lazyUpdate":null},"status":502,"statusText":"OK","url":"https://acuity.tangerinecentral.org/custom-login-markup","ok":false,"name":"HttpErrorResponse","message":"Http failure response for https://acuity.tangerinecentral.org/custom-login-markup: 502 OK","error":"<!DOCTYPE html>\n\n\nError\n\n\n\n

An error occurred.

\n

Sorry, the page you are looking for is currently unavailable.
\nPlease try again later.

\n

If you are the system administrator of this resource then you should check\nthe error log for details.

\n

Faithfully yours, nginx.

\n\n\n"} at resolvePromise (zone.js:1265:35)

chrisekelley commented 7 months ago

Debugging the error logs from server:

2024-02-20T20:38:52.055Z INFO AppService.install (/tangerine/server/src/app.service.ts:82:9) Installing... /tangerine/server/node_modules/axios/lib/core/AxiosError.js:89 AxiosError.call(axiosError, error.message, code, config, request, response); ^ AxiosError: getaddrinfo EAI_AGAIN couchdb

--- snip ---

[nodemon] app crashed - waiting for file changes before starting...

chrisekelley commented 7 months ago

After doing a docker restart server, the page rendered fine.

So - if you get this error, check if there was a crash in the server log.

esurface commented 4 months ago

@chrisekelley -- can we close this as resolved?