2021-12-29, 12:53 AM
(2021-12-27, 11:58 PM)sub Wrote: I'd really been hoping to see an S21 connect attempt, because I can get a bit more info on what went wrong with an app login, but unfortunately I can't see any sign of it attempting a login.
Just following up on this.
Now that it's been proven that NextPVR UI can absolutely be run on the S21 and also can connect perfectly to NextPVR Server running on the PC, with associated verbose log provided above, isn't this sufficient to give you the clues you've been looking for to know what is different in your own Android NextPVR client app that is preventing connection from happening on the S21?
Here is that portion of the "successful" log from uidroid:
Code:
2021-12-27 23:54:07.787 [DEBUG][47] Got request [127.0.0.1]: /services/service (system.verbose)
2021-12-27 23:54:07.787 [DEBUG][47] method=system.verbose
2021-12-27 23:54:07.787 [DEBUG][47] parameters:
2021-12-27 23:54:07.787 [DEBUG][47] method: system.verbose
2021-12-27 23:54:07.787 [DEBUG][47] format: json
2021-12-27 23:54:07.787 [DEBUG][47] sid: 9d579444-3609-4436-a01b-3b30ca9238c6
2021-12-27 23:54:07.787 [DEBUG][47] client_ip: 127.0.0.1
2021-12-27 23:54:07.787 [DEBUG][47] user_agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
2021-12-27 23:54:07.787 [DEBUG][47] host_callback: ...
2021-12-27 23:54:07.797 [INFO][47] Verbose logging now enabled
2021-12-27 23:54:07.797 [DEBUG][47] {"stat":"ok"}
2021-12-27 23:54:07.807 [VERBOSE][8] STATUS: pending 0, recording 0
2021-12-27 23:54:24.303 [DEBUG][10] Received broadcast from 192.168.1.10:41963 : Android UI Client
2021-12-27 23:54:24.303 [DEBUG][10] (fe80::a97a:6f51:6720:d3a3%14, 192.168.1.10)
2021-12-27 23:54:24.303 [DEBUG][10] (fe80::dd05:a7f:a5cc:33d8%51, 192.168.1.10)
2021-12-27 23:54:24.303 [DEBUG][10] (192.168.1.26, 192.168.1.10)
2021-12-27 23:54:24.303 [DEBUG][10] (192.168.200.2, 192.168.1.10)
2021-12-27 23:54:24.303 [DEBUG][10] address: 192.168.1.26
2021-12-27 23:54:24.303 [DEBUG][10] Waiting for broadcast
2021-12-27 23:54:29.388 [DEBUG][43] Got request [192.168.1.10]: /service (session.initiate)
2021-12-27 23:54:29.388 [DEBUG][43] method=session.initiate
2021-12-27 23:54:29.388 [DEBUG][43] parameters:
2021-12-27 23:54:29.388 [DEBUG][43] method: session.initiate
2021-12-27 23:54:29.388 [DEBUG][43] ver: 1.0
2021-12-27 23:54:29.404 [DEBUG][43] device: uidroid
2021-12-27 23:54:29.404 [DEBUG][43] client: c78076715f5e8f33
2021-12-27 23:54:29.404 [DEBUG][43] format: json
2021-12-27 23:54:29.404 [DEBUG][43] client_ip: 192.168.1.10
2021-12-27 23:54:29.404 [DEBUG][43] user_agent: Dalvik/2.1.0 (Linux; U; Android 12; SM-G998U Build/SP1A.210812.016)
2021-12-27 23:54:29.404 [DEBUG][43] host_callback: ...
2021-12-27 23:54:29.404 [DEBUG][43] sid: default
2021-12-27 23:54:29.404 [INFO][43] InitiateSession (device=uidroid)
2021-12-27 23:54:29.404 [DEBUG][43] SetSessionObject(b2775c016f9845f594647d76480679db, 'child', NON-null)
2021-12-27 23:54:29.404 [DEBUG][43] Device: uidroid
2021-12-27 23:54:29.404 [DEBUG][43] SetSessionObject(b2775c016f9845f594647d76480679db, 'child', NON-null)
2021-12-27 23:54:29.404 [DEBUG][43] {"sid":"b2775c016f9845f594647d76480679db","salt":"2f63d6f3-931e-4a9b-ace5-c297552536f6"}
2021-12-27 23:54:29.482 [DEBUG][43] Got request [192.168.1.10]: /service (session.login)
2021-12-27 23:54:29.482 [DEBUG][43] method=session.login
2021-12-27 23:54:29.482 [DEBUG][43] parameters:
2021-12-27 23:54:29.482 [DEBUG][43] method: session.login
2021-12-27 23:54:29.482 [DEBUG][43] md5: 31f18f99a1224c275584821eb6140c2f
2021-12-27 23:54:29.482 [DEBUG][43] client: c78076715f5e8f33
2021-12-27 23:54:29.482 [DEBUG][43] format: json
2021-12-27 23:54:29.482 [DEBUG][43] sid: b2775c016f9845f594647d76480679db
2021-12-27 23:54:29.482 [DEBUG][43] client_ip: 192.168.1.10
2021-12-27 23:54:29.482 [DEBUG][43] user_agent: Dalvik/2.1.0 (Linux; U; Android 12; SM-G998U Build/SP1A.210812.016)
2021-12-27 23:54:29.482 [DEBUG][43] host_callback: ...
2021-12-27 23:54:29.482 [INFO][43] LoginSession(sid = b2775c016f9845f594647d76480679db)
2021-12-27 23:54:29.513 [DEBUG][43] [gmWFGYFLh/33ZUJUzOl9yvmRQoYvDM9cid23ccXY/g8oa0bUc9gO/Ja7lsd6XeMiyTCM328YG5VZUOITQWdL9cPxMEjn0g/eqliGltv2BATmCxKGEdk4UMg9z6gNEmWxGZM9+pr8YjsPW+x0fxzWSxMEiDy9OCJRSvb6Iap8W0+zOVqGdtOfgc0zo54xF7zIgHXWdEZXk8mp7UVA/hmQES7K6PKtj9UcmmdmWfLhGQcBupt9WzpcwVS/csL3DAZkVpNEcKTfJ0nDSOAyvKRuuA//O3DOdi6amRFAxYt8Oqpl6L+Nrn947uaziE8R59wk1XOYyaDxJtk7CyosUkQ1HKUBAcYTrT/8mTPyWylRu3Kx7K3on4DEtRH5qCnKBWMkAfJlq2MR0rIqu4aqa85YyXpqHg2WkQVDWRmspFtpLQTvr8h19X76KWdcL/2ObcbfD51uxvCV5aNGzsbjLe3erw==]
2021-12-27 23:54:29.513 [DEBUG][43] [JxG+B9BzaT2pTyBbAgpYHDefjt0E2PeYRqcw0Gl/e1VX7PS0A6ml7O9O/Yz3Tzj6YzHbiF8/hsoh7wn+sj/MJVzbe3RQBVI70qOQ9+vCM0EFRtXjr9yx7+snJIMHe8RfYMejJuwt7gVOXOJls3xdgjpvcOTg/1G/NWKB5Ax1QJt6GOrk7fjVbhbvb7zYLHgjMG7FNm1Py19CfajPE4H2SIAi3f9t5pPFlmO1NzIKLmDMrYLgh1QSa6T52Y1ka2Biv+9O6xikX8MuU+7WYkhbiirqbU5G+j5HV/uoG92buohJoIoblMB0AXu/om5drA+SaRV33r378JivkFVN6kRx9onFd5cwCHyFOth6n/BWwbziOJMHdYHQzDVbDIOqrM5p7ytEDUM8IU8DRBfMvrODxfuNN9XOvKNbNl6l7/Io+3E=]
2021-12-27 23:54:29.513 [DEBUG][43] [fY6ZyNJHuTVVaeTO9xgUXXeAVLK/LI7N6hjUJxvVqNCLtuiylHcNrl/4SInJHn7WlUh8qwlz8AX15QLR1aYqF9eBxSWJdoS3jbfXcJdNzHgwJmOjk0yRYwQSujFCFCebCjBjQ//LL0pNowV7inMALGk5G63trycZCOTWGgQDdr4Qn6HA1bcZ9eYHVmEPCfgmydFpNL+iLDzW/DGkX5YbV/0DGdtzuw/sAbebpNdOdX2OBwb3PMUlSc0XVX8nycvg9MYZSH1yVpXeSOF2LKIskrlUf3qh3VKkWN9ym0ItjjcK40aWuIKTXQMyTINH7vbj5dQGni4LoUh/kvAPNOzDPdpuBxGA8HAiVpYdcexUnn9aTaXBmeNWPR8VaRAvUfRTdm38TvN1VTfDJf3cBJHDfnxcmWxzxNRI776feiesrjY=]
2021-12-27 23:54:29.513 [DEBUG][43] {
"stat": "ok","sid": "b2775c016f9845f594647d76480679db","allow_settings":false,"allow_watch":true,"allow_schedule":true,"allow_delete":tru
And in contrast, here is the failing log from NextPVR client which seems to just hang up at "waiting for broadcast":
Code:
2021-12-28 00:09:22.622 [DEBUG][28] method=system.verbose
2021-12-28 00:09:22.622 [DEBUG][28] parameters:
2021-12-28 00:09:22.622 [DEBUG][28] method: system.verbose
2021-12-28 00:09:22.622 [DEBUG][28] format: json
2021-12-28 00:09:22.632 [DEBUG][28] sid: 9d579444-3609-4436-a01b-3b30ca9238c6
2021-12-28 00:09:22.632 [DEBUG][28] client_ip: 127.0.0.1
2021-12-28 00:09:22.632 [DEBUG][28] user_agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
2021-12-28 00:09:22.632 [DEBUG][28] host_callback: ...
2021-12-28 00:09:22.632 [INFO][28] Verbose logging now enabled
2021-12-28 00:09:22.632 [DEBUG][28] {"stat":"ok"}
2021-12-28 00:09:22.902 [VERBOSE][8] STATUS: pending 0, recording 0
2021-12-28 00:09:32.356 [DEBUG][10] Received broadcast from 192.168.1.10:40185 : DISCOVER_REQUEST
2021-12-28 00:09:32.356 [DEBUG][10] (fe80::a97a:6f51:6720:d3a3%14, 192.168.1.10)
2021-12-28 00:09:32.356 [DEBUG][10] (fe80::dd05:a7f:a5cc:33d8%51, 192.168.1.10)
2021-12-28 00:09:32.356 [DEBUG][10] (192.168.1.26, 192.168.1.10)
2021-12-28 00:09:32.356 [DEBUG][10] (192.168.200.2, 192.168.1.10)
2021-12-28 00:09:32.356 [DEBUG][10] address: 192.168.1.26
2021-12-28 00:09:32.356 [DEBUG][10] Waiting for broadcast
2021-12-28 00:10:16.070 [DEBUG][1] CaptureSource.LoadAll()
2021-12-28 00:10:16.085 [DEBUG][1] No C:\Users\Public\NPVR-Data\scripts\PreShutdown.bat
2021-12-28 00:10:16.085 [INFO][1] Flushing logs
2021-12-28 00:10:16.085 [DEBUG][2] Unloading...
2021-12-28 00:10:16.085 [INFO][2] Flushing logs
The key difference is that uidroid also shows "waiting for broadcast", but actually gets a response:
Code:
2021-12-27 23:54:24.303 [DEBUG][10] Waiting for broadcast
2021-12-27 23:54:29.388 [DEBUG][43] Got request [192.168.1.10]: /service (session.initiate)
2021-12-27 23:54:29.388 [DEBUG][43] method=session.initiate