Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Cannot login, blank red box, page shows JS errors & not able to authenticate #14

Open
sapra5379 opened this issue Jun 27, 2022 · 13 comments

Comments

@sapra5379
Copy link

Hello Team,
Looking for the support to review my setup, as i am getting red error without message in web UI and need to understand authentication and directory mapping on DynamoDB.

@sapra5379
Copy link
Author

error

@sapra5379
Copy link
Author

DynamoDb
3

@sapra5379
Copy link
Author

@amazon-auto please help into it.

@electrokat
Copy link

electrokat commented Jun 30, 2022

@shardhak this is the same issue that I'm experiencing.

@sapra5379 can you screenshot the browser logs on Chrome (redact your SFTP URL) by pressing F12 (Developer mode) on the webpage after you login?

@Raydingo
Copy link

Hello. was anyone able to solve this? I'm running in to the same issue.

@kshardha
Copy link

Can you share the error from dev console logs?

@Raydingo
Copy link

Can you share the error from dev console logs?

Hi kshardha, here is the screenshot.

image

@kshardha
Copy link

Check your Flask configuration file (backend) and the entries you had for your domain etc in 04a script. Also, check if the certs you are using allow for the FQDN you are configuring for the application.

@Raydingo
Copy link

Check your Flask configuration file (backend) and the entries you had for your domain etc in 04a script. Also, check if the certs you are using allow for the FQDN you are configuring for the application.

The flash configuration file and the 04a script contain the same domain/cname configuration. I am using a wildcard cert. *domainname.com

@kshardha
Copy link

One more thing to check, share the ECS logs for the backend tasks that are running. See if you have encountered any error there.

@Raydingo
Copy link

ECS_LOG.xlsx

log attached.

@kshardha
Copy link

Try updating the requirement.txt file using the following and rebuild docker image, upload it and re-create the ECS tasks:

Werkzeug==2.0.0
jinja2==3.0.3
Flask==2.1.0
Flask-Cors==3.0.8
Paramiko==2.7.1
flask_jwt_extended==3.25.1
gunicorn==20.0.4
boto3==1.14.24
cachetools==4.1.1
requests==2.24.0
psutil==5.7.2

@RiteshC05
Copy link

Is there any solution to this bug? Currently facing the same issue. In the console window, the error message starts with "Unexpected token '<', "<!DOCTYPE..>" Is there a problem with the response returning an html file?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants