Ionic Visual Studio Cordova iOS remotebuild ETIMEDOUT - ionic-framework

Trying to get up and running with Ionic on my Windows PC + Mac setup. I ran through the iOS remotebuild setup guide last night and was actually able to get the side menu template app to build and run on the iOS simulator on my mac. This morning I tried again and am constantly getting:
Error: An error occurred uploading to the build server https://mymac.local:3000/cordova: Error: connect ETIMEDOUT
Through searching it seems that everyone who ran into a similar issue was due to proxy settings but I am not using a proxy and it worked last night without any additional configuration.
Things I have tried:
New certificates with remotebuild certificates generate
Every certificate I always see on the mac terminal:
GET /certs/xxxxxx 200 xx.xxx ms - 4250
GET /modules/taco-remote 200 xx.xxx ms -7
so that doesn't seem to be an issue
Restarting the remotebuild server
Using a different port on the remotebuild server
Restarting my Mac
Restarting Visual Studio
Restarting my Windows PC
Starting a new Ionic project
Non-secure (http) mode
I can navigate to http://mymac.local:3000 in a browser and I see:
Remote build Express server open for business on port 3000
I also ran through the troubleshooting guide but nothing matched what I was experiencing which is why I am posting here.

you need check the mac Ip address from network preferences and set this IP address to the visual studio -> tools -> options -> tools for Apache Cordova -> ios configuration.

Related

Building a Flutter web app while being connected to the internet gives me an internal server error.?

When I run my flutter web project in a debug version of Chrome while being connected to internet, I get the following build message:
Launching lib\main.dart on Chrome in debug mode...
Building application for the web...
Attempting to connect to browser instance..
Debug service listening on ws://127.0.0.1:55339/mh67GZ3e4D0=
Which probably means that the website is hosted locally with port 55339.
But the chrome windows is opened with the port 55063 and which is completely blank.
When I try to open "127.0.0.1:55339", which supposedly should open my web project gives me an error:
Internal Server Error
But when I disconnect from Internet and build the project , Project builds successfully and executes perfectly, as in the proper window is opened.
What could possibly go wrong while I am connected to internet, something related to proxy?
How do I build the project while still being connected to internet?
try to run with this command: flutter run --release -d chrome -v

"Error DEP6957 Failed to connect to device using Universal Authentication" when deploying Unity app to Hololens emulator

I've been working in a Unity app with Hololens emulator in Visual Studio 2017 in Windows Pro, and it was working great until last night where I started to get the following issue every time that I try to deploy my application into the Hololens emulator:
Error DEP6957 : Failed to connect to device '[device_ip]' using Universal Authentication. Please verify the correct remote authentication mode is specified in the project debug settings.
I've tried to do the following things without success:
Clean/rebuild solution
Checked 'uninstall/install' checkbox in the UWP project settings
Deleted Hololens virtual machine
Uncheck/check Hyper-v feature (and restart PC after each try)
Restarted computer
No luck. Sometimes, I am able to make it work, but after 30 seconds to 1 minute, the hololens emulator gets frozen and then it closes itself; again, this was working fine until last night, and I have not installed anything different, unless an automatic windows update did something. This happens with all the applications, and they run just fine in the Unity player.
I would appreciate your help on this, I just don't think the only solution is to uninstall/install Visual studio and all its components, it makes no sense, since everything was ok.
Thank you.
UPDATE
I've just noticed that if I connect the laptop to the internet by using an ethernet cable, it works, it only fails in WIFI, have you seen that before? I also have another UWP that I deploy remotely to a raspberry and it also works only with ethernet, but both of them were used to work in wifi? any idea?

DEP6953: Failed to launch remote debugger

My setup
HoloLens
Windows 10 October 2018 Update (10.0.17763.134)
Desktop
Windows 10 Enterprise
Visual Studio Community 2017 Version
Unity 2018.2.19f1 (Latest 7th December 2018 Update)
The Problem
I am unable to deploy any application to the HoloLens, but able to deploy it on hololens-emulator. I'm attempting with the Origami application exported from Unity as in the tutorial.I always get the same error "
DEP6953: Failed to launch remote debugger with the following error:
'Command failed: 0x80070020'
I'm at a loss for what else to try, or what setting I've missed. I've reset the HoloLens several times and reinstalled Visual Studio only to get the same thing.
I have already tried the solution mentioned on Windows Mixed Reality Developer Forum https://forums.hololens.com/discussion/7361/deployment-error-dep6953 but it didn't work for me.
For whom it may be usefull.
I got this error deploying and debugging windows iot on a raspberry pi.
I fixed this by changing the authentication mode to 'none'. then deployment succeeded.
It could be anything. You need to investigate the Hololens logs. Open "Windows Device Portal"/System/Logging.
Then you need to select some providers with severity by choosing them in box and clicking "Enable". I usually begin from "Microsoft-Windows-WinRT-Error" ETW provider.
DO NOT CLOSE THE LOGGING PAGE!!!!!
Start the debugger with app, see the error and go to Logging page. Try to find out the root of issue.

Bootstrapping 'Device' failed WHEN deploying UWP to my device

Hope you can help me out with the following:
I saw that there is a similar if not equal question for this. However this is for Build 10240: Error : DEP6200 : Bootstrapping 'Device' failed. Device cannot be found
This are my specs:
Windows 10 Pro
Version 1511 (OS build 10586.63)
Latest SDK installed
Visual studio 2015
Nokia Lumia 920
Windows 10 Mobile
Version: 1511
OS build: 10.0.10586.63
Surfing on the internet I saw that one of the possible problems is that the IpOverUsbSvc services is not running. In my case that service sometimes is running and some times not when Windows OS has started. In case it's not enable I only start the service.
Even doing that I get the same exact error
Does anyone have a similar problem? or have found a fix or workaround for this?
Just faced the same issue. Tried restarting VS and services and it didnt help. What helped was
Unplug device.
Go to Devices and Printers.
Remove Lumia XXX. This will uninstall the device from your system.
Plug in the device again, and it will work.
MikePR,
All you need to do is,
First approach:
Login to dev center account
Goto Dashboard -> Account Settings -> Unlocked Windows Phone and delete your devices. This will work.
Second Approach:
Plug already registered windows phone device and unregister it.
Now you try the device which is not working and it will work.
Thanks.

Blackberry webview can not connect to internet and/or display a web page

I am creating a simple app using Eclipse and Blackberry JRE 7.0 as per the example given at:
http://docs.blackberry.com/en/developers/deliverables/11958/Configure_a_browser_field_825671_11.jsp
I am trying to load a simple HTML page hosted on a remote server inside browser field in the app.
When running the app on 9930 Simulator I always get the error 'Local connection timeout after 120000 on simulator'. The same remote page shows up fine on the web browser of the same simulator..
I am making sure to start the MDS simulator.
The same link shows up fine in simulator browser. Its only when using browserfield, I am having the problem.
I get the folling error when clicking the icon to launch the app:
Error displaying content for: http://yahoo.com
Error message: java.lang.runtimeException:ApplicationRegistry:wai​tFor
(0xd0fe7d7338fourd7f0d) timeout
....
On waiting further I get the 'Local connection timeout error..
I know that in Android one has to enable internet connection when using the webview in the manifest file - is there any similar setting one has to do in blackberry?
I tried to run the BrowserField demo app on 9930 (JRE 7.0.0) and encounter the same issues as you did. On the other hand, the demo worked fine on 9800 (JRE 6.0.0). I tried again on 9930 and noticed that though I definitely enabled MDS (enabled the 'Launch Mobile Data System Connection Service (MDS-CS) with simulator' in the Run/Debug Configurations in Eclipse), the MDS window didn't appear which seemed very strange.
I googled a little and found this post on BlackBerry's forums. According to this post:
An incorrect version of MDS-CS simulator was included in 7.0. To correct it you can delete it and copy the version from 6.0.
Well done, RIM!
Then, I deleted the MDS folder from JRE 7.0.0 and copied the one from JRE 6.0.0 as described in the aforementioned post. Closed and rerun simulator and voilà, the MDS window appeared. Rerun application, and everything worked like a charm!