awslabs / amplify-video

An open source Category Plugin for the AWS Amplify-CLI that makes it easy to deploy live and file based streaming video services and integrate them into your Amplify applications.
https://www.npmjs.com/package/amplify-category-video
Apache License 2.0
267 stars 56 forks source link

Stuck on "Copying video resources. This may take a few minutes..." when running amplify push #302

Closed djsjr closed 2 years ago

djsjr commented 3 years ago

Describe the bug When I run amplify push, the first message I get is "Copying video resources. This may take a few minutes...". The progress animation is moving but it never finishes. It has been quite a long time. (I have recently updated to Flutter's new null-safety. See additional context at bottom as to why this could be an issue.)

To Reproduce Steps to reproduce the behavior:

  1. Run 'amplify push'

Expected behavior This usually takes no longer than a few moments.

Screenshots

Screen Shot 2021-08-20 at 5 23 28 PM

Desktop (please complete the following information):

Smartphone (please complete the following information): n/a

Additional context I have recently upgraded to Flutter 2.2.3 null-safety. In doing so, my code all had to be converted to the null-safety format. Codegen did this automatically for my models. e.g.

class VideoObject extends Model {
  static const classType = const _VideoObjectModelType();
  final String id;
  final String? _token;
...

Notice the edition of ? after the String. These changes work just fine, but perhaps they're causing the problem.

wizage commented 2 years ago

Amplify push, just literally run s3 push. It might hang due to internet issues, or credentials issues. Would recommend check your internet and making sure your credentials can push to S3.