-
Describe the problem/questionHi. I have recently added my instance to the public directory at Instance Directory. However, mine and a couple of other instances do not seem to get updated with Mozilla Observatory Rating. Is this a known issue? Is there a plan for either updating the discovery process, documenting it in the About section or documentation, or possibly dropping the Observatory Ratings in the future? Did you use the FAQ section?
What you did?
What happensObservatory Rating is not being added to multiple instances at Instance Directory. What should happenObservatory Rating is added to new instances after automatic re-evaluation. Additional informationThis may or may not originate from the recent change to how Mozilla Observatory works: scan results are no longer being made public. See Observatory FAQ here and here. Server addressServer OSDebian 11 WebserverNginx PrivateBin versionv1.7.6 Browser and versionNo response Local operating system and versionNo response Issue reproducibilityNo, I cannot reproduce it on https://privatebin.net. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Yes, see the issue and latest update in PrivateBin/Directory#128 (comment) - basically I'm looking for any input in how I can diagnose what is going wrong. When I run unit tests at home with a handful of instances it all works. When I manually run single API requests using wget on the VM this is hosted on, it also works. When the nightly cronjob launches the parallel async hyper client update off all instances, some (very few) do get updates, most requests simply time out or get empty responses. I suspect that the new API uses some kind of rate limiting that doesn't like our service opening many parallel connections? Any suggestions on how to diagnose this further and/or resolve this are highly appreciated. I'd hate to have to switch to polling the service in serial, like I did in the beginning - that used to take 15 minutes, instead of the 45 seconds it takes at the moment. |
Beta Was this translation helpful? Give feedback.
-
While I'm not a programmer by any means, my test is able to finish in under a minute and quite reliably (granted I tested it only on two geographically separate machines):
Higher number of parallel connections starts generating 5XX error codes and timeouts.
The official repository seems to be HTTP Observatory repository. Maybe creating an issue there to get some sort of guidance might get us an official reply? There already seem to be a couple of issues regarding server-side errors or timeouts when scanning using the API. |
Beta Was this translation helpful? Give feedback.
Thank you, I'll give diagnostics using curl on the host a try and update the issue with my findings. mdn/mdn-http-observatory#176 sounds relevant to this. If we too get error 500s, I can extend the logic to do a small pause then retry for those cases.