Internet works on VPN but doesnt in ethernet connection - wifi

I wanted to ask you what you think about my problem.
My internet connection works just fine while I connect with VPN but it doesnt work, or works extremely slow, while on ethernet. It worked just fine until today a couple hours ago. First, I thought it was a problem with my provider so I called them twice and they said that everything looks okay from us, and then I just spontaneously opened VPN (psiphon3) and tried connecting to the internet and it magically works!
I hope everything is understandable of what my problem is!
Thank you.

If you are on windows, you should check if proxy is disabled.
So go in Internet Options (in search bar or run inetcpl.cpl) → Connections tab → LAN Settings button and disable Proxy server.
Source: https://answers.microsoft.com/en-us/windows/forum/windows_10-networking/cant-open-any-webpage-after-using-psiphon/435d04c4-ca99-4dbd-9897-fa2c1df6775f

Related

Xcode 7 ‘Client unable to connect to server (check UDP port and firewall) (15)’

I can't upload a new build using Xcode7 or Application Loader. It gets stuck on "Verifying assest with Itunes Store", and after a couple of minutes i get the error "Client unable to connect to server (check UDP port and firewall) (15)".
I tried uploading a new build with the Xcode6.4, and it worked. Did they change some port? Any way to fix it? My Mac have the firewall disabled.
Yesterday somehow i could upload a build, i was messing around with the router and other things, but i'm not sure what did the trick.
I was having the very same issue in my company's network because there was a firewall. Contacted with the system admin and we have monitored the process, seen that it was trying to connect over UDP 33001 port but failing, then passing to alternatives. So we have allowed UDP 33001 port, I was able to upload successfully.
The thing is that these numbers might change in the future, as it (most probably) happened when Xcode has changed from 6.4 to 7.0. Take a look at this comment: https://stackoverflow.com/a/6178286/705982
There you will see the ports Application Loader uses. If you can't monitor the upload process, then try to create allow rules for one or some of these ports. You should be good to go.
I just changed network. I changed to another WiFi having another network provider (my phone's internet). That solved my problem. And I was actually using company's network. So I had proxy and thus I think the issue of firewall also came across.

PhoneGap app (for apple) doesn't work

I am new to phonegap and coding so I am unaware as to how to use PhoneGap. First of all what I did was connect my PhoneGap (desktop) app thing to my iPhone PhoneGap developers app. On my iPhone it just says downloading... there is nothing else happening. I then tried using an Android phone to see if it works but it just says
unable to download archive from the server.
unable to properly connect to the server.
I dont know what to do so any help will be appreciated.
This can be caused by many things.
I assume you followed the steps from http://app.phonegap.com/ site:
you have created a phonegap app (at least a sample one using 'phonegap create')
you have a server running (using phonegap desktop or 'phonegap serve' from command line)
There are some things you have to check in order to know what is wrong:
Both the devices must be in the same network to 'see' each other.
The firewall is turned off or allows communication on the port the server is running on (default is port 3000)
Check if your antivirus isn't blocking the same port.
If you still have no connection here is the survey/checklist you should go through. It helps you get closer to the center of the problem you have (points: 7-11).
If that does not help you can always fill an issue (and attach above-mentioned survey) but I strongly recommend reading documentation first

Uploading IOS app to app store. Seems to freeze and internet stop working

In Xcode i have have created an archive of the app. Verified it no problem. then when i click Distribute i get as far as "Your application is being uploaded" and shows the progress bar.
The bar never moves and after a few minutes my internet breaks. i need to restart my router to get the internet back.
one of the times i received this error "SSL error occured and a secure connection to the server cannot be made"
Anyone ever experienced this or have an idea of whats happening?
Thanks
I also faced this problem: "your application is being uploaded stuck"
My ANSWER IS:
Either just delete your derived data from organizer or Instead of uploading via Xcode, try via it using Application Loader.
I choosed via Appplication Loader and Steps to do that are:
Step1: Make .ipa file via Ad-Hoc Deployment by click Distribution button.
Step2: Find from menu bar of Xcode -> Open Developer Tool -> Application Loader.
Step3: Then upload it that .ipa file in Application Loader.
**
OR ANOTHER SOLUTION
**
For uploading it via XCode:
Step1: Firstly Validate your archive file by clicking on validation button of Organiser.
Step2: Then Upload it to App Store via Oraganiser.This way you can also solve this problem as well
THIS IS MY ANSWER . HAPPY TO HELP :):)
apple uses java ?
my mac does not have problem for internet.any application can download/upload.
except xcode's organizer's distribute or application loader blocks whole internet and modem stops working for a temporal time.
it is obvious not a mac problem. but apple's uploading system strategy seems not good.
they gotto fix this.
I've heard of some users having issues if they're running old versions of Java. If you can't update, or if updating doesn't fix it, you can try:
sudo ln -s CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/1.5
sudo ln -s CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0
(other similar workarounds here.)
It could also be an Internet connectivity issue.
Either way, you can also try uploading your app using Application Loader.
I updated my old Java version (from 21 to 51). Is still freezing my Internet.
I validated my archive with Organizer. Is still freezing my Internet.
I tried to upload an IPA with Application Loader. Is still freezing my Internet.
I deleted all my old archives in Organizer. Is still freezing my Internet.
Finally I connected my Mac to Internet through my iPhone's Internet. In resume I connected my Mac to Internet with another provider. This solved my problem
Sounds like my land ADSL provider have some problem with the AppStore.
It will be to do with your firewall on your mac, it may be blocking java all together. Go to settings, security and privacy and then firewall. Once on there go to fire wall options and then there should be an option to allow java to pass through the firewall.
Hope that helps, did with me :)
None of the above suggestions work for me. Likely the real cause is physical and related how Application Loader is using the internet. I have ADSL2 connection with a Netgear modem/router assigning each device at home a fixed IP address according to the mac address of the network interface of each device. I had noticed that when Application Loader is uploading, my Windows PC could not connect to the internet. However, if in Mac mini I use Safari doing various things like watching video, my Windows PC can access internet.
Even stranger, when Application Loader is uploading, the modem/router could easily lost connection to the internet, as I could see from the LED lights of the modem. The connection is lost randomly at any progress of uploading the 20 MB file.
So I had turned off Windows PCs, iPads, iPhones and Android device at home, so Mac mini is the only device using the Internet, the Application Loading has finally been able to upload the app successfully in one go.
My guess is, my home phone line has some noise, and Application Loader is using the internet aggressively particularly the up link, so stressing out the modem, then causing other devices like my Windows PC lost connection, not even able to resolve host. When Safari is uploading video to App Store, no problem.
So my working solution is to make Mac be the only device using the Internet, given that the internet connection is already in poor condition with noise, near the edge of losing connection.
It's very old issue, but in case any of you is still looking for a solution, I stopped using Xcode to upload my apps to the app store. Instead I'm using Transporter (by Apple) and it seems to fix the freezing

A server with the specified hostname could not be found

When I try to submit my app on the App Store through Xcode I got this error.
A server with the specified hostname could not be found.
Is this temporary error at Apple or something to do with Xcode?
Is anyone else facing this problem?
It might be DNS Pollution issue, at least for my case (in China).
If you're also in China or some places that has DNS Pollution issue, you might solve this by modifying the DNS (to 8.8.8.8 as an example) for your Mac as well.
I got this error inner my iPad App & this happens randomly, it's such boring. Keep trying is not a good solution for me, though it might works somehow. Finally, I just changed my Wi-Fi DNS and no more error now. Steps:
Your device, Settings/Wi-Fi
Choose connected Wi-Fi pot
Press DHCP/DNS
Set to 8.8.8.8
In Xcode, select Target -> Capabilities, and check "Outgoing Connections (Client)" to enable App Sandbox.
Keep Trying!
I have had this a few times (including today), and each time, without changing anything, it has worked when I tried again.
Sometimes the 2nd time, other times 20 minutes later.
For me it was an issue with enabling Outgoing connections in Capabilities tab.
If the problem occured in a MacOS project, as #nstein commented in this answer just go to your Target's Signing & Capabilities and allow Incoming and Outgoing network options.
I received A server with the specified hostname could not be found.. I figured out my MacOS app had turned on App Sandboxing. The easiest way to avoid problem is to turn off Sandbox.
That fixed the problem for me, when trying to upgrade to El Capitan:
sudo softwareupdate --clear-catalog
I faced the same problem, it turned out to be VPN related. If you are testing on a device against a corporate network, chances are your Mac has proper VPN set up, but your phone does not. Connect phone to the corporate VPN for your apps deployed to device to see corporate servers.
I restarted my MacBook Pro and then I build again, the error was fixed.
I got this message when the device has mobile data turned on and no wifi connection, but the internet is not properly connected.
Try to connect to a wifi network with an internet connection or turning off the mobile data.
I faced same problem. Actually i face it often. Following three steps work for me always
Change DNS to 8.8.8.8 and 4.2.2.2
Open net.properties and change "# https.proxyPort=443" to "https.proxyPort=80". You can find net.properties here /Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/MacOS/itms/java/lib/net.properties
Open Application Loader->Preferences->Advanced and uncheck Signiant and Aspera. Make sure DAV is checked.
Thants all. Now you can submit app using both application loader and Xcode.
A server with the specified hostname could not be found.
I faced the same problem, In my case it was because of-
Server was not configured properly.
Server subscription has been expired
Contacting to server hosting company resolve my problem.
I think this is not temporary error at apple or something to do with Xcode?
First of all check your internet connection.. go to safari and check by searching something on google(dont try google.com only.. because it can be cached). If it is working fine, then try now in your app. It must work. This is fired while not having proper internet connection.
Just to share my experience
It was caused by the Sharing > Internet Sharing inside System Preferences
I was testing and created NAT64 Network unchecking it solved my problem.
I faced this issue when we changed from one domain to another for API service.
Restarting the network router/modem fixed this issue.
I got this error message when "/" from my URL is missing . Hope this help someone.
ex: actual URL is "https://www.myweb.com/login" .My URL which "https://www.myweb.comlogin" caused this error
Just restart your network router device.
Obs. If it is already has automatic DNS settings.
In my case this was occurring while validating build before upload. Just before that we had server issue.
I tried restart Mac, quit Xcode multiple times, doesn't work. Also try to sign in from organiser but connection was not getting established.
Later from account, I tried sign in and thats done and then validate and build gets uploaded.
For xcode 12.4.1
This is network error, this issue fixed for me with turn off/on my network and run again...
This is just my experience and it's not always true, given that every situation is different and can be fixed in different ways.
Turn off the push notification. Then,Restart your XCode and Turn back ON the Push Notification. It works for me.

Boost.Asio on iPad: resolver fails on a "fresh" 3G connection

I'm using Boost.Asio (Boost 1.46) on iOS(4.3), and I've got the following issue.
When trying to resolve a host name just after 3G connection is established (eg., switch "airplane mode" off and on), I get the following error: "Host not found (authoritative)".
The query looks like this:
tcp::resolver::query query(tcp::v4(), "my.host.com", "9988");
On the other hand, if prior to the above query I open the browser or some other application that connect to the Internet, then the query works correctly.
Moreover, it seems that if I try the above query several times, it succeedes after a while.
Another interesting point: all the above occurs with 3G connection only, while with WiFi everything works well. And we couldn't reproduce this on iPhone.
What's could be the reason of such a weird behavior?
Thanks.

Resources