Skip to content
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

couple of issues when using aws-amplify@3.0.7 and aws-amplify-react@4.1.6 #5378

Closed
smoothwood opened this issue Apr 12, 2020 · 3 comments
Closed
Labels
duplicate If marked with duplicate, issue will be closed & original will be added for traceability React React related issues

Comments

@smoothwood
Copy link

In my amplify project I used npm install aws-amplify aws-amplify-react to install below two libraries

  • aws-amplify@3.0.7
  • aws-amplify-react@4.1.6

Then I observed below issues.

Issue 1:
I used amplify add auth to enable authentication, but the default Sign Up page is not the same as usual (amazon default styling), now there is no any styling applied to that page.

Issue2:
I used amplify add storage to enable S3 and made a simple file uploading page, the file can be uploaded to S3 SUCCESSFULLY, however I saw below two errors in Chrome console

  • Refused to set unsafe header "content-length"
  • Refused to set unsafe header "host"

Issue3:
I used amplify mock to start local mocking
while uploading file, in Chrome console, I saw below error and file was not uploaded
error message PUT https://localhost:20005/bucket-name/public/1.png?x-id=PutObject net::ERR_SSL_PROTOCOL_ERROR

After I switched to
"aws-amplify": "^2.3.0"
"aws-amplify-react": "^3.1.9"

All above issues gone

To Reproduce
Install

  • aws-amplify@3.0.7
  • aws-amplify-react@4.1.6
  • add auth and storage

  • start local mocking

Expected behavior

  1. Sign Up page showing with default amazon styling
  2. Error messages in Issue2 should not be showed
  3. file could be uploaded to local directory when using local mocking
@smoothwood smoothwood added the to-be-reproduced Used in order for Amplify to reproduce said issue label Apr 12, 2020
@Amplifiyer
Copy link
Contributor

Amplifiyer commented Apr 13, 2020

@smoothwood
Issue # 1 is a breaking change with amplify V3: https://github.com/aws-amplify/amplify-js#amplify3xx-has-breaking-changes-please-see-the-breaking-changes-below
Issue # 2,Same as #5376
Issue # 3: Same as #5320

@sammartinez sammartinez added React React related issues version-3 labels Apr 13, 2020
@Amplifiyer
Copy link
Contributor

Marking this as duplicate and closing. Please follow up on the related issues.

@Amplifiyer Amplifiyer added duplicate If marked with duplicate, issue will be closed & original will be added for traceability and removed to-be-reproduced Used in order for Amplify to reproduce said issue labels Apr 21, 2020
@github-actions
Copy link

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels or Discussions for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate If marked with duplicate, issue will be closed & original will be added for traceability React React related issues
Projects
None yet
Development

No branches or pull requests

3 participants