Thanks, this looks like something I need to fix!yes. i set localhost port 6531 for both http and https proxy.
Thanks, this looks like something I need to fix!yes. i set localhost port 6531 for both http and https proxy.
libMacportsLegacySupport.dylib comes from the MacPorts project. Make sure to compile for 32 bit.@Wowfunhappy good afternoon man, i try recopile your aquaproxy from i386, but this missing dylib
insert_dylib --inplace libWowfunhappyLegacySupport.dylib Aqua-HTTP-Proxy
insert_dylib --inplace libMacportsLegacySupport.dylib Aqua-HTTP-Proxy
insert_dylib --inplace libWowfunhappyLegacySupport.dylib Aqua-IMAP-Proxy
insert_dylib --inplace libMacportsLegacySupport.dylib Aqua-IMAP-Proxy
please, you can receive me ?
Thanks my friend, i'll try for now.libMacportsLegacySupport.dylib comes from the MacPorts project. Make sure to compile for 32 bit.
libWowfunhappyLegacySupport.dylib is a dylib containing this, but it shouldn't be necessary with the older version of Go already necessitated for 32 bit support.
I will get to this myself at some point, but "at some point" might be next summer.
10/01/26 23:21:17,060 com.apple.lookupd[3604]: CFNetwork SSLHandshake failed (-9824)
10/01/26 23:21:39,227 com.apple.lookupd[3604]: CFNetwork SSLHandshake failed (-9824)
10/01/26 23:24:48,568 com.apple.lookupd[3604]: CFNetwork SSLHandshake failed (-9824)
10/01/26 23:35:11,543 com.apple.lookupd[3604]: CFNetwork SSLHandshake failed (-9824)
What OS? It's working for me on Mavericks.Wikipedia stopped delivering the content.
GET /w/api.php?action=opensearch&search=apple&limit=1 HTTP/1.1
Host: en.wikipedia.org
User-Agent: AppleDictionaryService/208
Connection: close
Proxy-Connection: close
Pragma: no-cache
Cache-Control: no-cache
Unauthorized request. Please contact bot-traffic@wikimedia.org to request unblocking. Reference: 80be951.
Thanks.since approximately yesterday, wikipedia's api has been blocking requests (403) with AppleDictionaryService in the user agent header. as a result, wikipedia results no longer show up in dictionary. removing/changing the user agent fixes this issue. is this change possible in aquaproxy?
Request served via cp3078 cp3078,
Varnish XID 57298864
Upstream caches: cp3078
intError: 429, Too many requests (76af2b0) at Sat, 14 Mar 2026 11:56:32 GMT
Sensitive client information
IP address: 95.101.60.87
| GET /upload.wikimedia.org/wikipedia/commons/thumb/1/1c/Germanic_%E2%80%93_Romance_language_border_map_%28early_Middle_Ages_%E2%80%93_early_twentieth_century%29.svg/500px-Germanic_%E2%80%93_Romance_language_border_map_%28early_Middle_Ages_%E2%80%93_early_twentieth_century%29.svg.png HTTP/1.1 | |
| Host | lookup-api.apple.com |
| Accept | image/png,image/svg+xml,image/*;q=0.8,video/*;q=0.8,*/*;q=0.5 |
| Accept-Language | en-us |
| Connection | keep-alive |
| Accept-Encoding | br, gzip, deflate |
| User-Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) AppleDictionaryApplication/203.16.12 |
try setting a Referer header to http://localhost/. for some reason i found that this bypasses the restrictions. no clue why this works.To insert my two cents, content loading has been screwed in Mojave's Wiki-Dictionary, too. It displays an article's textual body; however, it falters on pictures. The defect manifests regularly, although the pictures suffer in random order. When the failures occur, Charles shows these connections as dropped ones. Additionally, the Response HTML view contains the following message, which suggests it be reported to "a Web Admin":
HTML:Request served via cp3078 cp3078, Varnish XID 57298864 Upstream caches: cp3078 intError: 429, Too many requests (76af2b0) at Sat, 14 Mar 2026 11:56:32 GMT Sensitive client information IP address: 95.101.60.87
View attachment 2613920
For some reason, media resource requests are now categorised as intrusive. This reason could be the echo of the advanced warning from the Wikipedia authorities that I received several days ago as a registered member (not a dev). Here it is:
As previously announced, we have started rolling out new global API rate limits across our APIs to help ensure fair and sustainable access to Wikimedia resources.
We have just enabled the first set of limits, which apply to anonymous requests from bots and unauthenticated requests from web browsers. See the documentation on mediawiki.org for more information. This has now been updated with actual limits for anonymous requests and authenticated bot requests that do not come from WMCS. We are still finalizing the initial limits for User-Agent only (e.g. InstantCommons) and authenticated browser requests.
As a next step, rate limits for logged in users will follow in early April. The concrete limits will be communicated beforehand. Access for clients running in WMCS and accounts that have a bot flag will not be affected by this change. However, all developers are advised to familiarize themselves with the new limits and follow the best practices outlined in the documentation.
Currently, the form of the request's headers is
GET /upload.wikimedia.org/wikipedia/commons/thumb/1/1c/Germanic_%E2%80%93_Romance_language_border_map_%28early_Middle_Ages_%E2%80%93_early_twentieth_century%29.svg/500px-Germanic_%E2%80%93_Romance_language_border_map_%28early_Middle_Ages_%E2%80%93_early_twentieth_century%29.svg.png HTTP/1.1 Host lookup-api.apple.com Accept image/png,image/svg+xml,image/*;q=0.8,video/*;q=0.8,*/*;q=0.5 Accept-Language en-us Connection keep-alive Accept-Encoding br, gzip, deflate User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) AppleDictionaryApplication/203.16.12
try setting a Referer header to http://localhost/. for some reason i found that this bypasses the restrictions. no clue why this works.
@iPodNano3 Just wondering if you ever reached out to that Wikipedia email? As I said I'd very much like to not fight them; I'd like to know what they would like us to do.
from what i can see, you don't have ssl proxying enabled with wikipedia. right click on the host name https://en.wikipedia.org and enable ssl proxying. to clarify, the header needs to be added to the wikipedia request, lookup-api is just a server in the middle to give dictionary the wikipedia url and doesn't care about headers.OK, I figured out how, but adding "Referer" didn't help. It actually rendered all images blank (this is Mojave, not Mavericks).
So far, fails in Mavericks too. The latter was hit harder. It won't load articles at all.
View attachment 2614536
macOS makes two requests to fetch Wiki data. One is to the host "lookup-api...", the other "en.wikipedia.org". Yours seems to store a different structure. The headers are swapped places, and so are the methods: speaking of "en.wikipedia.org", your GET is my CONNECT. Some headers are absent with me (Pragma, Cache-Control). It's messy.
View attachment 2614538
thats weird. i can see it says Complete in the request to upload.wikimedia.org. do you have ssl proxying with that host enabled? does it just display the blue square with a question mark in dictionary?Lion's Wikipedia won't load images (none whatsoever) even with the rewrite rules applied. Text is OK.
View attachment 2615117
curl -H "Host: upload.wikimedia.org" -H "User-Agent: " -H "Proxy-Connection: close" -H "Referer: http://localhost/" http://upload.wikimedia.org/wikipedia/commons/thumb/2/25/Maximilian_gA_1497.jpg/250px-Maximilian_gA_1497.jpg
hmm, too many requests should be bypassed if the referer header is present. are you sure its on the requests?Yes, upload.wikimedia.org is SSL-proxied. The 301 request's cURL is
Bash:curl -H "Host: upload.wikimedia.org" -H "User-Agent: " -H "Proxy-Connection: close" -H "Referer: http://localhost/" http://upload.wikimedia.org/wikipedia/commons/thumb/2/25/Maximilian_gA_1497.jpg/250px-Maximilian_gA_1497.jpg
I searched for another entry and got a mixture of good and bad requests (including "too many requests"):
View attachment 2615186View attachment 2615187