samuong / alpaca

A local HTTP proxy for command-line tools. Supports PAC scripts and NTLM authentication.
Apache License 2.0
184 stars 31 forks source link

Some sites don't load properly #116

Open stardast opened 9 months ago

stardast commented 9 months ago

I'm using alpaca_v2.0.2_linux-amd64 and websites like figma.com and strigo.io aren't loading.

samuong commented 9 months ago

I've been able to use figma through alpaca in the past. Are you able to provide more info about what your doing? The following information would be useful:

stardast commented 9 months ago

To make sure it's not a proxy problem I tried with this pac on my home connection: function FindProxyForURL(url, host) { return "DIRECT"; } alpaca log attached: logFigma.txt the page remains partially loaded.

Thanks

samuong commented 9 months ago

From your logs, I can see you get a few errors saying write: broken pipe. It's a bit hard to say exactly what's causing this, usually when I've seen it, it's a connectivity issue. But for you, it seems like this is mostly just happening with sites like doubleclick, which I don't think would affect your Figma page from loading (but you also get one error on s3-alpha.figma.com)

Figma seems to work ok for me, at least if I just visit the front page. Are you doing more than that, maybe logging in?

Screenshot from 2023-09-15 19-31-16

stardast commented 9 months ago

Yes, the half-loaded page and the one after login. Can I enable a more detailed logging level to give you more information?

samuong commented 9 months ago

There's not really any way to enable more logging in alpaca itself, but it might be useful if you could share a screenshot of the "half-loaded page", as well as a screenshot of the DevTools Network tab showing which requests failed.