Open MartinKleindl opened 8 years ago
It fails when trying to load the encryption public keys. Try to open the same URL in browser to see whether you have any errors.
{baseUrl} + /api/webserver/publickey
Response should be XML with
Maybe your router has some different response or base URL is not correct?
If I use this in the Windows Edge browser (or Chrome) it returns a 6 digit number.
In the config file I have:
In the browser I used: http://10.0.0.137/api/webserver/publickey
2016-09-14 9:29 GMT+02:00 kotylo notifications@github.com:
It fails when trying to load the encryption public keys. Try to open the same URL in browser to see whether you have any errors. {baseUrl} + /api/webserver/publickey Response should be XML with and tags.
Maybe your router has some different response or base URL is not correct?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kotylo/b315s-change-network/issues/3#issuecomment-246929240, or mute the thread https://github.com/notifications/unsubscribe-auth/AVJAvhgzEUpAwByOZNNC1czpeoAsW8sWks5qp6JFgaJpZM4J7aHh .
Seems like it's an error code. If you view source of this page, you'll see something like:
<error>
<code>125002</code>
<message></message>
</error>
That happened to me when I opened the public keys page without opening homepage. As soon as I did, I've got proper response. Hmmm. But the application already does that on line 131 of RouterManager. So probably some other response is generated. Try opening homepage first in browser and try the public keys page again.
I opened the homepage of the router http://10.0.0.137/html/home.html and also logged on.
But the I still get the error when calling http://10.0.0.137/api/ webserver/publickey in a new tab or in the same tab.
The error codes are different in Edge (1000002) and Chrome (125002).
2016-09-14 13:31 GMT+02:00 kotylo notifications@github.com:
Seems like it's an error code. If you view source of this page, you'll see something like:
125002
That happened to me when I opened the public keys page without opening homepage. As soon as I did, I've got proper response. Hmmm. But the application already does that on line 131 of RouterManager. So probably some other response is generated. Try opening homepage first in browser and try the public keys page again.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kotylo/b315s-change-network/issues/3#issuecomment-246984547, or mute the thread https://github.com/notifications/unsubscribe-auth/AVJAvgEhHZjF04dud0eJWKwR4XBTMtENks5qp9smgaJpZM4J7aHh .
Hi, thanks for your great work, hope you can help me to fix this issue.
When running in Win10 it seems to read the status but is not able to switch from 3G to other modes. Please see below log.
Any idea?
Thanks for your help, Martin
2016-09-13 09:51:12.0605 | MARTIN | 27736 | AlwaysLte | Info | AlwaysLte.Program | Starting 2016-09-13 09:51:12.1074 | MARTIN | 27736 | AlwaysLte | Debug | AlwaysLte.Program | Seeking interval is 30 seconds in config 2016-09-13 09:51:12.1260 | MARTIN | 27736 | AlwaysLte | Info | AlwaysLte.Program | Started 2016-09-13 09:51:12.8093 | MARTIN | 27736 | AlwaysLte | Info | AlwaysLte.Router.RouterManager | Getting PublicKeys 2016-09-13 09:51:12.8471 | MARTIN | 27736 | AlwaysLte | Error | AlwaysLte.Program | Unexpected error inside execution: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. bei AlwaysLte.Router.RouterManager.GetPublicKeys() in C:\projects\pers\always-lte\AlwaysLte\Router\RouterManager.cs:Zeile 237. bei AlwaysLte.Router.RouterManager.LoadCookiesIfNeeded(Boolean force) in C:\projects\pers\always-lte\AlwaysLte\Router\RouterManager.cs:Zeile 132. bei AlwaysLte.Router.RouterManager.GetConnectionType() in C:\projects\pers\always-lte\AlwaysLte\Router\RouterManager.cs:Zeile 98. bei AlwaysLte.Program.MonitorHealth(RouterManager rm, Boolean isInitialized, ILogger logger) in C:\projects\pers\always-lte\AlwaysLte\Program.cs:Zeile 124. bei AlwaysLte.Program.<>cDisplayClass2_0.b0() in C:\projects\pers\always-lte\AlwaysLte\Program.cs:Zeile 86.
2016-09-13 09:51:13.3944 | MARTIN | 27736 | AlwaysLte | Info | AlwaysLte.Program | Current connection type is LTE. Monitoring...
2016-09-13 09:52:15.7320 | MARTIN | 27736 | AlwaysLte | Warn | AlwaysLte.Router.RouterManager | Probably router rebooted or Session Lost. Trying to load home page to get cookies again...
2016-09-13 09:52:46.9801 | MARTIN | 27736 | AlwaysLte | Info | AlwaysLte.Program | Connection dropped to 3G. Switching.
2016-09-13 09:52:46.9957 | MARTIN | 27736 | AlwaysLte | Info | AlwaysLte.Router.RouterManager | Getting PublicKeys
2016-09-13 09:52:46.9957 | MARTIN | 27736 | AlwaysLte | Error | AlwaysLte.Program | Unexpected error inside execution: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei AlwaysLte.Router.RouterManager.GetPublicKeys() in C:\projects\pers\always-lte\AlwaysLte\Router\RouterManager.cs:Zeile 237.
bei AlwaysLte.Router.RouterManager.Login() in C:\projects\pers\always-lte\AlwaysLte\Router\RouterManager.cs:Zeile 138.
bei AlwaysLte.Program.MonitorHealth(RouterManager rm, Boolean isInitialized, ILogger logger) in C:\projects\pers\always-lte\AlwaysLte\Program.cs:Zeile 134.
bei AlwaysLte.Program.<>cDisplayClass2_0.b 0() in C:\projects\pers\always-lte\AlwaysLte\Program.cs:Zeile 86.