version 3.0.3 registration error after update

Hi,
I got the following message after installing the recent update-
`Could not connect to the registration server, please check your internet connection. Register within 5 day(s) to continue using the software.`
There is no issue with my internet connection. What should I do?

Hi,

sorry about that - a mistake in one of our uploads. We`ve corrected it, so hopefully running
./update
in the ccpnmr3.0.4/bin directory should sort it out (update.bat on Windows).


If that doesn`t work you`ll have to make a small manual change to one of your files.
In the Analysis folder find the following file:
...../ccpnmr3.0.4/src/python/ccpn/util/Url.py

Then at about line 50 you’ll find the following section:
if not headers:
headers = {`Content-Type`: `application/x-www-form-urlencoded;charset=UTF-8`}
body = urlencode(data, quote_via=quote).encode(`utf-8`) if data else ``
headers[`Content-Length`] = f`{len(body)}`

Comment out the last line so it becomes:
if not headers:
headers = {`Content-Type`: `application/x-www-form-urlencoded;charset=UTF-8`}
body = urlencode(data, quote_via=quote).encode(`utf-8`) if data else ``
# headers[`Content-Length`] = f`{len(body)}`

Then restart the program and should be fine again.

Vicky

Hi Vicky,
Thanks for the help; running ./update worked.

Pankaj

Hi,

I am having the same error when opening Assign, in version 3.0.4. However, running ./update did not work and yielded again this error message. In addition, the URL.py line seems to be different for this version, because i don’t have the “headers[Content-Length] = f`{len(body)}” part.

What could I do?

Thanks,

Louis

Hi again,

I managed to solve the issue by changing the wi-fi before opening CCPNMR. I then managed to open the software and get access to Project->Preferences in order modify the proxy settings to those of my institute.

Best regards,

Louis