Verification
See original GitHub issueIssue
i cant verify my account. I get this error code:
Creating new account.
Traceback (most recent call last):
File "jodelUser.py", line 16, in <module>
j.verify(a)
File "/usr/local/lib/python2.7/dist-packages/jodel_api-1.2.7-py2.7.egg/jodel_api/jodel_api.py", line 171, in verify
verification = self._read_verificiation(android_account)
File "/usr/local/lib/python2.7/dist-packages/jodel_api-1.2.7-py2.7.egg/jodel_api/jodel_api.py", line 183, in _read_verificiation
return android_account.receive_verification_from_gcm()
File "/usr/local/lib/python2.7/dist-packages/jodel_api-1.2.7-py2.7.egg/jodel_api/gcmhack.py", line 128, in receive_verification_from_gcm
return self.receive_verification_from_gcm(False)
File "/usr/local/lib/python2.7/dist-packages/jodel_api-1.2.7-py2.7.egg/jodel_api/gcmhack.py", line 98, in receive_verification_from_gcm
raise Exception("socket closed by server")
Exception: socket closed by server
This is the Code
lat, lng, city = 48.148434, 11.567867, "Munich"
j = jodel_api.JodelAccount(lat=lat, lng=lng, city=city)
a = jodel_api.AndroidAccount()
j.verify(a)
print j.get_account_data()
i dont want to spam anything on jodel. I need only j.get_post_details_v3(‘postid’). However sometimes it works sometimes and sometimes i get errorcode 478 …
Environment
If you’re reporting a bug, please attach the output of the following commands:
$ pip show jodel_api
Name: jodel-api
Version: 1.2.7
Summary: Unoffical Python Interface to the Jodel API
Home-page: https://github.com/nborrmann/jodel_api
Author: Nils Borrmann
Author-email: n.borrmann@googlemail.com
License: MIT
Location: /usr/local/lib/python2.7/dist-packages/jodel_api-1.2.7-py2.7.egg
Requires: requests, future, mock, varint, protobuf
$ pip -V
pip 9.0.1 from /home/t/.local/lib/python2.7/site-packages (python 2.7)
$ python -V
Python 2.7.12
$ python -c "import jodel_api; print(jodel_api.JodelAccount.version); print(jodel_api.JodelAccount.secret)"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/jodel_api-1.2.7-py2.7.egg/jodel_api/__init__.py", line 6, in <module>
from jodel_api.jodel_api import *
File "/usr/local/lib/python2.7/dist-packages/jodel_api-1.2.7-py2.7.egg/jodel_api/jodel_api.py", line 6, in <module>
install_aliases()
File "/usr/local/lib/python2.7/dist-packages/future/standard_library/__init__.py", line 483, in install_aliases
import test
File "test.py", line 2, in <module>
requests.get('https://api.github.com/user', auth=('user', 'pass'))
NameError: name 'requests' is not defined
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
Verification Definition & Meaning - Merriam-Webster
The meaning of VERIFICATION is the act or process of verifying : the state of being verified. How to use verification in a...
Read more >Verification Definition & Meaning - Dictionary.com
a formal assertion of the truth of something, as by oath or affidavit. the process of research, examination, etc., required to prove or...
Read more >Verification - Definition, Meaning & Synonyms - Vocabulary.com
Verification is an extra or final bit of proof that establishes something is true. To verify something is to make sure it's correct...
Read more >VERIFICATION definition | Cambridge English Dictionary
the act of checking and proving that something is correct or true, or the proof that something is correct or true: Some loans...
Read more >Verification - Wikipedia
Formal verification, mathematical proof of the correctness of algorithms · Intelligent verification, automatically adapts the testbench to changes in RTL ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I encountered the same problem, the weird thing is that it will work at some point. It will fail many times and eventually it starts verifying all accounts perfectly. Later it will fail the whole time again and so on. From my experience it’s like 15min constant fails and then 15min of success in a loop. Dunno whats going on but it works if you have patience.
Looks like Google changed something about the GCM protocol. Don’t really have time to debug this now. You can try to add some print statements to see what messages we still receive.