Closed edsub closed 4 years ago
@edsub only way to debug this is check what calls is official web UI doing on log-in and check what this library is not doing/doing wrong...
The same for Huawei 3531i-2. I will see if I can help, any hints appretiated :) Its not python 3.5/3.7 related, I have 3.7.3@Raspbian
3531 use /api/webserver/SesTokInfo
for getting session info. I believe whole family of Huwei routers, based on ajax / jquery will be the same ( E5186, E5573Bs-320 etc.).
Following Python works : https://github.com/gallinapassus/huawei-e5186 (after fixing typo in date) Following bash works: https://github.com/cmaion/huawei_router
@Salamek would be nice to add getSession option through /api/webserver/SesTokInfo
to your module as well? It could be same case for B315s-22 as well.
Me too.. I got Session Error on B310 but lucky I program on another pc with vs code (thanks to code completion), and I write this
.... connection = AuthorizedConnection('http://192.168.254.1/', username='admin', password='P@ssw0rd!') ....
and it worked, I thinks url with username+password schema not working, so we make it separate parameter..
(sorry for language)
@taufikterdidik @edsub can you try huawei-lte-api version 1.4.6 ?
@edsub @JimmyS83 @taufikterdidik closing this, since i think it was resolved in 1.4.7, fell free to comment for issue reopening when this issue is valid for 1.4.7...
I recently found your project via https://github.com/chenwei791129/Huawei-LTE-Router-SMS-to-E-mail-Sender because I was looking for a way to forward SMS's from my remote (1500km away!) Issue Huawei B315s-22 to either email or another sms number.
I tried to get things running on a RPi running Raspbian Jessie with Python 3.5.7 (previous attempt with 3.5.1 failed with numerous issues). I am hesitating to upgrade to Python 3.7 as my RPi is remote as well and has some other stuff running based n Python 3.5)
I AM aware that my device (Huawei B315s-22) is not on your "tested on" list.
An unauthorized connection ok. But an autorized connectiin attempt throws error 12500 Session error
(note in below log I changed the password to "my_password") The output from the example code on the project main page gives me following output on following statement connection = AuthorizedConnection('http://admin:my_password@192.168.8.1/')
Can you give me any hint/clue on how to try to tackle this?