Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BOINC reports project successfully added when it is not #5946

Open
makeasnek opened this issue Dec 12, 2024 · 0 comments
Open

BOINC reports project successfully added when it is not #5946

makeasnek opened this issue Dec 12, 2024 · 0 comments

Comments

@makeasnek
Copy link
Member

makeasnek commented Dec 12, 2024

Describe the bug

Minor bug but thought it should be reported regardless. Came across this bug while trying to add a project built from boinc-server-docker. I originally built the docker image w the IP of 127.0.0.1 but then tried to change it to a local IP (edited config.xml and html/user/schedulers.txt, then did bin/stop, bin/start and everything appeared to work).

Then, in BOINC manager (8.10, windows x64), on another machine, I did add project and created a new account. That process appeared to go smoothly with BOINC manager reporting the project had been added succesfully, however it does not appear in the project list. When the browser window opened to finish account creation at account_finish.php?auth=, the auth component has no value (in the URL bar, but perhaps it was forwarded idk) and the loaded page says "Unable to handle request no such account".

Clearly re-installing BOINC server with the correct IP will fix this issue.

Log is below:

12/11/2024 5:30:08 PM |  | Fetching configuration file from http://192.168.0.111/boincserver/get_project_config.php
12/11/2024 5:30:08 PM |  | [http] HTTP_OP::init_get(): http://192.168.0.111/boincserver/get_project_config.php
12/11/2024 5:30:08 PM |  | [http] [ID#2] Info:  Connection 28 seems to be dead
12/11/2024 5:30:08 PM |  | [http] [ID#2] Info:  shutting down connection #28
12/11/2024 5:30:08 PM |  | [http] [ID#2] Info:  Hostname in DNS cache was stale, zapped
12/11/2024 5:30:08 PM |  | [http] [ID#2] Info:    Trying 192.168.0.111:80...
12/11/2024 5:30:08 PM |  | [http] [ID#2] Info:  Connected to 192.168.0.111 (192.168.0.111) port 80
12/11/2024 5:30:08 PM |  | [http] [ID#2] Info:  using HTTP/1.x
12/11/2024 5:30:08 PM |  | [http] [ID#2] Sent header to server: GET /boincserver/get_project_config.php HTTP/1.1
12/11/2024 5:30:08 PM |  | [http] [ID#2] Sent header to server: Host: 192.168.0.111
12/11/2024 5:30:08 PM |  | [http] [ID#2] Sent header to server: User-Agent: BOINC client (windows_x86_64 8.1.0)
12/11/2024 5:30:08 PM |  | [http] [ID#2] Sent header to server: Accept: */*
12/11/2024 5:30:08 PM |  | [http] [ID#2] Sent header to server: Accept-Encoding: deflate, gzip
12/11/2024 5:30:08 PM |  | [http] [ID#2] Sent header to server: Accept-Language: en_US
12/11/2024 5:30:08 PM |  | [http] [ID#2] Sent header to server:
12/11/2024 5:30:08 PM |  | [http] [ID#2] Info:  Request completely sent off
12/11/2024 5:30:09 PM |  | [http] [ID#2] Received header from server: HTTP/1.1 200 OK
12/11/2024 5:30:09 PM |  | [http] [ID#2] Received header from server: Date: Thu, 12 Dec 2024 01:30:09 GMT
12/11/2024 5:30:09 PM |  | [http] [ID#2] Received header from server: Server: Apache/2.4.62 (Debian)
12/11/2024 5:30:09 PM |  | [http] [ID#2] Received header from server: X-Powered-By: PHP/8.4.1
12/11/2024 5:30:09 PM |  | [http] [ID#2] Received header from server: Vary: Accept-Encoding
12/11/2024 5:30:09 PM |  | [http] [ID#2] Received header from server: Content-Encoding: gzip
12/11/2024 5:30:09 PM |  | [http] [ID#2] Received header from server: Content-Length: 338
12/11/2024 5:30:09 PM |  | [http] [ID#2] Received header from server: Content-Type: text/xml;charset=UTF-8
12/11/2024 5:30:09 PM |  | [http] [ID#2] Received header from server:
12/11/2024 5:30:09 PM |  | [http_xfer] [ID#2] HTTP: wrote 710 bytes
12/11/2024 5:30:09 PM |  | [http] [ID#2] Info:  Connection #29 to host 192.168.0.111 left intact
12/11/2024 5:30:19 PM |  | [http] HTTP_OP::init_get(): http://192.168.0.111/boincserver/create_account.php?email_addr=testtes2ttfffest%40test%2Ecom&passwd_hash=7c1ef8b28a7f1766468d4cea29012ce1&user_name=user
12/11/2024 5:30:19 PM |  | [http] [ID#2] Info:  Connection 29 seems to be dead
12/11/2024 5:30:19 PM |  | [http] [ID#2] Info:  shutting down connection #29
12/11/2024 5:30:19 PM |  | [http] [ID#2] Info:  Hostname 192.168.0.111 was found in DNS cache
12/11/2024 5:30:19 PM |  | [http] [ID#2] Info:    Trying 192.168.0.111:80...
12/11/2024 5:30:19 PM |  | [http] [ID#2] Info:  Connected to 192.168.0.111 (192.168.0.111) port 80
12/11/2024 5:30:19 PM |  | [http] [ID#2] Info:  using HTTP/1.x
12/11/2024 5:30:19 PM |  | [http] [ID#2] Sent header to server: GET /boincserver/create_account.php?email_addr=testtes2ttfffest%40test%2Ecom&passwd_hash=7c1ef8b28a7f1766468d4cea29012ce1&user_name=user HTTP/1.1
12/11/2024 5:30:19 PM |  | [http] [ID#2] Sent header to server: Host: 192.168.0.111
12/11/2024 5:30:19 PM |  | [http] [ID#2] Sent header to server: User-Agent: BOINC client (windows_x86_64 8.1.0)
12/11/2024 5:30:19 PM |  | [http] [ID#2] Sent header to server: Accept: */*
12/11/2024 5:30:19 PM |  | [http] [ID#2] Sent header to server: Accept-Encoding: deflate, gzip
12/11/2024 5:30:19 PM |  | [http] [ID#2] Sent header to server: Accept-Language: en_US
12/11/2024 5:30:19 PM |  | [http] [ID#2] Sent header to server:
12/11/2024 5:30:19 PM |  | [http] [ID#2] Info:  Request completely sent off
12/11/2024 5:30:20 PM |  | [http] [ID#2] Received header from server: HTTP/1.1 200 OK
12/11/2024 5:30:20 PM |  | [http] [ID#2] Received header from server: Date: Thu, 12 Dec 2024 01:30:19 GMT
12/11/2024 5:30:20 PM |  | [http] [ID#2] Received header from server: Server: Apache/2.4.62 (Debian)
12/11/2024 5:30:20 PM |  | [http] [ID#2] Received header from server: X-Powered-By: PHP/8.4.1
12/11/2024 5:30:20 PM |  | [http] [ID#2] Received header from server: Vary: Accept-Encoding
12/11/2024 5:30:20 PM |  | [http] [ID#2] Received header from server: Content-Encoding: gzip
12/11/2024 5:30:20 PM |  | [http] [ID#2] Received header from server: Content-Length: 417
12/11/2024 5:30:20 PM |  | [http] [ID#2] Received header from server: Content-Type: text/xml;charset=UTF-8
12/11/2024 5:30:20 PM |  | [http] [ID#2] Received header from server:
12/11/2024 5:30:20 PM |  | [http_xfer] [ID#2] HTTP: wrote 825 bytes
12/11/2024 5:30:20 PM |  | [http] [ID#2] Info:  Connection #30 to host 192.168.0.111 left intact

Steps to reproduce

No response

Expected behavior

Project is successfully added or a failure is correctly reported to the user. There are additional checks BOINC manager/client should be performing before declaring the project successfully added.

Screenshots

No response

System information

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants