https://developers.line.biz This is "Line API developers" web page, but I'm not sure if this is the right thing I need to give or not...... THX
https://developers.line.biz This is "Line API developers" web page, but I'm not sure if this is the right thing I need to give or not...... THX
That page mentions the hostname api.line.me
for the API, and that's already on the whitelist. Are you having problems connecting to it?
It says [tunnel connection failed 403 forbidden] I don't know why I can't connect to it......
What endpoint are you trying to connect to? Is it on api.line.me
domain?
Traceback (most recent call last):
File "bot/x.py", line 12, in <module>
cl = LINE(ttoken)
File "/home/godmode1017/LINE/self/bot/linepy/client.py", line 16, in __init__
self.loginWithQrCode(keepLoggedIn=keepLoggedIn, systemName=systemName, appName=appName, showQr=showQr)
File "/home/godmode1017/LINE/self/bot/linepy/auth.py", line 152, in loginWithQrCode
qrCode = self.tauth.getAuthQrcode(keepLoggedIn, systemName)
File "/home/godmode1017/LINE/self/bot/akad/TalkService.py", line 3574, in getAuthQrcode
self.send_getAuthQrcode(keepLoggedIn, systemName)
File "/home/godmode1017/LINE/self/bot/akad/TalkService.py", line 3584, in send_getAuthQrcode
self._oprot.trans.flush()
File "/home/godmode1017/.local/lib/python3.7/site-packages/thrift/transport/THttpClient.py", line 141, in _f
result = f(*args, **kwargs)
File "/home/godmode1017/.local/lib/python3.7/site-packages/thrift/transport/THttpClient.py", line 181, in flush
self.__http.endheaders()
File "/usr/lib/python3.7/http/client.py", line 1224, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1016, in _send_output
self.send(msg)
File "/usr/lib/python3.7/http/client.py", line 956, in send
self.connect()
File "/usr/lib/python3.7/http/client.py", line 1384, in connect
super().connect()
File "/usr/lib/python3.7/http/client.py", line 932, in connect
self._tunnel()
File "/usr/lib/python3.7/http/client.py", line 911, in _tunnel
message.strip()))
OSError: Tunnel connection failed: 403 Forbidden
This is my error code ><
There is no information about the host it is trying to talk to in that traceback.