NativeBOINC can't connect SETI project on some devices

Message boards : Number crunching : NativeBOINC can't connect SETI project on some devices
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6318
Credit: 106,370,077
RAC: 121
Russia
Message 2041071 - Posted: 28 Mar 2020, 14:19:21 UTC
Last modified: 28 Mar 2020, 14:26:37 UTC

I started thread about this issue in Nov 19 but was too busy that time to follow closely.
Last Richard's suggestion was:

"
#define ERR_HTTP_TRANSIENT -184
// HTTP errors other than 404 and 416
So, set <http_debug> and find out what the actual http error is. Not 404 or 416, obviously.
"

Currently I installed fresh NativeBOINC app on new-old device HTC Bravo ... and have same issue as with my another HTC Evo - client cant't even attach to project.

Same code of error.
In log file I see:
Fetching configuration file from http://setiathome.berkeley.edu/get_project_config.php

Project communication failed: attempting to access to reference site

Internet access OK - (and so on)

Abrolutely the same as another HTC.

But, I also have old Viewsonic tablets with NativeBOINC installed - they fetch work from SETI just OK....

Im'm not sure I can set <http_debug> under NativeBOINC. And would like some more guidance if possible.

There was suggestion to edit host file.
Seems I found where it resides and can edit it
currently it has
127.0.0.1 localhost
default record.

What should I add to this to help to connect to SETI servers?
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 2041071 · Report as offensive     Reply Quote
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14350
Credit: 200,643,578
RAC: 874
United Kingdom
Message 2041076 - Posted: 28 Mar 2020, 14:35:58 UTC - in response to Message 2041071.  
Last modified: 28 Mar 2020, 14:39:29 UTC

My current set has

# 208.68.240.118	setiboincdata.ssl.berkeley.edu	# upload server Aug 2017
# 208.68.240.119	boinc2.ssl.berkeley.edu		# download server Aug 2017
# 208.68.240.126	setiboinc.ssl.berkeley.edu	# scheduler Aug 2017
# 208.68.240.127	boinc2.ssl.berkeley.edu		# download server Aug 2017
# 208.68.240.110	setiathome.berkeley.edu		# website Aug 2017
But your device really should have access to a DNS server - either via static IP configuration or via DHCP.
ID: 2041076 · Report as offensive     Reply Quote
Profile Link
Avatar

Send message
Joined: 18 Sep 03
Posts: 834
Credit: 1,807,369
RAC: 0
Germany
Message 2041079 - Posted: 28 Mar 2020, 14:51:29 UTC
Last modified: 28 Mar 2020, 14:58:17 UTC

Have you updated ca-bundle.crt to the current version? The one supplied with NativeBOINC stopped working for me a while ago, at least for SETI.

You can use TotalCommander to view or edit cc_config or copy a new ca-bundle.crt to the device, but I think it needs to be rooted.
ID: 2041079 · Report as offensive     Reply Quote
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6318
Credit: 106,370,077
RAC: 121
Russia
Message 2041090 - Posted: 28 Mar 2020, 15:58:46 UTC - in response to Message 2041079.  
Last modified: 28 Mar 2020, 15:59:06 UTC

Have you updated ca-bundle.crt to the current version? The one supplied with NativeBOINC stopped working for me a while ago, at least for SETI.

You can use TotalCommander to view or edit cc_config or copy a new ca-bundle.crt to the device, but I think it needs to be rooted.

Unfortunately it installed into internal memory so no access via TC (phone not rooted). Will move to SD and try then, thanks all!
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 2041090 · Report as offensive     Reply Quote
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6318
Credit: 106,370,077
RAC: 121
Russia
Message 2044389 - Posted: 12 Apr 2020, 17:18:31 UTC - in response to Message 2041079.  
Last modified: 12 Apr 2020, 17:25:01 UTC

Have you updated ca-bundle.crt to the current version? The one supplied with NativeBOINC stopped working for me a while ago, at least for SETI.

You can use TotalCommander to view or edit cc_config or copy a new ca-bundle.crt to the device, but I think it needs to be rooted.


Today I managed to enable HTTP debug (as Richard suggested long ago) on HTC Evo with NativeBOINC on SD card. It suffers from same issues.
Can't connect to E@h too.

So, I got strings in log about certificate refusal. Your hint should work.
Will check it in few minutes.

EDIT: not so easy... only data folder on SD, but not binary, And certificate file in binary folder...
Any ideas how to update it on non-rooted phones?
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 2044389 · Report as offensive     Reply Quote
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6318
Credit: 106,370,077
RAC: 121
Russia
Message 2044392 - Posted: 12 Apr 2020, 17:26:43 UTC - in response to Message 2044389.  
Last modified: 12 Apr 2020, 17:28:42 UTC

Any ideas how to update it on non-rooted phones?

What if I replace that file just inside APK pack? Will it fail with CRC error?

Maybe to disable HTTPS ? Switch to HTTP 1 or smth alike?
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 2044392 · Report as offensive     Reply Quote
Profile Link
Avatar

Send message
Joined: 18 Sep 03
Posts: 834
Credit: 1,807,369
RAC: 0
Germany
Message 2044401 - Posted: 12 Apr 2020, 19:22:31 UTC
Last modified: 12 Apr 2020, 19:30:23 UTC

Unfortunately no idea... never played much around with not rooted phone. Updating inside the APK should actually also update the CRC, just like if you repack a zip or whatever, otherwise it would be pointless to have the possibility to update APKs at all, but I have never done it myself, so this is just a guess.
ID: 2044401 · Report as offensive     Reply Quote
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6318
Credit: 106,370,077
RAC: 121
Russia
Message 2044447 - Posted: 12 Apr 2020, 23:54:21 UTC - in response to Message 2044401.  

Unfortunately no idea... never played much around with not rooted phone. Updating inside the APK should actually also update the CRC, just like if you repack a zip or whatever, otherwise it would be pointless to have the possibility to update APKs at all, but I have never done it myself, so this is just a guess.


I'm afraid APK has some sort of additional (versus ordinary archive) CRC/signature check to prevent virus /trojan addition to well-known apps. But worth trying. I have NativeBOINC APK so will try...
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 2044447 · Report as offensive     Reply Quote

Message boards : Number crunching : NativeBOINC can't connect SETI project on some devices


 
©2021 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.