Cause of HTTP Error 404

Asked by Jon Doblados

Hi,

I ran rescuetime_linux_uploader from the CLI,
put in the needed credentials, and it starts tracking
my active windows. But when the time comes to
post updates, it spews out this message:

Traceback (most recent call last):
HTTPError: HTTP Error 404: Not Found
Connection is down. Pretending we succeeded in logging in.
Uploading data...

Is it possible that a URL in the code is no longer
being used by rescuetime?

Thanks for your inputs.

Jon

Question information

Language:
English Edit question
Status:
Answered
For:
RescueTime Linux Uploader Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
jason (jason-castonguay) said :
#1

Its a hard coded call to https://api.rescuetime.com/ on line 529 in uploader.py

that url gives a 404.

Revision history for this message
jason (jason-castonguay) said :
#2

According to Joe Hruska, that base url is depreciated but they'll look into putting something in place.

Revision history for this message
Elliot Murphy (statik) said :
#3

Thanks for noting that! Do you feel up to writing a patch?

Revision history for this message
jason (jason-castonguay) said :
#4

Well, it'd be something like the following for uploader.py , it wouldn't actually log in but test that the site is there. The site still reports that they haven't gotten an update from me, but the script says I logged in successfully. So perhaps something is still up.

529c529
< request = urllib2.Request('https://api.rescuetime.com/')
---
> request = urllib2.Request(RESCUETIME_API_URL + "handshake")

Revision history for this message
overlooking (mhnin0) said :
#5

Any progress on this? https://api.rescuetime.com/ still seems to be down.

Revision history for this message
Elliot Murphy (statik) said :
#6

Patch applied. Hope this works!

Can you help with this problem?

Provide an answer of your own, or ask Jon Doblados for more information if necessary.

To post a message you must log in.