Connection to Website possible in Chrome App but not in standalone app - advanced-rest-client

I am testing links from a server which is only reachable via a VPN.
The test runs perfectly in the chrome app, but when I run it in the standalone app, I get the message:
The requested URL can't be reached
The service might be temporarily down or it may have moved permanently to a new web address.
Connection closed without sending a data
Does anyone knows why this is happening and how I could possibly solve it?
I have the latest release of the chrome app and standalone app and I am using a Windows 10 64bit machine.

Related

App server stopped responding 10054 (Google Cloud)

I have deployed an app on gcloud and used to work regularly, then suddenly when I send request to it I receive this error:
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))
It happened before and then I created another Project and deployed the app and it worked, Now, when I do this, it is not working.
I also tried to disable the app and then enable it, but no use,
I tried to make manual or basic scaling, but no use.
I read that I may wait and run the app later as it is a problem of the cloud server. I ran the app later and it worked. Now it is not working again. What should I do to solve the issue?

Cordova app cannot see web server

Ionic Framework version 1.4.0-alpha.5
Cordova version 3.5.0-0.2.4
Windows 7 64 bit
Nexus 5 running Android 5
I have an Ionic Framework app that accesses a web API. This Web API is hosted at 192.168.0.10 (my development machine). For whatever reason I am getting nothing but 404 errors when trying to access this server via $http.
If I access 192.168.0.10 from my PC, it works as expected.
If I access 192.168.0.10 from chrome on my mobile phone, it works as expected
If I access 192.168.0.10 from the Ionic/Cordova app on my phone I see 404 errors via the web view inspector utility of the ADB chrome plugin.
When I change the remote web server address to the live URL ( e.g. https://my.server.com/ ) it works as expected.
I have added 192.168.0.10 to my access rights in config.xml
This used to be fine in the past, but not it doesn't work... and I am stumped! Anyone have any ideas?
UPDATE I've tried accessing 192.168.0.10 from a brand new test app and it works as expected, I can only assume at this stage it's something to do with a plugin...

Angular/Breeze app connecting to Web API throws "Access Denied" error on IE11

The Application
In short, the application surfaces data from a backend onto a web page. The client application is a Single Page Application made using AngularJS. It calls an ASP.NET Web API service located on a different domain to retrieve the data. I utilize BreezeJS on both the client application and the web service to manage this data. The client is hosted on a SharePoint Online site, and the service is hosted on IIS7.
The Error
I encounter an "Access is Denied" error when AngularJS attempts to make an XMLHttpRequest.open() call targeting this web service. However, though this seems like a simple CORS issue, it has some peculiarities which have me stumped:
Foremost, this error only occurs when using Internet Explorer 11 (or a previous version). When the application is viewed in Chrome or Firefox, it can connect and retrieve data from the service.
The web service is configured to accept the calling origin.
No network traffic is detected either by the native IE development tools or by Fiddler.
Specifically, the line: xhr.open(method, url, true); of the angular.js file throws this error.
Does anyone have any insight as to why this error occurs?
Also, if more specific details are needed I certainly can provide them. I'm not even sure where the issue might be coming from and I don't want to dump tons of irrelevant lines of code.
I think that this is due to using "localHost", i.e when attempting to access a resource in the "Local intranet" zone from an origin in the "Internet" zone.
See: Access denied in IE 10 and 11 when ajax target is localhost
This is not just a localhost issue as previously suggested. I have a production AngularJS application that is trying to POST to a public Web API 2 on a different domain. IE11, Chrome, and Firefox work without a hitch when the site is accessed externally. When accessing from a subnet that can talk directly to those servers, I get Access Denied and IE doesn't even send the request (Chrome and Firefox work flawlessly, of course. One workaround (I refuse to call this a fix) is to add the site as a Trusted Site in IE11. Even when the security settings for Internet mirror the settings for Trusted Site, I get access denied. I have to add the site on each internal IE system to gain access.

ssl, silverlight, wcf and local install

I'm trying to get a silverlight program to install locally and still be able to access wcf data services over ssl. When I run the application in browser, everything works fine. When I run the application out of browser without ssl everything works fine. When I run the application OoB with ssl, I get a "Not Found" error. When I run fiddler and retry, everything works fine. I'm guessing that the program isn't correctly decrypting or sending the ssl traffic when OoB since when fiddler does it for it, the application works fine. I'm also not hitting any exceptions or break points on the server when I attach VS to it (this makes me think there is a problem with the send). Any ideas on what my next step should be? Also, I am using a self signed certificate, could this be an issue? THANKS!
Has anyone found a resolution for this issue? Or does silverlight just not work with SSL in OOB mode??
See this link for reference:
http://msdn.microsoft.com/en-us/library/dd920295(v=vs.95).aspx
basically it says:
Client certificates are supported by the browser stack, but not by the
client stack. And there is currently an issue that (at least for our
application) prevents client certificates from working even with the
browser stack if you're in trusted out-of-browser mode.

Silverlight 5 trust application issue

In silverlight5 beta, it supports trust application which allows loading local files. I tried and it works fantastic in both OOB and in browser mode. One question is that, when put my cap on the server, it works fine in OOB mode but doesn't work in browser. I think debugging locally and deployment is different. Is there a way to request the trust in browser as I tried locally?
Thanks,
Howard 
There are a number of steps needed:-
The XAP needs to be signed using a code-signing certificate
Then on the client machine
A tweak to the registry on the client machine that needs to run a trusted app inbrowser
The code signing certificate then needs to be installed on the client machine.
Those last two in a real world deployment would be configured using a Group Policy.
See the Beta document topic How to: Enable Trusted Applications to Run Inside the Browser.

Resources