Base solution for your next web application

Activities of "blueoceandev"

We are noticed in our automated builds that the "npm run publish" step to build the angular front end is very slow.. Its taking upwards of 15 minutes (usually around 5 minutes). When building locally it looks like maybe the source map generation is the issue... But when I try to avoid source map generation (--no-sourcemap) then the build fails with the following.

Are there any known ways to get that build step sped up?

Sorry I forgot to include the build output..

So background I have tweaked the package.json publish command so that I can get around some of the build performance issues (per some angular threads I looked at before posting here).. The last optimization I was trying was to add --no-sourcemap to the ng build command.. Below is the output from the build agent.

The specific error is "Unknown option: '--sourcemap'"

2018-08-27T17:49:09.8509243Z [command]C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files\nodejs\npm.cmd" --version" 2018-08-27T17:49:09.8509243Z 5.6.0 2018-08-27T17:49:15.4710273Z Unknown option: '--sourcemap' 2018-08-27T17:49:15.4710273Z npm ERR! code ELIFECYCLE 2018-08-27T17:49:15.4710273Z npm ERR! errno 1 2018-08-27T17:49:15.4710273Z npm ERR! [email protected] publish: node --max-old-space-size=3072 node_modules/@angular/cli/bin/ng build --prod --aot --no-sourcemap 2018-08-27T17:49:15.4710273Z npm ERR! Exit status 1 2018-08-27T17:49:15.4710273Z npm ERR! 2018-08-27T17:49:15.4710273Z npm ERR! Failed at the [email protected] publish script. 2018-08-27T17:49:15.4710273Z npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 2018-08-27T17:49:15.4710273Z 2018-08-27T17:49:15.4710273Z npm ERR! A complete log of this run can be found in: 2018-08-27T17:49:15.4710273Z npm ERR! C:\Users\vstsAdmin\AppData\Roaming\npm-cache_logs\2018-08-27T17_49_15_115Z-debug.log 2018-08-27T17:49:15.4710273Z [command]C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files\nodejs\npm.cmd" config list" 2018-08-27T17:49:15.4710273Z ; cli configs 2018-08-27T17:49:15.4710273Z metrics-registry = "https://registry.npmjs.org/" 2018-08-27T17:49:15.4710273Z scope = "" 2018-08-27T17:49:15.4710273Z user-agent = "npm/5.6.0 node/v8.11.4 win32 x64" 2018-08-27T17:49:15.4710273Z 2018-08-27T17:49:15.4710273Z ; environment configs 2018-08-27T17:49:15.4710273Z userconfig = "d:\work\1\2\npm\551.npmrc" 2018-08-27T17:49:15.4710273Z 2018-08-27T17:49:15.4710273Z ; builtin config undefined 2018-08-27T17:49:15.4710273Z prefix = "C:\Users\vstsAdmin\AppData\Roaming\npm" 2018-08-27T17:49:15.4710273Z 2018-08-27T17:49:15.4710273Z ; node bin location = C:\Program Files\nodejs\node.exe 2018-08-27T17:49:15.4710273Z ; cwd = d:\work\1\2\s\RTS\angular 2018-08-27T17:49:15.4710273Z ; HOME = C:\Users\vstsAdmin 2018-08-27T17:49:15.4710273Z ; "npm config ls -l" to show all defaults. 2018-08-27T17:49:15.4710273Z 2018-08-27T17:49:15.4710273Z [command]C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files\nodejs\npm.cmd" run publish" 2018-08-27T17:49:15.4710273Z 2018-08-27T17:49:15.4710273Z > [email protected] publish d:\work\1\2\s\RTS\angular 2018-08-27T17:49:15.4710273Z > node --max-old-space-size=3072 node_modules/@angular/cli/bin/ng build --prod --aot --no-sourcemap 2018-08-27T17:49:15.4710273Z 2018-08-27T17:49:15.5491544Z Found npm debug log, make sure the path matches with the one in npm's output: C:\Users\vstsAdmin\AppData\Roaming\npm-cache_logs\2018-08-27T17_49_15_115Z-debug.log 2018-08-27T17:49:15.5491544Z 0 info it worked if it ends with ok 2018-08-27T17:49:15.5491544Z 1 verbose cli [ 'C:\Program Files\nodejs\node.exe', 2018-08-27T17:49:15.5491544Z 1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js', 2018-08-27T17:49:15.5491544Z 1 verbose cli 'run', 2018-08-27T17:49:15.5491544Z 1 verbose cli 'publish' ] 2018-08-27T17:49:15.5491544Z 2 info using [email protected] 2018-08-27T17:49:15.5491544Z 3 info using [email protected] 2018-08-27T17:49:15.5491544Z 4 verbose run-script [ 'prepublish', 'publish', 'postpublish' ] 2018-08-27T17:49:15.5491544Z 5 info lifecycle [email protected]~prepublish: [email protected] 2018-08-27T17:49:15.5491544Z 6 info lifecycle [email protected]~publish: [email protected] 2018-08-27T17:49:15.5491544Z 7 verbose lifecycle [email protected]~publish: unsafe-perm in lifecycle true 2018-08-27T17:49:15.5491544Z 8 verbose lifecycle [email protected]~publish: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;d:\work\1\2\s\RTS\angular\node_modules.bin;C:\agent\externals\git\cmd;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\dotnet;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\Git\cmd;C:\ProgramData\chocolatey\bin;C:\Program Files\nodejs;C:\Program Files (x86)\Yarn\bin;C:\Users\vstsAdmin\AppData\Local\Microsoft\WindowsApps;C:\Users\vstsAdmin.dotnet\tools;C:\Users\vstsAdmin\AppData\Roaming\npm;C:\Users\vstsAdmin\AppData\Local\Yarn\bin;C:\agent\bin;C:\agent\bin 2018-08-27T17:49:15.5491544Z 9 verbose lifecycle [email protected]~publish: CWD: d:\work\1\2\s\RTS\angular 2018-08-27T17:49:15.5491544Z 10 silly lifecycle [email protected]~publish: Args: [ '/d /s /c', 2018-08-27T17:49:15.5491544Z 10 silly lifecycle 'node --max-old-space-size=3072 node_modules/@angular/cli/bin/ng build --prod --aot --no-sourcemap' ] 2018-08-27T17:49:15.5491544Z 11 silly lifecycle [email protected]~publish: Returned: code: 1 signal: null 2018-08-27T17:49:15.5491544Z 12 info lifecycle [email protected]~publish: Failed to exec publish script 2018-08-27T17:49:15.5491544Z 13 verbose stack Error: [email protected] publish: node --max-old-space-size=3072 node_modules/@angular/cli/bin/ng build --prod --aot --no-sourcemap 2018-08-27T17:49:15.5491544Z 13 verbose stack Exit status 1 2018-08-27T17:49:15.5491544Z 13 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:285:16) 2018-08-27T17:49:15.5491544Z 13 verbose stack at emitTwo (events.js:126:13) 2018-08-27T17:49:15.5491544Z 13 verbose stack at EventEmitter.emit (events.js:214:7) 2018-08-27T17:49:15.5491544Z 13 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 2018-08-27T17:49:15.5491544Z 13 verbose stack at emitTwo (events.js:126:13) 2018-08-27T17:49:15.5491544Z 13 verbose stack at ChildProcess.emit (events.js:214:7) 2018-08-27T17:49:15.5491544Z 13 verbose stack at maybeClose (internal/child_process.js:925:16) 2018-08-27T17:49:15.5491544Z 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) 2018-08-27T17:49:15.5491544Z 14 verbose pkgid [email protected] 2018-08-27T17:49:15.5491544Z 15 verbose cwd d:\work\1\2\s\RTS\angular 2018-08-27T17:49:15.5491544Z 16 verbose Windows_NT 10.0.14393 2018-08-27T17:49:15.5491544Z 17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "publish" 2018-08-27T17:49:15.5491544Z 18 verbose node v8.11.4 2018-08-27T17:49:15.5491544Z 19 verbose npm v5.6.0 2018-08-27T17:49:15.5491544Z 20 error code ELIFECYCLE 2018-08-27T17:49:15.5491544Z 21 error errno 1 2018-08-27T17:49:15.5491544Z 22 error [email protected] publish: node --max-old-space-size=3072 node_modules/@angular/cli/bin/ng build --prod --aot --no-sourcemap 2018-08-27T17:49:15.5491544Z 22 error Exit status 1 2018-08-27T17:49:15.5491544Z 23 error Failed at the [email protected] publish script. 2018-08-27T17:49:15.5491544Z 23 error This is probably not a problem with npm. There is likely additional logging output above. 2018-08-27T17:49:15.5491544Z 24 verbose exit [ 1, true ] 2018-08-27T17:49:15.5491544Z 2018-08-27T17:49:15.5679041Z ##[error]Error: Npm failed with return code: 1 2018-08-27T17:49:15.5805639Z ##[section]Async Command Start: Telemetry 2018-08-27T17:49:15.5805639Z ##[section]Async Command End: Telemetry 2018-08-27T17:49:15.5805639Z ##[section]Async Command Start: Telemetry 2018-08-27T17:49:15.5960432Z ##[section]Async Command End: Telemetry 2018-08-27T17:49:15.5960432Z ##[section]Finishing: Ng Build

I am starting work on the mobile portion of our solution.. I have the iOS app starting up and authenticating (literally all I have done was point is update the ApiUrlConfig.DefaultHostUrl to point at our Development instance of our API in Azure). However, on android the app fails to load completely, the splash screen comes up, the application stalls, and then it crashs.. I have attached the android device logger, and get the following exception.

Time Device Name Type PID Tag Message 10-12 19:35:23.544 my_device Error 7061 AndroidRuntime android.runtime.JavaProxyThrowable: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: . Path '', line 0, position 0. at Newtonsoft.Json.JsonTextReader.ParseValue () [0x002b3] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.JsonTextReader.Read () [0x0004c] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.JsonReader.ReadAndMoveToContent () [0x00000] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.JsonReader.ReadForType (Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x0004a] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000db] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00054] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.JsonSerializer.Deserialize[T] (Newtonsoft.Json.JsonReader reader) [0x00000] in <d32db49e5e3440729da31845c03ddc3a>:0 at Flurl.Http.Configuration.NewtonsoftJsonSerializer.Deserialize[T] (System.IO.Stream stream) [0x00019] in <aff0d88ab8b34cebbe8ed43b0927d65c>:0 at Flurl.Http.FlurlHttpException+<GetResponseJsonAsync>d__81[T].MoveNext () [0x000ef] in <aff0d88ab8b34cebbe8ed43b0927d65c>:0 `

Again, all I have done to the code that is downloaded from the template is update ApiUrlConfig.DefaultHostUrl to point to our dev API instance in azure, and the code works fine on the iOS emulator.

Is there a specific Android SDK I should be building to ( I have tried, P & 8.1)

Thanks Josh

The Android Emulator can hit the service just fine.. I triple checked all the networking... I tried to use fiddler as a proxy to get some data on the actual request but that failed.. I am not sure if it failed for the same reasons since we have SSL on..

I haven't tried a physical device yet, but there are no signs as to why this would fail in the emulator.

That is the first thing I changed, in fact its the ONLY thing I changed in the codebase (see first comment). I am pointing at a deployed development URL that is in Azure and feeds our dev release of our Web UI and works with the iOS build of the exact same soursecode.

Yah just tested on my S9 and it failed the same way.. Here are all the log entries under "MonoDroid"

Are these tickets private? If so, I can send you the URL to our Dev azure deployment.

Time Device Name Type PID Tag Message 10-15 10:03:40.196 Samsung SM-G960U Info 15785 MonoDroid --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_0 (System.Object state) [0x00000] in <43dbbdc147f2482093d8409abb04c233>:0 at Android.App.SyncContext+<>c__DisplayClass2_0.<Post>b__0 () [0x00000] in <4d996bab56b14864b2a1299fea73b3fe>:0 at Java.Lang.Thread+RunnableImplementor.Run () [0x00008] in <4d996bab56b14864b2a1299fea73b3fe>:0 at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00009] in <4d996bab56b14864b2a1299fea73b3fe>:0 at (wrapper dynamic-method) System.Object.18(intptr,intptr) 10-15 10:03:40.196 Samsung SM-G960U Info 15785 MonoDroid --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <43dbbdc147f2482093d8409abb04c233>:0 at Syngin.RTS.Activities.SplashActivity+<OnResume>d__0.MoveNext () [0x0007b] in <81689b0bde434743ba2272f98376898d>:0 10-15 10:03:40.196 Samsung SM-G960U Info 15785 MonoDroid --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <43dbbdc147f2482093d8409abb04c233>:0 at Syngin.RTS.Activities.SplashActivity+<CheckInternetAndStartApplication>d__2.MoveNext () [0x0009e] in <81689b0bde434743ba2272f98376898d>:0 10-15 10:03:40.196 Samsung SM-G960U Info 15785 MonoDroid --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <43dbbdc147f2482093d8409abb04c233>:0 at Syngin.RTS.Activities.SplashActivity+<StartApplication>d__3.MoveNext () [0x00063] in <81689b0bde434743ba2272f98376898d>:0 10-15 10:03:40.196 Samsung SM-G960U Info 15785 MonoDroid --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <43dbbdc147f2482093d8409abb04c233>:0 at Syngin.RTS.ViewModels.Base.UserConfigurationManager+<GetIfNeedsAsync>d__3.MoveNext () [0x0007d] in <be352c513f15486dad9f33a372f370ea>:0 10-15 10:03:40.196 Samsung SM-G960U Info 15785 MonoDroid --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <43dbbdc147f2482093d8409abb04c233>:0 at Syngin.RTS.ViewModels.Base.UserConfigurationManager+<GetAsync>d__4.MoveNext () [0x000e9] in <be352c513f15486dad9f33a372f370ea>:0 10-15 10:03:40.196 Samsung SM-G960U Info 15785 MonoDroid --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <43dbbdc147f2482093d8409abb04c233>:0 at Syngin.RTS.Core.Threading.WebRequestExecuter+<Execute>d__01[TResult].MoveNext () [0x0042d] in <be352c513f15486dad9f33a372f370ea>:0 10-15 10:03:40.196 Samsung SM-G960U Info 15785 MonoDroid --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <43dbbdc147f2482093d8409abb04c233>:0 at Syngin.RTS.Core.Threading.WebRequestExecuter+<HandleException>d__21[TResult].MoveNext () [0x00263] in <be352c513f15486dad9f33a372f370ea>:0 10-15 10:03:40.196 Samsung SM-G960U Info 15785 MonoDroid --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () [0x00000] in <43dbbdc147f2482093d8409abb04c233>:0 at Syngin.RTS.Core.Threading.WebRequestExecuter+<HandleFlurlHttpException>d__81[TResult].MoveNext () [0x0009c] in <be352c513f15486dad9f33a372f370ea>:0 10-15 10:03:40.196 Samsung SM-G960U Info 15785 MonoDroid --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () [0x00000] in <43dbbdc147f2482093d8409abb04c233>:0 at Syngin.RTS.Core.Threading.AbpExceptionHandler+<HandleIfAbpResponseAsync>d__0.MoveNext () [0x0006c] in <be352c513f15486dad9f33a372f370ea>:0 10-15 10:03:40.196 Samsung SM-G960U Info 15785 MonoDroid Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: . Path '', line 0, position 0. at Newtonsoft.Json.JsonTextReader.ParseValue () [0x002b3] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.JsonTextReader.Read () [0x0004c] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.JsonReader.ReadAndMoveToContent () [0x00000] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.JsonReader.ReadForType (Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x0004a] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000db] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00054] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <d32db49e5e3440729da31845c03ddc3a>:0 at Newtonsoft.Json.JsonSerializer.Deserialize[T] (Newtonsoft.Json.JsonReader reader) [0x00000] in <d32db49e5e3440729da31845c03ddc3a>:0 at Flurl.Http.Configuration.NewtonsoftJsonSerializer.Deserialize[T] (System.IO.Stream stream) [0x00019] in <aff0d88ab8b34cebbe8ed43b0927d65c>:0 at Flurl.Http.FlurlHttpException+<GetResponseJsonAsync>d__81[T].MoveNext () [0x000ef] in <aff0d88ab8b34cebbe8ed43b0927d65c>:0

Thanks Josh

Confirmed it fails on http as well as https so its not https :(...

Again this is a website that can be hit by anyone on the planet including the mobile device.

Info sent.. Thanks

Josh

Here is a build log if this is useful.. There are a couple of assembly conflicts that things are building despite of, I am not sure I am used to seeing those on most of my other work so maybe they are related? anyway... Let me know what else might be worth looking into.

1>------ Build started: Project: Syngin.RTS.Application.Client, Configuration: Debug Any CPU ------ 1>C:\repos\Syngin\RTS\aspnet-core\src\Syngin.RTS.Application.Client\Syngin.RTS.Application.Client.csproj : warning NU1701: Package 'modernhttpclient 2.4.2' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. 1>Syngin.RTS.Application.Client -> C:\repos\Syngin\RTS\aspnet-core\src\Syngin.RTS.Application.Client\bin\Debug\netstandard2.0\Syngin.RTS.Application.Client.dll 1>Done building project "Syngin.RTS.Application.Client.csproj". 2>------ Build started: Project: Syngin.RTS.Mobile.Shared, Configuration: Debug Any CPU ------ 2>C:\repos\Syngin\RTS\aspnet-core\src\Syngin.RTS.Mobile.Shared\Syngin.RTS.Mobile.Shared.csproj : warning NU1701: Package 'Microsoft.Bcl 1.1.6' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. 2>C:\repos\Syngin\RTS\aspnet-core\src\Syngin.RTS.Mobile.Shared\Syngin.RTS.Mobile.Shared.csproj : warning NU1701: Package 'Microsoft.Bcl.Async 1.0.165' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. 2>C:\repos\Syngin\RTS\aspnet-core\src\Syngin.RTS.Mobile.Shared\Syngin.RTS.Mobile.Shared.csproj : warning NU1701: Package 'modernhttpclient 2.4.2' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. 2>C:\repos\Syngin\RTS\aspnet-core\src\Syngin.RTS.Mobile.Shared\Syngin.RTS.Mobile.Shared.csproj : warning NU1701: Package 'PCLStorage 1.0.2' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. 2>C:\repos\Syngin\RTS\aspnet-core\src\Syngin.RTS.Mobile.Shared\Syngin.RTS.Mobile.Shared.csproj : warning NU1701: Package 'Xam.FormsPlugin.Iconize 1.0.10' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. 2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(2110,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "ImageCircle.Forms.Plugin.Abstractions". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. 2>Controls\HideableToolbarItem.cs(10,60,10,172): warning CS0618: 'BindableProperty.Create<TDeclarer, TPropertyType>(Expression<Func<TDeclarer, TPropertyType>>, TPropertyType, BindingMode, BindableProperty.ValidateValueDelegate<TPropertyType>, BindableProperty.BindingPropertyChangedDelegate<TPropertyType>, BindableProperty.BindingPropertyChangingDelegate<TPropertyType>, BindableProperty.CoerceValueDelegate<TPropertyType>, BindableProperty.CreateDefaultValueDelegate<TDeclarer, TPropertyType>)' is obsolete: 'Create<> (generic) is obsolete as of version 2.1.0 and is no longer supported.' 2>Controls\CardView.cs(14,17,14,29): warning CS0618: 'Frame.OutlineColor' is obsolete: 'OutlineColor is obsolete as of version 3.0.0. Please use BorderColor instead.' 2>Syngin.RTS.Mobile.Shared -> C:\repos\Syngin\RTS\aspnet-core\src\Syngin.RTS.Mobile.Shared\bin\Debug\netstandard2.0\Syngin.RTS.Mobile.Shared.dll 2>Done building project "Syngin.RTS.Mobile.Shared.csproj". 3>------ Build started: Project: Syngin.RTS.Mobile.Droid, Configuration: Debug Any CPU ------ 3>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(2110,5): warning MSB3277: Found conflicts between different versions of "Microsoft.CSharp" that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed. 3>C:\repos\Syngin\RTS\aspnet-core\src\Syngin.RTS.Mobile.Droid\Renderer\CropViewRenderer.cs(12,5,128,6): warning CS0618: 'PageRenderer.PageRenderer()' is obsolete: 'This constructor is obsolete as of version 2.5. Please use PageRenderer(Context) instead.' 3> Syngin.RTS.Mobile.Droid -> C:\repos\Syngin\RTS\aspnet-core\src\Syngin.RTS.Mobile.Droid\bin\Debug\Syngin.RTS.Xamarin.Android.dll 3> ** No way to resolve conflict between "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" and "mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e". Choosing "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" arbitrarily.**

4>Starting deployment to Samsung SM-G960U ... 4>Deploying to Samsung SM-G960U ... 4>Build started. 4>Project "Syngin.RTS.Mobile.Droid.csproj" (Install target(s)): 4>C:\Program Files\Java\jdk1.8.0_172\bin\keytool.exe -list -alias androiddebugkey -storepass android -keypass android -keystore "C:\Users\joshh\AppData\Local\Xamarin\Mono for Android\debug.keystore" 4>C:\Program Files (x86)\Android\android-sdk\build-tools\25.0.3\zipalign.exe 4 "C:\repos\Syngin\RTS\aspnet-core\src\Syngin.RTS.Mobile.Droid\obj\Debug\MonoAndroid90\android\bin\com.Syngin.RTS.Mobile.apk" "bin\Debug\com.Syngin.RTS.Mobile-Signed.apk" 4>C:\Program Files\Java\jdk1.8.0_172\bin\java.exe -jar "C:\Program Files (x86)\Android\android-sdk\build-tools\25.0.3\lib\apksigner.jar" sign --ks "C:\Users\joshh\AppData\Local\Xamarin\Mono for Android\debug.keystore" --ks-pass pass:android --ks-key-alias androiddebugkey --key-pass pass:android --min-sdk-version 15 --max-sdk-version 28 C:\repos\Syngin\RTS\aspnet-core\src\Syngin.RTS.Mobile.Droid\bin\Debug\com.Syngin.RTS.Mobile-Signed.apk 4>Done building project "Syngin.RTS.Mobile.Droid.csproj". 4>Build succeeded. 4>Deployment was successful to Samsung SM-G960U. ========== Build: 3 succeeded, 0 failed, 2 up-to-date, 0 skipped ========== ========== Deploy: 1 succeeded, 0 failed, 0 skipped ==========

Wow, what a find! That fixed it for me... Thanks!.

Answer

I checked the download area and my project only shows the 5.6.2 download, there is no option to upgrade..

what is the process to upgrade a current project to a new version?

Showing 1 to 10 of 19 entries