wizbots / labtab

0 stars 0 forks source link

Some videos appear as complete and uploaded but are not in Wonderwall #88

Closed internetmosquito closed 5 years ago

internetmosquito commented 6 years ago

We have a serious problem here...

There are 3 videos that appear as uploaded in Video List:

screenshot_20180517-034938

But those were not uploaded into Wonderwall...we can see them in Gallery in Android Device...but question is...if they were not uploaded why they appear as 100% in video list?

The child I have confirmed right now that is not getting videos taken from labtab except last one is Ethan Mathew from Fremont Christian (34211). He is missing 3 videos called: Chariot, Maze Bowling, Hypnotizer.

And even worse, 2 videos for this kid are not even showing up in the Gallery! meaning, they're gone forverer...do we have any way to track what happened.

screenshot_20180517-232813 screenshot_20180517-232800 ![screenshot_20180517-232736](https://user-images.githubusercontent.com/1500392/40220288-f3d97bc2-5a78-11e8-9723-ea79c91dac84.pn

internetmosquito commented 6 years ago

I tried to make a video and I see a similar behaviour....video is not shown in Gallery...

screenshot_20180518-090306

And I cannot see it in Gallery....

screenshot_20180518-090410

The video is playable though through the labtab itself...

kapoorutd commented 6 years ago

@internetmosquito Can you please provide access to production where i see wonderwall..

kapoorutd commented 6 years ago

@internetmosquito As we have tried from the link "http://test.wizbots.com/api/doc#!/projects/post_project_collection" and the response code is 201. Hence we are getting 100% on the upload screen.

image

image

image

but there is no uploaded video on Wonderwall as reflecting in above screenshot.

therefore it seems like that there is no problem in android application.

internetmosquito commented 6 years ago

@kapoorutd in staging we don't upload the videos because the transcoding work we have to pay for it...it's not a problem with wizbots, as depicted in https://github.com/wizbots/wizbots/issues/2313, the missing videos were not uploaded at all...

kapoorutd commented 6 years ago

@internetmosquito please give me a link of 2313 as its showing as Resource not found and cant view the issue.

kapoorutd commented 6 years ago

@internetmosquito Hi, we tested "create project api" on staging server were we uploaded the video and we are showing 100% progress for video on video list screen when we are getting success response from server. (that is 201 response code). please provide us production user credentials so that we can also test it on production server.

kapoorutd commented 6 years ago

@internetmosquito We uploaded a video with app, Here is request and response : Request : Request{method=POST, url=http://test.wizbots.com/api/projects/?category=challenge&sku=34705&description=Testdesc&title=testtitle&notes=Testtest&components=Motor%20Control&creators=58ec37d00d12a96cec49dccc, tag=null}

Video File Details : Content-Disposition: form-data; name="video"; filename="testtitle.34705.DavidYurov.mp4"

Response : Response{protocol=http/1.1, code=201, message=CREATED, url=http://test.wizbots.com/api/projects/?category=challenge&sku=34705&description=Testdesc&title=testtitle&notes=Testtest&components=Motor%20Control&creators=58ec37d00d12a96cec49dccc}

Response Headers With time : Server: nginx/1.12.1 Date: Thu, 24 May 2018 11:00:17 GMT Content-Type: application/json Content-Length: 388 Connection: keep-alive Set-Cookie: session=eyJtZW1iZXIiOiI1MDJlZDc0OTQxYWY4YzVmN2MwMDAwMGQifQ.DegswQ.UgWhvS_uGgmy_ypPKlPcA86GDIo; HttpOnly; Path=/

Tab screenOrientation ="portrait"

internetmosquito commented 6 years ago

@kapoorutd any news here? did you find something with Joshua's token?

kapoorutd commented 6 years ago

Hi @internetmosquito, Access token is not sufficient to call create project api we also require member's id as well. if you can provide us a temporary user name and password for testing purpose it would be very helpful for us to debug the issue.

internetmosquito commented 5 years ago

Closing since we're not able to reproduce this now