blockard / google-voice-java

Automatically exported from code.google.com/p/google-voice-java
0 stars 0 forks source link

java.io.IOException: Answer did not contain rnr_se! #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Security.setProperty("ssl.SocketFactory.provider", 
"com.ibm.jsse2.SSLSocketFactoryImpl");
      Security.setProperty("ssl.ServerSocketFactory.provider", "com.ibm.jsse2.SSLServerSocketFactoryImpl");
2. private void registerMyHostnameVerifier()
          {
          javax.net.ssl.HostnameVerifier myHv = new javax.net.ssl.HostnameVerifier()
          {
          public boolean verify(String hostName,javax.net.ssl.SSLSession session)
          {
          return true;
          }
          };
          javax.net.ssl.HttpsURLConnection.setDefaultHostnameVerifier(myHv);
          }
3.  Voice   moVoice = new Voice("user@gmail.com", "gmail-password");
         moVoice.sendSMS("918970145047", "Hi");

What is the expected output? What do you see instead?
send sms to any mobile number.
java.io.IOException: Answer did not contain rnr_se!
at com.techventus.server.voice.Voice.setRNRSEE(Voice.java:587)

What version of the product are you using? On what operating system?
google-voice-java-1.8-java5.jar, java6, json.jar, win7, eclipse.

Please provide any additional information below.

Please help me some one to resolve this problem.

Original issue reported on code.google.com by chandra....@gmail.com on 2 May 2012 at 2:08

GoogleCodeExporter commented 8 years ago
Does this happen every time you run this?  Can anyone else reproduce?

Original comment by malone.j...@gmail.com on 2 May 2012 at 4:16

GoogleCodeExporter commented 8 years ago
It is happening every time,when i run this code. can any one reproduce this
exception

Original comment by chandra....@gmail.com on 3 May 2012 at 7:09

GoogleCodeExporter commented 8 years ago
please help me some one to resolve this issue.
I did't find any _rnr_se hidden field in my google voice home page source code.
where can i find this _rnr_se google key. In google voice api i have seen that 
setRNRSee() function, how we will get this field value. please expalin me some
one.

Thanks
chandra

Original comment by chandra....@gmail.com on 4 May 2012 at 11:17

GoogleCodeExporter commented 8 years ago
You are trying to SMS India.  This is not supported by Google.

Original comment by malone.j...@gmail.com on 15 May 2012 at 11:11