-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to load resource: the server responded with a status of 502 () #44
Comments
Also, the link with the api gateway (https://APIgatewayID.execute-api.us-east-1.amazonaws.com/prod/account) returns: |
It seems that you are not logged in. Did you create your account first? If so, did you login to the system? Also, you can confirm your account existence on Congito on AWS Management Console. Did you provide user pool id environment variables to the frontend? Please check the above. Thanks for trying! |
Yes, I can see my created account in AWS Congito, and all 4 environment variables:
... have been successfully uploaded. I know they were successful because I got an error my pool_id was not the correct len because I mixed up Pool_Id and web-client id, then the page rendered. |
Could it be a problem with my browser not allowing HTTP connects? Or with cloudfront? |
Login request directly connect to Cognito, not via CloudFront. So that's not a problem. (Both of them are connected via HTTP"S") Additionally, your frontend was rendered correctly. So there is no problem with CloudFront.
Agree
The account info is fetched by API Gateway. That means your request was stacked at here. So we should investigate why the API Gateway didn't respond correctly. The simple way to do the investigation is checking the lambda function's log. If the log group exists, that means your API Gateway invoked the Lambda function correctly. If not, it was failed. Please paste your raw logs (concealing personal stuff if you need) if your could. Thanks! |
Thanks sm for the help! 2022-10-12T22:22:55.922-04:00 | START RequestId: 682966a4-89e4-4b01-967e-dee7f1e1f7a2 Version: $LATEST |
So it seems it cannot connect to AMB, i did enter export AMB_HTTP_ENDPOINT='https://.ethereum.managedblockchain..amazonaws.com' (with my nodes HTTP endpoit) |
Just curious, when you change a file in /provision is there a way to avoid having to run CDK bootstrap and cdk deploy SimpleNftMarketplaceStack again? |
Changed the NetworkID accordingly, got the same error:
|
"errorType": "Error", |
Everything in the app is working beside the following:
The problem arises in the Eth Deposit section of Docs: https://github.com/aws-samples/simple-nft-marketplace/blob/main/docs/en/DOCS_04_FRONTEND.md
After I click the "Account" button in the upper right-hand corner of the page I do not see the following information:
Address: Public Address
Balance: The balance of deposited Ethereum
Private Key: The private key of the wallet. Display by pressing the "Retrieve" button
Rather, I see "Loading ..." see below:
In the console I get the following error:
Im not sure if its an error in the front end, env variables, or one of my AWS apps. Please help as I am very excited about this repo and already learned a ton!
The text was updated successfully, but these errors were encountered: