Opened 14 years ago

Closed 14 years ago

#1044 closed Defect (wontfix)

Boinc creates badly formatted xml files

Reported by: LiSrt Owned by: davea
Priority: Major Milestone: Undetermined
Component: Account Manager System Version: 6.10.58
Keywords: xml host_authentictoor Cc:

Description

In my boinc directory there are two files (which I assume boinc has created) that contain badly formatted xml, the files are:

acct_mgr_login.xml acct_mgr_request.xml

The fault appears to be that the tag <host_authenticator> is closed by </host_authentictoor>, which is invalid.

This results in the error: acct_mgr_request empty or corrupt! This is a host problem! when synchronising with the account manager (BAM)

I'm running Boinc for 64 bit Linux.

the text in the files is below, "personal" info replaced with Xs:

acct_mgr_login.xml

<acct_mgr_login>
    <login>XXXXXXXXXX</login>
    <password_hash>XXXXXXXXXXXXXXXXXXXX</password_hash>
    <previous_host_cpid>XXXXXXXXXXXXXXXXXXXXXXXXXX</previous_host_cpid>
    <next_rpc_time>XXXXXXXXXXXXXXXXXXXXxx</next_rpc_time>
    <opaque>
<host_authenticator>XXXXXXXXXXXXXXXXXXXXXXXXXXX</host_authentictoor>
    </opaque>
</acct_mgr_login>

acct_mgr_request.xml

<acct_mgr_request>
   <name>XXXXXXXXXXXXXXXXXXXXxx</name>
   <password_hash>XXXXXXXXXXXXXXXXXXXx</password_hash>
   <host_cpid>XXXXXXXXXXXXXXXXXXXXX</host_cpid>
   <domain_name>XXXXXXXXXXXXXXXXXXX</domain_name>
   <client_version>6.10.58</client_version>
   <run_mode>auto</run_mode>
   <previous_host_cpid>XXXXXXXXXXXXXXXXXXXX</previous_host_cpid>
   
(I removed the long list of projects that was here after copypasting.)


<global_preferences>
<source_project>http://bam.boincstats.com/</source_project>
<mod_time>1296306490</mod_time>
<cpu_scheduling_period_minutes>40</cpu_scheduling_period_minutes>
<idle_time_to_run>1</idle_time_to_run>
<suspend_if_no_recent_input>0</suspend_if_no_recent_input>
<work_buf_min_days>1.0000000</work_buf_min_days>
<work_buf_additional_days>10.0000000</work_buf_additional_days>
<max_cpus>64</max_cpus>
<max_ncpus_pct>100</max_ncpus_pct>
<cpu_usage_limit>100</cpu_usage_limit>
<suspend_cpu_usage>90</suspend_cpu_usage>
<disk_interval>60</disk_interval>
<disk_max_used_gb>20.0</disk_max_used_gb>
<disk_max_used_pct>20</disk_max_used_pct>
<disk_min_free_gb>2.0</disk_min_free_gb>
<vm_max_used_pct>0</vm_max_used_pct>
<ram_max_used_busy_pct>50</ram_max_used_busy_pct>
<ram_max_used_idle_pct>50</ram_max_used_idle_pct>
<max_bytes_sec_down>200000</max_bytes_sec_down>
<max_bytes_sec_up>100000</max_bytes_sec_up>
<start_hour>0</start_hour>
<end_hour>0</end_hour>
<net_start_hour>0</net_start_hour>
<net_end_hour>0</net_end_hour>
<run_if_user_active>1</run_if_user_active>
</global_preferences>
   <opaque>
<host_authenticator>XXXXXXXXXXXXXXXXXXXXXXXX</host_authentictoor>
   </opaque>
</acct_mgr_request>

Change History (2)

comment:1 Changed 14 years ago by LiSrt

Component: UndeterminedAccount Manager System
Owner: set to davea
Priority: UndeterminedMajor

This is also described on the boincstats forum http://boincstats.com/forum/forum_thread.php?id=5198

I selected "Major" because it appears to prevent account manager synchronisation.

comment:2 Changed 14 years ago by davea

Resolution: wontfix
Status: newclosed

This is a BOINCstats problem; they're passing bad opaque data to BOINC.

I'll put the opaque data inside <![CDATA[ to ensure that the overall request message is valid even if the opaque data isn't.

Note: See TracTickets for help on using tickets.