adrnsoh / websmsdroid

Automatically exported from code.google.com/p/websmsdroid
0 stars 0 forks source link

fishtext:FAILURE:HTTP error #771

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Cannot send SMS using Fishtext connector - see error message 
"fishtext:FAILURE:HTTP
2.Cannot retrieve balance even when refreshing - same error as above
3. Reinstalling WebSMS and Fishtext connector do not solve the problem

What is the expected output? What do you see instead?
Last Thursday stopped being able to send SMS messages through the Fishtext 
connector. Log in and sending messages is possible through the standard browser 
application and the mobile site. Number and password are correct. Changing the 
password on the website and updating the connector does not solve the problem. 
Reinstalling the connector does not solve the problem. Restarting the phone 
does not solve the problem.

What version of the product are you using? "Last" is not appropriate. Make
sure you tell at least which app you are using. On what operating system?

Using v1.5.2 with WebSMS v4.5.3 updated 01-Jan-13. Using HTC wildfire running 
Android v2.2.1

Please provide any additional information below.

Presume the app is having some problem connecting with the fishtext servers. 
When I log on to the Fishtext website from my phone I get a notification to say 
there is a problem with the security certificate. Perhaps this is causing a 
problem when the app tries to log in?

Original issue reported on code.google.com by Catherin...@gmail.com on 28 Jan 2013 at 12:40

GoogleCodeExporter commented 8 years ago
Issue 770 has been merged into this issue.

Original comment by f...@ub0r.de on 28 Jan 2013 at 7:19

GoogleCodeExporter commented 8 years ago

Original comment by f...@ub0r.de on 28 Jan 2013 at 7:19

GoogleCodeExporter commented 8 years ago
I'm quite certain this is a certificate error, as https://www.fishtext.com has 
a new ssl certificate as of 19th January.

This does not seem to affect new versions of Android, as it (at least) works on 
Android 4.2 for me here. The reports on the issue tracker here are both for 
Android 2.2.1. I got a few more reports via email and have followed up to see 
what version they are running.

I need to add the fingerprint for the new fishtext certificate as a known 
fingerprint so it will be automatically accepted.

Original comment by fint...@gmail.com on 28 Jan 2013 at 10:47

GoogleCodeExporter commented 8 years ago
The SHA1 fingerprint that needs to be known/automatically accepted is:
"5F:24:86:FC:CD:00:2A:92:65:47:50:91:2A:AE:D7:6C:D2:61:C4:83"

Original comment by fint...@gmail.com on 28 Jan 2013 at 10:52

GoogleCodeExporter commented 8 years ago
Thank you . This could also be solved by trusting all SSL certificates when 
instantiating HttpResponse. Why isnt that a good idea?

By the way, do you know where I can add this fingerprint?

Have a great week

Original comment by luisribeirorosa on 28 Jan 2013 at 11:14

GoogleCodeExporter commented 8 years ago
Issue 772 has been merged into this issue.

Original comment by f...@ub0r.de on 29 Jan 2013 at 6:59

GoogleCodeExporter commented 8 years ago
I am also having this same problem 'fishtext:FAILURE:HTTP' since last friday 
and I guess its not a surprise that my Android version is (2.2.1)! I have tried 
everything possible but with no luck!

I would be the happiest man on earth if this problem is resolved urgently!

Thanking you in advance

Original comment by rom2...@gmail.com on 29 Jan 2013 at 3:53

GoogleCodeExporter commented 8 years ago
Yesterday I downloaded the source and compiled this connector. 
replace the following code
        // final HttpResponse response = Utils.getHttpClient(url, null,
        // postData,
        // ConnectorFishtext.USER_AGENT, referrer,
        // ConnectorFishtext.ENCODING, false);
with 

        Utils.HttpOptions options = new Utils.HttpOptions(
                ConnectorFishtext.ENCODING);
        options.url = url;
        options.addFormParameter(postData);
        options.referer = referrer;
        options.userAgent = ConnectorFishtext.USER_AGENT;
        options.trustAll = true;

        final HttpResponse response = Utils.getHttpClient(options);

so basically trusts all certificates. This is a temporary solution because it 
means someone could setup a fake server, but Im not worried about that :).
If you dont have the skills to change this, I can send you the apk by email 
which will work. The permanent solution is to add the finger print to a 
keystore of trusted certificates, but I dont know where that is, found this 
solution easier :)

Original comment by luisribeirorosa on 29 Jan 2013 at 4:55

GoogleCodeExporter commented 8 years ago
An (intermediate)  solution is adding the fingerprint to the known good certs 
in the connector.
There is an issue for this too. 

Original comment by f...@ub0r.de on 29 Jan 2013 at 6:10

GoogleCodeExporter commented 8 years ago
Thanks for your reply luisribeirorosa

I'm a novice when it comes to these things and would like to use your method.

I would be extremely grateful if you would send me the APK by email.

Thanking you in advance

Original comment by rom2...@gmail.com on 30 Jan 2013 at 11:41

GoogleCodeExporter commented 8 years ago
Having the same problem with Android 2.2.2

Could you send me the APK by email, as this is the only way I can Text my wife 
in Gambia.

Thanks luisribeirorosa.

Original comment by jsdl22...@gmail.com on 30 Jan 2013 at 5:40

GoogleCodeExporter commented 8 years ago
I finally got a chance to implement the fix. There's not much to it, just added 
the ssl cert fingerprint as known (i.e. trusted).

It works for me in testing (i.e. failed on 2.2 emulator without fix, worked 
with fix), but if some of you could test it on real 2.2 devices. You can 
download it here: https://dl.dropbox.com/u/5792984/websms-connector-fishtext.apk

Original comment by fint...@gmail.com on 2 Feb 2013 at 5:19

GoogleCodeExporter commented 8 years ago
Working for me on 2.2.1, thanks for the fix!

Original comment by Catherin...@gmail.com on 2 Feb 2013 at 7:44

GoogleCodeExporter commented 8 years ago
Btw: you can attach files to comments. 

Original comment by f...@ub0r.de on 2 Feb 2013 at 10:06

GoogleCodeExporter commented 8 years ago
Hi,

downloading from dropbox to phone, install starts but breaks. This is
Android 2.2 ...

Do i have to deinstall first?

Original comment by mattiw...@googlemail.com on 4 Feb 2013 at 9:47

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
i have the same issues as the topic starter. the fix did not help. hopefully 
they will fix this soon.. thx

Original comment by cassi...@gmail.com on 8 Feb 2013 at 11:24

GoogleCodeExporter commented 8 years ago
I also run Android 2.2 and can't send, nor see the balance. Fishtext works via 
the webpage but with Websms I get the "not trusted server certificate" even 
after installing the recommended apk as pr #12 above. I have cleared caches and 
reinstalled both Fishtext and Websms several times. I also get an "update 
available" message but Playstore says it is the latest version.
Is there an old version available as apk? 

Original comment by richard...@gmail.com on 23 Feb 2013 at 10:19

GoogleCodeExporter commented 8 years ago
Hi,

Is it possible to update the connector version via PlayStore ?

Many Thanks

Original comment by NRhy...@googlemail.com on 24 Feb 2013 at 11:30

GoogleCodeExporter commented 8 years ago
This worked for me.
I had to uninstall the old fishtext connector, allow installation of non-Market 
applications in my settings then download and install the new one from the 
dropbox link above.
Many thinks :-D

Original comment by clairepr...@gmail.com on 4 Mar 2013 at 12:05

GoogleCodeExporter commented 8 years ago
thanks guys I have also uninstalled the old fishtext connector, allowed 
installation of non-Market applications in my settings then download and 
install the new one from the dropbox link above.
 it now works fine. -:)

Original comment by ekitw...@gmail.com on 7 Mar 2013 at 12:45

GoogleCodeExporter commented 8 years ago
Nothing suggested above worked for me. Shame after using Websms for so long. 
Have now switched to SMSoIP app which works fine with Fishtext. 

Original comment by r...@robinhoodfinance.co.uk on 25 Mar 2013 at 11:36

GoogleCodeExporter commented 8 years ago
Hello,

I have this problem : fishtext:FAILURE:HTTP and I tried 
everything.Install/Uninstall Fishtext, Install/Uninstall Websms, I wrote to 
Fishtext, they said Websms must resolve it, so I can notsend  anymore any sms.
My Telefon is a ZTE-Blade, Android 2.2

Thank you very much for your help !

Original comment by schweini...@gmail.com on 3 Oct 2014 at 2:17

GoogleCodeExporter commented 8 years ago
look above, the solution is installing the version included in the dropbox link 
, not the one in market.download to phone and install.you might have to enable 
install from unknown sources.

Original comment by luisribeirorosa on 3 Oct 2014 at 2:55