@Don Sizemore I was looking at this https://github.com/IQSS/dataverse-metrics/issues/92 :eyes: do you have this on your radar? lol
I'm guilty of making that PR. :sweat_smile:
@Juan Pablo Tosca Villanueva the history here is that, maybe a year or two ago(? too lazy to look) the global and site-specific metrics codebases were split apart, and global hasn't seen much attention since then. sounds like Stefano wants some metrics work done in general, but yes it's on my radar.
I was wondering if we should merge that pr lol!
It has a review pending from you so I was not sure :stuck_out_tongue_wink:
Before we pull a crowdstrike :rolling_on_the_floor_laughing::rolling_on_the_floor_laughing::rolling_on_the_floor_laughing:
I'm in favor of merging it (of course, as the author), but there's no need to deploy it right away. We could even make a release first.
I am down to merge it but since it was assigned to @Don Sizemore wanted to ask first lol
I did review it? https://github.com/IQSS/dataverse-metrics/pull/101
Screenshot-2024-07-26-at-09.07.47.png
Oh!
:see_no_evil:
let me know when you want me to update the code served from metrics.dataverse.org and I will.
@Don Sizemore Beware, the review comment says "pending", so you did create a draft that is not visible to someone else.
I'm happy to put our a release first, if you want. Maybe it would be a good occasion to bump to 0.3.
I merged it!
@Oliver Bertuch why in the absolute hockey sticks would GitHub create a review which is not visible to the submitting party? my only options alongside that comment are to edit/delete/report.
edit/delete/report? Should I change something?
@Don Sizemore do you happen to remember seeing this?
<urlopen error [Errno 54] Connection reset by peer>
https://borealisdata.ca had an oops: <urlopen error [Errno 54] Connection reset by peer>
Nothing is jumping out at me at https://github.com/IQSS/dataverse-metrics/issues
@Philip Durbin I opened https://github.com/IQSS/dataverse-metrics/issues/97 in response to Borealis disallowing .. but also they're behind a security device that will block anything it doesn't like
last time, I wrote to Bikram to get metrics unblocked, I think they blocked all of 3.n.n.n
@Bikram help! :grinning:
I pushed a few unrelated commits for stuff I missed in https://github.com/IQSS/dataverse-metrics/pull/101 (restore to global only).
We may have found an installation that is missing from the list in production
Is not responding
From @Don Sizemore [rocky@ip-10-0-2-188 2024-08]$ ls -al abertos
ls: cannot access 'abertos': No such file or directory
thanks for tagging Phil, how can I help? is it getting blocked again by borealis?
@Juan Pablo Tosca Villanueva it's in the config.json list, but it's not responding so there is no cached file.
@Bikram Juan Pablo is working with metrics and getting a 403 from Borealis
O okay, let me check
Thanks!
Thanks a lot @Bikram
I see only requests with 403 from these 2 IPs "96.230.239.124" "65.112.8.22"
none of these IPs is in block list. I am guessing its because of the specific request "GET /api/info/metrics/../version"
I think we have a rule in our proxy which does not allow "/../" In requests.
I see! I will give this a look, thanks for the information @Bikram t
I see IP "65.112.8.22" is gathering metrics from borealis right now.
Yikes, that's me. Sorry!
I removed "../version" from this but I still saw the error:
"endpoints": {
"single": [
"dataverses/byCategory",
"datasets/bySubject",
"../version"
],
Actually, huh. Adding time.sleep(1) seems to be helping. (Plus I still have the ../version endpoint out.)
oh I see now, its being blocked by abuse rule :grimacing:
0x2f12180: key=65.112.8.22 use=0 exp=59324 shard=0 gpc0=0 conn_rate(3000)=2 conn_cur=0 http_req_rate(10000)=8 http_err_rate(20000)=0
sorry for the confusion :pensive:
due to recent AI boom and everyone want to crawl data with bots, we have been rate limiting access to one our main service with lots of data https://journals.scholarsportal.info/ and Borealis is behind same proxy.
@Philip Durbin your method is perfect, just add a bit of delay and proxy is happy. And you can add ../version back
I dunno, I'm still seeing this:
https://borealisdata.ca/api/info/metrics/../version
https://borealisdata.ca had an oops: HTTP Error 403: Forbidden
Smells like a bug. I agree we shouldn't be sending that ...
when I do curl or use a browser to access https://borealisdata.ca/api/info/metrics/../version, the request is automatically changing to GET /api/info/version
I think its the bug with python library not transforming the request. And I was right about blocking requests with /../
Meh, I say it's a bug in our code. Here's a quick fix to get rid of the ..:
https://github.com/IQSS/dataverse-metrics/pull/103
@Juan Pablo Tosca Villanueva if you want to make a PR to add some sleep, please feel free.
We seem to need both fixes.
@Bikram thanks for all your help!
Great! Want me to merge it?
you are welcome, happy to help :smile:
Sure! Go for it!
keen.zih.tu-dresden.de seems to also be down
Huh. I guess you could create an issue for that too.
Where should I create the issue? both http://dadosabertos.rnp.br/ and http://keen.zih.tu-dresden.de/ are down or should we contact someone in there?
on the dv repo?
I would think https://github.com/IQSS/dataverse-metrics/issues
Or https://github.com/IQSS/dataverse-installations/issues
Thanks :smile:
For example https://github.com/IQSS/dataverse-installations/issues/235 or https://github.com/IQSS/dataverse-installations/issues/211
We can always move the issue to another repo.
Philip Durbin ๐ said:
Don Sizemore do you happen to remember seeing this?
<urlopen error [Errno 54] Connection reset by peer> https://borealisdata.ca had an oops: <urlopen error [Errno 54] Connection reset by peer>Nothing is jumping out at me at https://github.com/IQSS/dataverse-metrics/issues
known issue in the older metrics code. the dataverse metrics code makes use of /../ in the URL to construct the info API call, and Borealis' WAF chomps it: https://github.com/IQSS/dataverse-metrics/issues/97 (are y'all using the "global" metrics code?)
Sorry who are we talking about using the "global" metrics code?
Also, thanks for reminding me of that issue.
@Philip Durbin ๐ metrics.dataverse.org is still running the (now-deleted) global/ subdirectory version of dataverse-metrics. I can cobble in your PR there.
Or I can put out a proper release if you like!
Last updated: Nov 01 2025 at 14:11 UTC