SSL Troubles - Glass Q&A

I recently tried developing an app, and I've worked past a ton of problems already, but now that I'm trying to connect it to the internet it can't talk to the APIs I want to use because of cert errors. I'm guessing this is a problem people have seen and worked around on other devices, was wondering if there was an easy way to work around the problem.

Related

[Q] WPA2 Enterprise?

So last semeester my nexus had no problem connecting to my schools WPA network. But now all the sudden i cant connect. My laptop connects just the same as it always did (so i dont think its an issue with the network) has anyone had an troubles with WPA2 Enterprise recently? I have been flashing a few roms lately, but it didn't work on CM6 or Enothmers.
Ok so after doing some reasearch it appears that this is something that the Froyo update broke. This is very aggrivating not being able to connect. My schools network is 802.1x EAP and I cant connect to it after the Froyo update. This is BS. Anyone have this and solve it?
I've *never* gotten on my work Wifi..
Hidden SSID
802.1x
EAP=TTLS
auth=PAP
It just never sees the network as the above which I've set... When it does see the network, it thinks it's WEP.
yeah, im not sure what the heck happened in the Froyo update but no matter what settings i put it too. I know my password and user is correct because I am using the same login on my laptop (and yes we can login multiple times)
Ok so there is an Issue on googles website devoted to this topic here:
http://code.google.com/p/android/issues/detail?id=1386 for anyone having this issue (or would like to add a comment anyway to support people who are) please post here
Blueman101 said:
yeah, im not sure what the heck happened in the Froyo update but no matter what settings i put it too. I know my password and user is correct because I am using the same login on my laptop (and yes we can login multiple times)
Click to expand...
Click to collapse
BTW in my case I wasn't clear; I've never gotten it to work on Eclair or Froyo. Same exact behavior. So are you saying this worked for you before, but not now? Odd... Must be slightly different configuration than mine, or that bug post..
And yes, that post is the one.. Now that I've finally rooted my phone, maybe I'll try tweaking some files per that bug...
supposidly CM6 RC3 has a fix for this, but I havent gotten around to checking yet, if you do find a non rom dependent fix please let me know (i dont use CM).
Blueman101 said:
supposidly CM6 RC3 has a fix for this, but I havent gotten around to checking yet, if you do find a non rom dependent fix please let me know (i dont use CM).
Click to expand...
Click to collapse
Well, the bug you logged has wpa_supplicant configuration which people say should work, it (AFAIK) is not ROM dependent, but does require root of course.
I might try this today and see what happens. Unfortunately i'll still be stuck here at work as all external connections require a (non-transparent) proxy to work, and Android doesn't handle that well either, but there are some things I'd like to be able to do internally if I needed to, such as IM or hitting an internal web page.

[Q] Android DEBUG Tool??? - Question for DEVS

Is there a way to analyze what is wrong with someone's ROM and fix it without having to abandon the ROM to a different one, or waiting forever for someone else to maybe fix it? I've had to go to quite a few different ROMs as of late to get the functionality that I'm looking for because things didn't work with many ROMs, they had things broken. I would rather just learn how to fix them and then even post a fix for everyone. Devs, is this possible or would this only be something that the ROM COOK could do? Two recent examples include:
1. USB Tethering connecting to my PC, giving my PC a LAN IP, but not being able to get anywhere on my PC while my phone is still able to surf.
2. Bluetooth AD2P hiccups.
Then also add more functionality, like EPST functionality in Froyo and Gingerbread.
I've done a bit with logcat but as of yet is difficult for me to understand. I've successfully used debugging tools on Windows however in order to fix problems with applications that were hanging up on bad files, dlls, etc.. Was hoping I could learn how to do it with Android. Any help is appreciated.
petermg said:
Is there a way to analyze what is wrong with someone's ROM and fix it without having to abandon the ROM to a different one, or waiting forever for someone else to maybe fix it? I've had to go to quite a few different ROMs as of late to get the functionality that I'm looking for because things didn't work with many ROMs, they had things broken. I would rather just learn how to fix them and then even post a fix for everyone. Devs, is this possible or would this only be something that the ROM COOK could do? Two recent examples include:
1. USB Tethering connecting to my PC, giving my PC a LAN IP, but not being able to get anywhere on my PC while my phone is still able to surf.
2. Bluetooth AD2P hiccups.
Then also add more functionality, like EPST functionality in Froyo and Gingerbread.
I've done a bit with logcat but as of yet is difficult for me to understand. I've successfully used debugging tools on Windows however in order to fix problems with applications that were hanging up on bad files, dlls, etc.. Was hoping I could learn how to do it with Android. Any help is appreciated.
Click to expand...
Click to collapse
If you don't understand what the logcat is telling you, you will have a hard time writing any code for a fix. Might want to invest in a "linux for dummies" book and start there. I think there is even a book like that for android programming out now, iirc...
nandroids are for
sissies
Redundant posts cleaned out.

[Q] VPN options on a D3 with CM9

I'm running Hash's ICS on my D3, and can't seem to do anything with any VPN connections. On MavROM 3.5, I was able to make un-encrypted PPTP connections, because for some reason, MPPE support is missing in the Kernel. I know what an absolute pain in the neck getting a PPTP server up and working on Linux can be, so I can't imagine what a pain getting it running on Android is like.
Has anyone been able to make any kind of VPN connection on their D3 with a CM9 based ROM? I have yet to hit my logs, and start capturing packets, but before I did, I wanted to see if its even possible, since having a locked bootloader makes things a little tougher..
Anyone have anything for this? 3rd party options? This is one area where the iPhone just works, and I have had a hell of a time getting various Android flavors connected to our VPN. Either PPTP or L2TP. It's just not as easy as an iPhone or iPad.
This is certainly been a decision factor for Tablet provisioning for our sales guys. One guy did buy his own Android tablet, and just can't get the VPN working, where all of our iPad's work without modification.
I hear crickets chirping...
I've been searching for months.. I have found no viable fix for VPN on either CM7 or CM9, and from what I've found it's an upstream issue in Android itself. Only solutions I've found connect to other service providers to provide anonymity. i have not tried paid solutions.
Not sure if this is an option, but OpenVPN works flawlessly. Unless you strictly require a PPTP/L2TP solution, try it out. I've got an OpenVPN server running on my router at home so I can connect from my phone at any time and have quasi-LAN access to my home network, comes in really handy. Not to mention it's a billion times more configurable than either of the built-in (and outdated) VPN types.
Android has never been known for its VPN compatibility, surprisingly enough. You'd think it would be a major focal point in terms of customer requirements, but I guess it's sort of slipped through the cracks.
Nevertheless, try searching the Market (or Play, whatever they've called it now) for OpenVPN Installer and OpenVPN Settings, the first app does what you'd think and the second is where you initialize and configure your connections.

[Q] SGH-T599N Network Mods?

I've had the SGH-T599N since October, and, coming from the Samsung Admire with all its roms and mods and support, I've found having this phone to be, well, not as great.
My 2 main gripes with using internet on this phone, are that some sites I go to just don't quite work right with however MetroPCS/T-Mobile has their network setup, which I'll sort of elaborate on, and as of late, the, for lack of better phrasing, the peaking and subsequent slowdown of my internet speeds.
I'll start with the latter, since it's easier to explain, and because I tend to ramble, I'll state the question again before explaining:
1. Is there any way I can mod this phone to bypass automatic network speed capping?
I have MetroPCS's unlimited 4G plan, which ran at satisfactory speeds always at hundreds of KB/s until recently, which I assume is due to my speeds being capped out of over-usage. Considering I use USB tethering daily, this is not shocking. The thing is, I could get around that with my Samsung Admire thanks to this mod: http://androidforums.com/admire-all-things-root/563714-mod-data-governor-remover.html and by extension, this mod: http://forum.xda-developers.com/showthread.php?t=888372
Considering that was a 2.3.4/Gingerbread OS phone, this is a 4.1.2 phone, and I've looked around both of these forum sites long enough to know not to do any phone modding without extensive research and to wait for the bugs to be sorted out by others, I dare not even get my hopes up about being able to do that with this phone unless there's a confirmed forum post saying I can. Before that, I also found ways around the limits of my 3G network area that's bogged down by the sheer number of users, as thanks to QPST, but falls under the same situation. I don't even want to try modifying the build.prop, much less those deeper settings on my own for risk of breaking/bricking the one and only phone I have and still need to have functioning fully for many more months. So far, I've only gotten around all this by turning my phone and maybe the mobile network on and off, because the slowdown lock takes a couple minutes of use to kick in.
2. Can I change the network settings of this phone in a productive/significant manner, via APN changing, QPST, ROMs, or other such mods?
I've done all of these before on my Admire without any permanent errors. I found that APN Manager Pro is too outdated for this OS, and have yet to try similar APN programs for risk of permanent network damage. I cannot currently recall any significant mention of using QPST on this phone, or even this OS, so I've not tried that. The only ROMs I know of are Unjustified Dev's, both of which break the video camera functionality, which I have to have working. The only thing I've even done to this phone is root it and put ClockWorkMod from this page http://forum.xda-developers.com/showthread.php?t=2421743. I haven't even bothered with the odexed files, bloatware, and such yet because I mostly use this phone as just a camcorder, an internet modem, and of course, a phone.
I wonder about this because it may indirectly solve the first problem, but there's different issues as well...I'll just explain:
Now, I notice that some sites I try to use with this phone simply fail to work as properly as they would if I were using a Wi-Fi network, something that also happened with my Admire. Unfortunately I don't have many examples that I can share for one reason or another other than these following two, which luckily involve big name websites. However, they may or may not prove useless in the end, so I'll put them in spoiler tags to be easily skipped over to go on to the more important part.
When I tried to access Tumblr with my old phone's network, whether I'm on my phone or USB tethering to my laptop, it always refused to let me log in, meaning I had to go to a Wi-Fi network and log in from there first, and then, if I wanted to "ask a question" aka submit a message to any of the blogs/pages I'm following/subscribed to, they would always say that that function is not available "at this time", which basically means forever since it seems to involve some error on Metro's side that'll never be fixed. I know it's not some kind of script error on the browser end, because if I stop the page from loading at the right moment, the text input field would actually display and maybe even work, rather than be dummied out by some eternal error message that doesn't even come up if I were using any other network.
Also, on my current phone, when I try to upload a video to Youtube on an associate's account while tethering to my laptop, it refuses to upload, much less even recognizing that I'm trying to upload, as it stays at 0 percent. This is also circumvented by just using a different internet connection. This does not ever happen when I'm using my own account, however, and I've managed to circumvent by changing the browser's user agent or switching browser completely.
Now, I said that the above two examples may not even be relevant, because these may be issues only I can reproduce. For some sites, I manage to get around the issues with different web browsers and/or user agent or proxy settings, but I sometimes get Gateway Timeout messages and other such unavoidable errors on sites that imply server side problems, but don't come up when I use other internet connections. Because the issues vary from site to site, I'm only asking for a verified method I can test directly on the phone, on my own, to get around these problems.
That's should explain enough of, if not all of the issues I'm having network-wise. It might seem like rambling, but it's better for me to explain it all now than for someone that actually has the answer to come by only to be missing one crucial bit of info. In case it is just rambling, to reiterate:
I have the 4.1.2 OS phone SGH-T599N, the Samsung Galaxy Exhibit from MetroPCS, which has been rooted along with CWM, but no other modifications. I'm trying to modify the network settings, and need a confirmed method, not a guess, on how to go about it.
Have you tried using a different browser? Opera will usually do things that chrome/stock can't. There are also YouTube uploader apps out there.
I think that if there was a magic hack to circumvent metro throttling out there it would at least have a sticky.
DevilDogg said:
Have you tried using a different browser? Opera will usually do things that chrome/stock can't. There are also YouTube uploader apps out there.
I think that if there was a magic hack to circumvent metro throttling out there it would at least have a sticky.
Click to expand...
Click to collapse
Firefox, Chrome, Opera, Stock, no matter what browser I use, it fails to load. It's a network problem, not a browser problem. I also don't quite see any such app allowing me to schedule video posting, when even the Youtube app doesn't have this account specific function. What I do see is bunch of Youtube player apps and downloader apps, but no uploaders. Even if there was one with the option, I'd still have to go back to my laptop for it anyway, because there's a lot of information and tags I have to add to the videos, most of which is automatically loaded from Youtube's settings when using a comp, none of which shows up on a mobile.
As for the hack, considering the one I linked worked for me, but not for others, a mod that works only for certain networks isn't really the kind of thing that should be stickied. If this thread turns into a discussion on that, I'll never get a legitimate answer.
Suppose I need to bump this thread, since it got moved, and is over taken by the other threads.

Only SSL connections are loading

TL;DR
Upgraded Android to latest on T-Mobile, only SSL connections load. Also can't send MMS messages. Factory reset after the upgrade, still having issues. No idea what causes it, but rebooting the phone sometimes makes the issues go away for a while (might as well be running Windows). The issues seem to happen at random but all happen at once and don't go away once they start.
I have an odd issue that after a little bit of Googling, I haven't been able to find anything on (outside of app developers forgetting the internet permission in their manifest file). I held off on upgrading my phone from 5.0.1 AOC9 for a long time because I had rooted it right after the release and I just never got around to it when others confirmed they could root newer versions. Everything was working until I decided to use Smart Switch to upgrade from AOC9 to the latest 5.1.1 DOJC. After the upgrade I used Odin to flash TWRP and Unikernel for root and it worked fine for a few hours until I noticed I could no longer send MMS messages (receiving them works perfectly fine). I also noticed certain apps would tell me I had no network connection and I knew this was wrong because apps like Facebook were still working perfectly fine on 4G and my WiFi. Eventually I started clicking links from Facebook and noticed some would load and others wouldn't. It took a few links to notice that anything that wasn't loading over an SSL connection would give the message "This site can't be reached. $SITE refused to connect. ERR_CONNECTION_REFUSED"
After all of those issues started happening I finally got pissed enough to factory reset, forgot about FRP and had to factory reset again using Smart Switch. I flashed TWRP/Unikernel again and I'm right back to having the issues. Has anyone ever come across anything like this before? I'm getting frustrated enough that I might just swap out the sim and use my G3 for a while until I can sort this out. If there is any kind of log I can post that will help I can post that as well. I tried using adb logcat while attempting to open a site that fails, but I didn't see anything that looked useful. Just calls to my keyboard and chrome opening.
EDIT: Completely forgot to try pinging. I am able to ping any normal HTTP site from a terminal emulator. They're all reachable from my phone. I came across a post from a Comcast customer with a similar issue, although not for Android specifically. The work around was to connect to a VPN service, so I also tried this. Still no luck.

Categories

Resources