Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is LINE update protocol? #16

Open
Chriskatz opened this issue Dec 8, 2017 · 13 comments
Open

is LINE update protocol? #16

Chriskatz opened this issue Dec 8, 2017 · 13 comments

Comments

@Chriskatz
Copy link

Traceback (most recent call last):
File "vodkabot.py", line 14, in
profile, setting, tracer = client.getProfile(), client.getSettings(), LineTracer(client)
File "C:\LineVodka\LineAlpha\LineApi\LineClient.py", line 18, in checkLogin
return func(*args, **kwargs)
File "C:\LineVodka\LineAlpha\LineApi\LineClient.py", line 91, in getProfile
return self._client.getProfile()
File "C:\LineVodka\LineAlpha\LineThrift\TalkService.py", line 3886, in getProfile
return self.recv_getProfile()
File "C:\LineVodka\LineAlpha\LineThrift\TalkService.py", line 3897, in recv_getProfile
(fname, mtype, rseqid) = iprot.readMessageBegin()
File "C:\Python27\lib\site-packages\thrift\protocol\TCompactProtocol.py", line 310, in readMessageBegin
proto_id = self.__readUByte()
File "C:\Python27\lib\site-packages\thrift\protocol\TCompactProtocol.py", line 289, in __readUByte
result, = unpack('!B', self.trans.readAll(1))
File "C:\LineVodka\LineAlpha\LineApi\LineTransport.py", line 100, in readAll
raise EOFError()
EOFError

@doodspav
Copy link

doodspav commented Dec 8, 2017

yes (sort of)

@Chriskatz
Copy link
Author

How to fix this problem?

@acx-nvstar
Copy link

yes me too, got the same problem

@fpitlok
Copy link

fpitlok commented Dec 11, 2017

haha

@fpitlok
Copy link

fpitlok commented Dec 11, 2017

it easy you fix

1.poll.py 2.Talk.py 3.chanal.py

UA = "Line/7.14.0"
LA = "IOSIPAD\t7.14.0\tiPhone OS\t10.12.0"

@ghost
Copy link

ghost commented Dec 12, 2017

@fpitlok could you please elaborate more please? do I just add it to each file?

@fpitlok
Copy link

fpitlok commented Dec 14, 2017

Bot vodka please look in 📁LineAlpha>LineApi

in 📁LineApi check
1.LineServer.py
2.LineTransport.py

chang UserAgent and Appname

Change to this
UserAgent = 'Line/7.14.0'
AppName = 'IOSIPAD\t7.14.0\tiPhone OS\t10.12.0'

it easy 😁

@semarainc
Copy link

thanks before for your solution @fpitlok, but that wouldnt work right now :(

@fpitlok
Copy link

fpitlok commented Dec 18, 2017

LINE he update, Now can't fine token because he use password 2 time 😂

@fpitlok
Copy link

fpitlok commented Dec 19, 2017

I know the reason is because LINE brings the certificate encryption.

It's easy to fix
you can find a CHOME user-agent to use, because CHOME has a valid certificate.

But It does not use the correct solution, because the real problem is "SSL" encryption.

I can only say this.
good luck 😊

@Al-an
Copy link

Al-an commented Jan 16, 2018

Your LINK QR is: line://au/q/oZa2BjlPFG2m5p7cfYs1cPVJHYF8CTry
Traceback (most recent call last):
File "20bot.py", line 19, in
cl.login(qr=True)
File "/home/cabox/workspace/TeamNoobBot/LINETNB/LineApi.py", line 40, in login
self.Poll = Poll(self.authToken)
File "/home/cabox/workspace/TeamNoobBot/LINETNB/Api/Poll.py", line 35, in init
self.rev = self.client.getLastOpRevision()
File "/home/cabox/workspace/TeamNoobBot/LINETNB/Api/../lib/curve/LineService.py", line 9884, in getLastOpRevision
return self.recv_getLastOpRevision()
File "/home/cabox/workspace/TeamNoobBot/LINETNB/Api/../lib/curve/LineService.py", line 9907, in recv_getLastOpRevision
raise result.e
curve.ttypes.TalkException: TalkException(parameterMap=None, reason='LOG_OUT', code=8)

help

@acx-nvstar
Copy link

acx-nvstar commented Jan 16, 2018

@Al-an
since December 2017 you can not login using QR code / link for your LINE BOT, because LINE has updated their Api's
But there's another way to login your LINE BOT with AuthToken
Good luck

@arichd
Copy link

arichd commented Mar 8, 2018

/qpython/projects/LineVodka-master/main.py" && exit <
Traceback (most recent call last):
File "/storage/sdcard0/qpython/projects/LineVodka-master/main.py", line 12, in
client._qrLogin("line://au/q/")
File "/storage/sdcard0/qpython/projects/LineVodka-master/LineAlpha/LineApi/LineApi.py", line 99, in _qrLogin
qr = self._client.getAuthQrcode(keepLoggedIn, systemName)
File "/storage/sdcard0/qpython/projects/LineVodka-master/LineAlpha/LineThrift/TalkService.py", line 2855, in getAuthQrcode
self.send_getAuthQrcode(keepLoggedIn, systemName)
File "/storage/sdcard0/qpython/projects/LineVodka-master/LineAlpha/LineThrift/TalkService.py", line 2865, in send_getAuthQrcode
self._oprot.trans.flush()
File "/storage/sdcard0/qpython/projects/LineVodka-master/LineAlpha/LineApi/LineTransport.py", line 112, in _f
result = f(*args, **kwargs)
File "/storage/sdcard0/qpython/projects/LineVodka-master/LineAlpha/LineApi/LineTransport.py", line 152, in flush
self.__http.endheaders()
File "/data/data/org.qpython.qpy/files/lib/python27.zip/httplib.py", line 1053, in endheaders
File "/data/data/org.qpython.qpy/files/lib/python27.zip/httplib.py", line 897, in _send_output
File "/data/data/org.qpython.qpy/files/lib/python27.zip/httplib.py", line 859, in send
File "/data/data/org.qpython.qpy/files/lib/python27.zip/httplib.py", line 1278, in connect
File "/data/data/org.qpython.qpy/files/lib/python27.zip/ssl.py", line 353, in wrap_socket
File "/data/data/org.qpython.qpy/files/lib/python27.zip/ssl.py", line 601, in init
File "/data/data/org.qpython.qpy/files/lib/python27.zip/ssl.py", line 830, in do_handshake
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
1|u0_a137@wsvga:/ $

pliz help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants