Ionic upload fails with network error

Hi I’m trying to upload my first app to Ionic, to test it with Ionicview but it fails with the error below. Please can you help?


[OK] Project linked with app 05cc3f1a!
ionic upload
Running app-scripts build:

[06:14:21] build dev started …
[06:14:21] clean started …
[06:14:21] clean finished in 4 ms
[06:14:21] copy started …
[06:14:21] transpile started …
[06:14:25] transpile finished in 3.26 s
[06:14:25] preprocess started …
[06:14:25] deeplinks started …
[06:14:25] deeplinks finished in 15 ms
[06:14:25] preprocess finished in 15 ms
[06:14:25] webpack started …
[06:14:25] copy finished in 3.48 s
[06:14:33] webpack finished in 8.45 s
[06:14:33] sass started …
[06:14:35] sass finished in 1.48 s
[06:14:35] postprocess started …
[06:14:35] postprocess finished in 5 ms
[06:14:35] lint started …
[06:14:35] build dev finished in 13.32 s
:heavy_check_mark: Requesting snapshot upload - done!
\ Uploading snapshot (100.00%) [06:14:37] lint finished in 2.76 s
:heavy_multiplication_x: Uploading snapshot - failed!
HTTP Error 400: POST https://ionic-apps.s3.amazonaws.com/

<?xml version="1.0" encoding="UTF-8"?>
RequestTimeoutYour socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.
10BAB08B665B1B5D6kmW3WwpeDbwQhTIzZnPEVaqeME8OWOTGelODBXTfA7Ja7V+Y0RE+/O1PYoHtdxkWLnW0DX9a2E=

global packages:

@ionic/cli-utils : 1.3.0
Cordova CLI      : 7.0.1
Ionic CLI        : 3.3.0

local packages:

@ionic/app-scripts              : 1.3.7
@ionic/cli-plugin-cordova       : 1.3.0
@ionic/cli-plugin-ionic-angular : 1.3.0
Cordova Platforms               : android 6.2.3
Ionic Framework                 : ionic-angular 3.3.0

System:

Node       : v7.10.0
OS         : Windows 10
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed

Thank you!

Uh, that’s… interesting.

Did you check if the upload appears on apps.ionic.io or if it really wasn’t successful?

Hi Sujan, here is what I see at apps.ionic.io:

Seems that it is not completing the upload.
Any clues?

The list looks ok.
Isn’t the 6:14 version the one you uploaded above? Time matches…
Did you try opening the app with Ionic View?

(Ionic Deploy is a different thing, Ionic View only needs to have an entry in “recent activity” with “upload” to work.)

Hi Suman,
I never got a complete upload done. When I try to view it on the Ionic View
I get the attached error:

"APP HAS NO FILES (NEEDS UPLOAD)’

thank you,

Ok, so the dashboard is lying or not showing all information. Damn.

Do you have something in /www locally? Does ionic serve work?
Try ionic upload --verbose to maybe get more information on the error.

Thank you Sujan!
with the verbose parameter I was able to get more details. It is throwing that cli-plugin-proxy is not installed.

Nah, that is only informational - nothing to worry about if you don’t need to use a proxy.

But this time it times out one step sooner during “Requesting snapshot upload”, not “Uploading snapshot.”.

Are you on a really slow connection somehow?
Can you try again?
Maybe on a faster connection maybe?