Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_autoupdate (Read 44695 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_autoupdate

Reply #50
Ah, I didn't understand that it does that each and every time you try to update.
The requests sure do come to the server fine, for example:
2010-04-21 02:42:51.647 INFO: [68.104.xxx.xxx] OK - Type 1, 31 components, 14 known, 2 updated, no stats.

So something on your network might either truncate or otherwise mangle the response content (how are you connected to the Internet?), or the signature verifier doesn't work for some other reason, maybe broken WinCrypt (which I could imagine for example on one of those shaddy "stripped" Windows editions; what version of what OS do you use?).
Full-quoting makes you scroll past the same junk over and over.

foo_autoupdate

Reply #51
Yirkha,


[Autoupdate] I/O error: Invalid content signature.

I'm on XP  Home  SP3

foo_autoupdate

Reply #52
The question is whether every attempt ends like that or it's only an intermittent problem, hinting towards network instability.
Full-quoting makes you scroll past the same junk over and over.

foo_autoupdate

Reply #53
every attempt , 10MB broadband link. 

2nd edit Just tried it on Win  7 (Home Premium)  laptop same config  same error

foo_autoupdate

Reply #54
Hrm, that's stupid.
If you are willing to do more debugging, please try running this tiny program and post its output here. It just sends a dummy request similar to what the component does and spits out the response from the server - I'll look at it to see why it thinks the response is not valid.
Full-quoting makes you scroll past the same junk over and over.


foo_autoupdate

Reply #56
Yirkha,

Here's my output as well. Thanks for your assistance.

Code: [Select]
Connecting to 88.146.119.175:80...
  00000000:  48 54 54 50  2F 31 2E 31  20 32 30 30  20 4F 4B 0D  HTTP/1.1 200 OK.
  00000010:  0A 44 61 74  65 3A 20 54  68 75 2C 20  32 32 20 41  .Date: Thu, 22 A
  00000020:  70 72 20 32  30 31 30 20  30 38 3A 30  30 3A 30 31  pr 2010 08:00:01
  00000030:  20 47 4D 54  0D 0A 53 65  72 76 65 72  3A 20 41 70    GMT..Server:Ap
  00000040:  61 63 68 65  0D 0A 58 2D  46 42 32 4B  41 55 2D 53  ache..X-FB2KAU-S
  00000050:  69 67 6E 61  74 75 72 65  3A 20 65 41  6D 38 32 4D  ignature: eAm82M
  00000060:  7A 38 4E 4C  63 2B 4E 51  54 6B 34 78  46 58 61 2B  z8NLc+NQTk4xFXa+
  00000070:  74 6A 4F 65  73 57 44 78  6B 70 6F 5A  2B 43 55 42  tjOesWDxkpoZ+CUB
  00000080:  73 49 44 43  4C 77 2B 43  47 50 6B 41  2F 57 65 6A  sIDCLw+CGPkA/Wej
  00000090:  65 54 4A 2B  51 77 50 6D  70 77 63 47  32 34 77 70  eTJ+QwPmpwcG24wp
  000000A0:  37 6A 49 48  77 6A 58 54  46 79 7A 6A  77 67 4E 67  7jIHwjXTFyzjwgNg
  000000B0:  3D 3D 0D 0A  43 6F 6E 74  65 6E 74 2D  4C 65 6E 67  ==..Content-Leng
  000000C0:  74 68 3A 20  35 34 0D 0A  43 61 63 68  65 2D 43 6F  th: 54..Cache-Co
  000000D0:  6E 74 72 6F  6C 3A 20 6D  61 78 2D 61  67 65 3D 37  ntrol: max-age=7
  000000E0:  32 30 30 0D  0A 45 78 70  69 72 65 73  3A 20 54 68  200..Expires:Th
  000000F0:  75 2C 20 32  32 20 41 70  72 20 32 30  31 30 20 31  u, 22 Apr 2010 1
  00000100:  30 3A 30 30  3A 30 31 20  47 4D 54 0D  0A 43 6F 6E  0:00:01 GMT..Con
  00000110:  6E 65 63 74  69 6F 6E 3A  20 63 6C 6F  73 65 0D 0A  nection: close..
  00000120:  43 6F 6E 74  65 6E 74 2D  54 79 70 65  3A 20 74 65  Content-Type:te
  00000130:  78 74 2F 68  74 6D 6C 0D  0A 0D 0A 7B  22 6B 65 79  xt/html....{"key
  00000140:  22 3A 22 62  6C 61 68 68  74 74 70 3A  5C 2F 5C 2F  ":"blahhttp:\/\/
  00000150:  66 62 32 6B  2E 66 75 64  2E 63 7A 5C  2F 61 75 22  fb2k.fud.cz\/au"
  00000160:  2C 22 76 65  72 73 69 6F  6E 22 3A 22  31 2E 30 22  ,"version":"1.0"
  00000170:  7D                                                  }
Connection closed.
OK, all done.
Copy the above to clipboard if needed and press ENTER to close.

foo_autoupdate

Reply #57
Aha, I see what happens, thank you!
Fortunately it's solvable on the server side, I think.
Please try updating now.

ETA: OK, I already see it works for you, sonvolt. Great!
Full-quoting makes you scroll past the same junk over and over.

foo_autoupdate

Reply #58
Fraid not  Yirkha,  getting same error on both  XP & WIN 7  Systems.  Let me know if you want me to try anything.  New test result if it helps

Code: [Select]
Connecting to 88.146.119.175:80...
  00000000:  48 54 54 50  2F 31 2E 31  20 32 30 30  20 4F 4B 0D  HTTP/1.1 200 OK.
  00000010:  0A 44 61 74  65 3A 20 54  68 75 2C 20  32 32 20 41  .Date: Thu, 22 A
  00000020:  70 72 20 32  30 31 30 20  31 33 3A 33  39 3A 31 32  pr 2010 13:39:12
  00000030:  20 47 4D 54  0D 0A 53 65  72 76 65 72  3A 20 41 70    GMT..Server:Ap
  00000040:  61 63 68 65  0D 0A 58 2D  46 42 32 4B  41 55 2D 53  ache..X-FB2KAU-S
  00000050:  69 67 6E 61  74 75 72 65  3A 20 65 41  6D 38 32 4D  ignature: eAm82M
  00000060:  7A 38 4E 4C  63 2B 4E 51  54 6B 34 78  46 58 61 2B  z8NLc+NQTk4xFXa+
  00000070:  74 6A 4F 65  73 57 44 78  6B 70 6F 5A  2B 43 55 42  tjOesWDxkpoZ+CUB
  00000080:  73 49 44 43  4C 77 2B 43  47 50 6B 41  2F 57 65 6A  sIDCLw+CGPkA/Wej
  00000090:  65 54 4A 2B  51 77 50 6D  70 77 63 47  32 34 77 70  eTJ+QwPmpwcG24wp
  000000A0:  37 6A 49 48  77 6A 58 54  46 79 7A 6A  77 67 4E 67  7jIHwjXTFyzjwgNg
  000000B0:  3D 3D 0D 0A  43 6F 6E 74  65 6E 74 2D  4C 65 6E 67  ==..Content-Leng
  000000C0:  74 68 3A 20  35 34 0D 0A  43 61 63 68  65 2D 43 6F  th: 54..Cache-Co
  000000D0:  6E 74 72 6F  6C 3A 20 6D  61 78 2D 61  67 65 3D 33  ntrol: max-age=3
  000000E0:  30 0D 0A 45  78 70 69 72  65 73 3A 20  54 68 75 2C  0..Expires: Thu,
  000000F0:  20 32 32 20  41 70 72 20  32 30 31 30  20 31 33 3A    22 Apr 2010 13:
  00000100:  33 39 3A 34  32 20 47 4D  54 0D 0A 43  6F 6E 6E 65  39:42 GMT..Conne
  00000110:  63 74 69 6F  6E 3A 20 63  6C 6F 73 65  0D 0A 43 6F  ction: close..Co
  00000120:  6E 74 65 6E  74 2D 54 79  70 65 3A 20  61 70 70 6C  ntent-Type: appl
  00000130:  69 63 61 74  69 6F 6E 2F  6A 73 6F 6E  0D 0A 0D 0A  ication/json....
  00000140:  7B 22 6B 65  79 22 3A 22  62 6C 61 68  68 74 74 70  {"key":"blahhttp
  00000150:  3A 5C 2F 5C  2F 66 62 32  6B 2E 66 75  64 2E 63 7A  :\/\/fb2k.fud.cz
  00000160:  5C 2F 61 75  22 2C 22 76  65 72 73 69  6F 6E 22 3A  \/au","version":
  00000170:  22 31 2E 30  22 7D                                  "1.0"}
Connection closed.
OK, all done.
Copy the above to clipboard if needed and press ENTER to close.

foo_autoupdate

Reply #59
Meh, OK. I tried just the less evil fix first and thought it did work according to the logs.
Changed again, should work this time finally.
Full-quoting makes you scroll past the same junk over and over.

foo_autoupdate

Reply #60

Yirkha many thanks  fixed now on both systems,  out of curiosity  what was the problem? 

foo_autoupdate

Reply #61
There is some kind of a transparent proxy along the way, probably ran by your ISP, which stubbornly decodes everything which comes from the server marked as deflated and sends it to you uncompressed. The security signature then doesn't match the message anymore and the response is rejected. I don't know why it does that, maybe they charge by transferred data and it's a sneaky way to increase profits? 
Anyway, I changed the headers that they don't hint about the content a bit, so everything comes through unchanged.
Full-quoting makes you scroll past the same junk over and over.

foo_autoupdate

Reply #62
new version of Esplaylist "EsPlaylist v0.1.1.0 beta 4.1"
is idetified incorrectly as
"EsPlaylist 0.1.1.0 beta (0.1.1.0 beta 3 to 4.1)"

foo_autoupdate

Reply #63
Big thanks Yirkha,
does work just perfectly.

*Thumbs Up*


foo_autoupdate

Reply #64
Components list was changed at some point: http://fb2k.fud.cz/stats/comp
Instead "popularity" we now have "known version": can former option be back, or is there some hidden switch?

foo_autoupdate

Reply #65
Unfortunately, calculating the popularity count is quite complex query ("Query_time: 25  Lock_time: 0  Rows_sent: 418  Rows_examined: 5512737 Using where; Using index; Using temporary; Using filesort", if you speak MySQL) and I had to remove it.

The whole statistics presentation subsystem should be rewritten to rather generate aggregated values for fixed periods of time instead of working on the live values, there wouldn't be such problems then.
Full-quoting makes you scroll past the same junk over and over.

foo_autoupdate

Reply #66
component shows status "newer" (or won't update if user has previous version) for:

core 1.1 beta 1
foo_ui_columns 0.3.8.7
foo_input_tta 2.4.4

they are properly reported here: http://foobar2000.xrea.jp/index.php?%E6%9B...%8A%B6%E6%B3%81
not sure about versioning for tta input

foo_autoupdate

Reply #67
The official repositories have bigger priority than the xrea.jp wiki. No fb2k beta version is reported because the latest fb2k version at foobar2000.org/download is still the stable 1.0.3. The reasoning is not to give offer betas to unsuspecting users.

Regarding foo_ui_columns, there was apparently a bug in the parsing, leaving some updates go unnoticed. I fixed that now, expect up to 5 new updates during next check

The TTA issue is simple. The entry was parsed from the wiki as "TTA Input Plug-In v3.0 for foobar2000" - "v1.0" - "(foo_input_tta.dll)" instead of "TTA Input Plug-In" - "v3.0" - "(foo_input_tta.dll)". I really can't make it understand every possible way to describe the component version... But I've edited the relevant record in the DB manually, should be fine now.

Thanks for the feedback.
Full-quoting makes you scroll past the same junk over and over.

foo_autoupdate

Reply #68
OK, thanks for your work

I was using old CUI version for a month is seems as I didn't noticed that tiny musicmusic post announcement in CUI thread, and accidentally browsing yuo.be I noticed new CUI version and even tried to announce it in CUI thread
silly me

foo_autoupdate

Reply #69
I'm curious what could be relation between this component and new foobar2000 possibility to update components from the main components repository page?

Does your experiances in this (huge) project helped in directions where this new foobar2000 update feature is headed?
Will there be joint?
Will you continue to provide support from xrea.jp foobar2000 wiki pages?

It looks like a lot of nice work is implemented here and even CSS used in fb2k.fud.cz makes it look like official foobar2000 appearance
I just want to be sure that this component wouldn't be run over

foo_autoupdate

Reply #70
The component management system changes in v1.1 have been planned for a longer period of time, I have been working on some kind of a update notification component inconsistently for a long time too, both things released not long apart is just a coincidence and there is not direct connection. However I've naturally shared some design ideas and experiences with Peter when he was implementing the core updating system.

I don't have definite plans for shutting down the server or anything, among other reasons because I enjoy being notified about updates automatically. But the component could of course use some updates for v1.1, wording of the message when you press [Download & Install], opening "Components" preferences for you to drag the components over rather than the components folder etc. Maybe when v1.1 hits final.
Full-quoting makes you scroll past the same junk over and over.

foo_autoupdate

Reply #71
I don't have definite plans for shutting down the server or anything, among other reasons because I enjoy being notified about updates automatically. But the component could of course use some updates for v1.1, wording of the message when you press [Download & Install], opening "Components" preferences for you to drag the components over rather than the components folder etc. Maybe when v1.1 hits final.

I'm very relieved to hear this.  When I first installed the latest beta, I was worried that this component would die off.  In addition to automatic update notifications, this component isn't limited to the official component repository.  Some of my components aren't available in the default repository, and I doubt Peter will ever allow updating these.  So, your component is the only one that lets me reliably check for updates to these components.

foo_autoupdate

Reply #72
Now that foobar2000 1.1 is reality I think many will ask about the role of foo_autoupdate.
Has this component been superseded by official core updating routines or maybe some components
can only be comfortably updated through Yirkha's components?

Many thanks

foo_autoupdate

Reply #73
Please see my reply in the post #71 above.
Full-quoting makes you scroll past the same junk over and over.

foo_autoupdate

Reply #74
Hi,

I've managed to make some changes to this component, mainly for compatibility with foobar2000 v1.1. If you could test the new version below, your comments and suggestions will be welcome.


2 beta (2010-09-23)
  • New: Reworked "Download and install" procedure to cope with the built-in component management system and other things.
  • New: Uses zlib1.dll bundled with core, needs foobar2000 v1.1 or newer.
  • New: Sends random unique "installation ID" for better statistics processing in the future (naturally only if sending statistics is generally enabled).
  • Fix: "Download and install" button enabled even when there are no updates to install.
  • Fix: Updated to latest version of external JSON parser library.
  • Fix: Updated the dialogs to new foobar2000 v1.1 style.
  • Fix: Parsing of HTML entities (superfluous semicolons).
  • Other minor corrections.


Because this is a pre-release, you won't get notified about the beta automatically. However downloading the following .zip archive and dragging it onto the "Components" preferences page should be fine for most people.
foo_autoupdate-v2-beta.zip (128 KB)


Additionally, I'm of course making some changes at the server side every now and then to keep the whole thing running smoothly, but they are mostly tiny and don't deserve to be mentioned.
Full-quoting makes you scroll past the same junk over and over.