Active Topics

 



Notices


Reply
Thread Tools
Posts: 149 | Thanked: 134 times | Joined on Jul 2007 @ Florida
#1071
Originally Posted by Xenolith0 View Post
For the last 5 or so days TOR has been unable to connect to GV. After researching the problem, I found what has changed is Google's login URL. Which previously was "https://www.google.com/accounts/ServiceLoginAuth" and has now changed to be "https://accounts.google.com/ServiceLoginAuth".

Until the developer updates his package, a quick work-around to this is to edit the file "/opt/theonering/lib/gvoice/backend.py" go to line 169 and change:
self._loginURL = "https://www.google.com/accounts/ServiceLoginAuth"
to
self._loginURL = "https://accounts.google.com/ServiceLoginAuth"

After that just initiate a reconnect, and it should work.... Assuming anyone else is having this issue. After searching the forums I have not seen anyone else reporting this problem, so maybe Google only hates me.

However, this is why I LOVE open source software. <3 Maemo.

theonering.log:
Code:
(2013-01-30 16:49:56,405) DEBUG AsyncPool.gvoice.browser_emu: Performing download of https://www.google.com/voice/m
(2013-01-30 16:49:57,410) DEBUG AsyncPool.gvoice.browser_emu: Performing download of https://www.google.com/accounts/ServiceLoginAuth
(2013-01-30 16:49:58,586) DEBUG AsyncPool.gvoice.browser_emu: HTTP Error 404: Not Found: https://www.google.com/accounts/ServiceLoginAuth
(2013-01-30 16:49:58,591) DEBUG AsyncPool.gvoice.browser_emu: MozillaEmulator: urllib2.URLError, retrying 1
(2013-01-30 16:49:59,058) DEBUG AsyncPool.gvoice.browser_emu: HTTP Error 404: Not Found: https://www.google.com/accounts/ServiceLoginAuth
(2013-01-30 16:49:59,119) ERROR AsyncPool.gvoice.backend: Translating error: HTTP Error 404: Not Found
(2013-01-30 16:49:59,159) ERROR AsyncPool.util.go_utils: Error, passing it back to the main thread
Traceback (most recent call last):
  File "/opt/theonering/lib/util/go_utils.py", line 191, in __consume_queue
    result = func(*args, **kwds)
  File "/opt/theonering/lib/gvoice/backend.py", line 294, in login
    loginSuccessOrFailurePage = self._login(username, password, galxToken)
  File "/opt/theonering/lib/gvoice/backend.py", line 283, in _login
    loginSuccessOrFailurePage = self._get_page(self._loginURL, loginData)
  File "/opt/theonering/lib/gvoice/backend.py", line 779, in _get_page
    raise NetworkError("%s is not accesible" % url)
NetworkError: https://www.google.com/accounts/ServiceLoginAuth is not accesible
(2013-01-30 16:49:59,171) ERROR MainThread.connection: https://www.google.com/accounts/ServiceLoginAuth is not accesible
(2013-01-30 16:49:59,175) INFO  MainThread.connection: Disconnecting
Thank you sooo much for this! It's been driving me nuts for a while.
I was having trouble finding it because I was searching for the old(?)/alternate name (which is still the title in the application manager) Google Voice Plugin for Conversations and Calls and the error: network error
Hopefully the above line will be enough search-engine-bait that others frustrated with this months-old bug can also fix it for themselves.

Again, thank you very much for this embarrassingly simple fix.
__________________
N900 running CSSU+Thumb2 and loving the performance and battery life improvement!
 

The Following 3 Users Say Thank You to glabifrons For This Useful Post:
Posts: 4 | Thanked: 4 times | Joined on Nov 2013
#1072
Originally Posted by xur17 View Post
When I tried entering the url into my browser (with my useragent set as an iphone), I got that same response. I managed to get a correct response when I used the live http headers extension for firefox, and replayed a recording of dialing the number using the iphone web app.

The post content listed in the Live HTTP Headers extension is:

Code:
{"gvx":"random-letters-and-numbers-here:thirteennumbershere"}
EDIT: I figured out what the post data is. This is the content of the cookie named gvx.

Were you submitting the url as a post request, or a get request?

I can attach the Live HTTP Headers file if that would be helpful.
I'm trying to get the Direct Access Number from iOS contact list. I was able to get the gvx cookie but it's just some random letter numbers and 13 numbers like this

gvx=Gq2TyFXex-LgnMt9YR6Fc9wPl3o:1273448429000;

Where does it say the Direct Access Number? The 13 numbers is not the access number of the destination number in the query string.

I'm building this for iOS. Any help is greatly appreciated.
 

The Following User Says Thank You to iCoding For This Useful Post:
Posts: 4 | Thanked: 4 times | Joined on Nov 2013
#1073
Originally Posted by iCoding View Post
I'm trying to get the Direct Access Number from iOS contact list. I was able to get the gvx cookie but it's just some random letter numbers and 13 numbers like this

gvx=Gq2TyFXex-LgnMt9YR6Fc9wPl3o:1273448429000;

Where does it say the Direct Access Number? The 13 numbers is not the access number of the destination number in the query string.

I'm building this for iOS. Any help is greatly appreciated.
Anyone still following this thread?
 

The Following User Says Thank You to iCoding For This Useful Post:
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#1074
Originally Posted by iCoding View Post
I'm trying to get the Direct Access Number from iOS contact list. I was able to get the gvx cookie but it's just some random letter numbers and 13 numbers like this

gvx=Gq2TyFXex-LgnMt9YR6Fc9wPl3o:1273448429000;

Where does it say the Direct Access Number? The 13 numbers is not the access number of the destination number in the query string.

I'm building this for iOS. Any help is greatly appreciated.
I didn't understand your question but maybe just pointing you to my implementation will help...
__________________
qgvdial: Google Voice client. All downloads
qgvtp: Phone integration for the n900 that dials out and sends texts using qgvdial.
mosquitto: message broker that implements the MQ Telemetry Transport protocol version 3.
qgvnotify: Google voice and contacts notifier for diablo and maemo.

If you want to thank me, click the Thanks button.
If you'd like to thank my applications, vote to move them to extras.
 

The Following User Says Thank You to uvatbc For This Useful Post:
Posts: 4 | Thanked: 4 times | Joined on Nov 2013
#1075
Originally Posted by uvatbc View Post
I didn't understand your question but maybe just pointing you to my implementation will help...
I can successfully log in Google Voice web service via this URL by passing the necessary parameters.

Code:
https://accounts.google.com/ServiceLogin?service=grandcentral
However, when I list out all the cookies in the Cookie Storage. I don't get all the cookies that I should have logging in Google Voice.

Objective-C code:

Code:
NSHTTPCookie *cookie;
    NSHTTPCookieStorage *cookieJar = [NSHTTPCookieStorage sharedHTTPCookieStorage];
    for (cookie in [cookieJar cookies]) {
        NSLog(@"%@", cookie);
    }
All i got back from cookies are 3 names:

Code:
GALX - with some random characters and numbers value
GAPS - with some random characters and numbers value
S - with value: "grandcentral=xxxxxx..xxxx"
I should get back a lot more in Cookies such as:

HSID, SSID, APISID, PREF, NID And most importantly gvx cookie.

I did set User-agent to iPhone in the request header. How do I get gvx cookie?
 

The Following User Says Thank You to iCoding For This Useful Post:
Posts: 4 | Thanked: 4 times | Joined on Nov 2013
#1076
anyone knows why I'm not getting back to gvx cookie but just the GALX, GAPS and S cookies from google voice? Here is the url string for my post request

https://accounts.google.com/ServiceL...signIn=Sign+in
 

The Following User Says Thank You to iCoding For This Useful Post:
Posts: 14 | Thanked: 4 times | Joined on Jun 2010
#1077
Originally Posted by Xenolith0 View Post
For the last 5 or so days TOR has been unable to connect to GV. After researching the problem, I found what has changed is Google's login URL. Which previously was "https://www.google.com/accounts/ServiceLoginAuth" and has now changed to be "https://accounts.google.com/ServiceLoginAuth".

Until the developer updates his package, a quick work-around to this is to edit the file "/opt/theonering/lib/gvoice/backend.py" go to line 169 and change:
self._loginURL = "https://www.google.com/accounts/ServiceLoginAuth"
to
self._loginURL = "https://accounts.google.com/ServiceLoginAuth"

After that just initiate a reconnect, and it should work.... Assuming anyone else is having this issue. After searching the forums I have not seen anyone else reporting this problem, so maybe Google only hates me.

However, this is why I LOVE open source software. <3 Maemo.

Amen to that, brother. Especially convenient in this case that it doesn't involve rebuilding or anything.

I hadn't reported the issue because I thought it was for the same reason that some of my google talk accounts keep refusing to connect sometimes.

Thanks an enormous amount for posting this...I just finally got around to fixing mine.
 

The Following User Says Thank You to script.ninja For This Useful Post:
sondjata's Avatar
Posts: 1,076 | Thanked: 176 times | Joined on Mar 2007
#1078
Looks like it's down again....smh
__________________
---
N800
Diablo
Boot from MMC
Gpodder Cache on MMC
MTube Cache on MMC
Mugen 1800mAh Battery
Addesso USB rollup keyboard
Solio Solar Charger
Holux GPSlim GPS

N810
community SSU
Turbo Diablo
8GB external
Boot from Internal SD
Still no GPS Fix.

N900
Stock
32GB
Many Solar Chargers (Saved bacon during Sandy!)
Inland ProHT BT keyboard
What's this? A GPS Fix? Wowwwwwww
 

The Following User Says Thank You to sondjata For This Useful Post:
Posts: 1,994 | Thanked: 3,342 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#1079
Okay, by the Xenolith0's workaround

Until the developer updates his package, a quick work-around to this is to edit the file "/opt/theonering/lib/gvoice/backend.py" go to line 169 and change:
self._loginURL = "https://www.google.com/accounts/ServiceLoginAuth"
to
self._loginURL = "https://accounts.google.com/ServiceLoginAuth"
I managed to sign in. Now, how do I check if it works or not? Some kind of echo-test-service would be welcome, especially for SMS...

P.S. I do not know why theonering has to depend on haze and pull in so many packages...

P.P.S. An alternative to Google Voice would be welcome, just for the sake of anti-monopoly. For example, if number@sip.voice.google.com worked, I would have just SIP-ed to GV (GV-to-SIP already works, thanks to IPKall).

Thank you. Best wishes.
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#1080
Originally Posted by Wikiwide View Post
Okay, by the Xenolith0's workaround
Yeah, that workaround has always worked for me, but for the last two weeks or so I haven't been able to sign in.

Am I the only one?

Last edited by deanrc; 2015-06-27 at 00:10.
 
Reply

Tags
google voice, maemo 4, maemo 5


 
Forum Jump


All times are GMT. The time now is 09:02.