-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CloudFlare blocking requests #13
Comments
Yeah... looks like the CloudFlare is blocking requests that don't specify a Host header in the request (I'm not supporting that in my package at the moment...). I'll see what I can come up with! Surfline is cracking down. I played around in Postman and was able to still have requests go through so not all is lost. Thanks for the heads up! I've already had to take some services down because of some other recent CloudFlare protections. |
I think it's fingerprinting the handshake. Curl works if you add a I've tried the following without success so far:
|
Yeah... I realized I was looking at another endpoint. I think some endpoints are more locked down than others. This might be a tougher one. Dang. |
Not sure if this differs from yesterday, but the |
Can you try again? Seems to be working again for me... I also see a difference in how the Surfline web app is making request now. Hopefully that wasn't a taste of what's to come 🤞 but... I have a feeling it might be |
Nice, working again! Thanks for the follow up. Also hoping it continues to work! |
Seems to still be an issue on the server calls where the browser request headers are not available. Did you guys find a solution? |
Ah, yeah... seems like we're back to being blocked. I'll make a patch that allows the inclusion of headers into the client. |
Hmm, this is proving hard to test since it only seems to happen some days... |
Also, sometimes servers can be completely blocklisted. I've had one that I had to tear down and start fresh. Things started working again after that. Also, it does seem like https://github.com/swrobel/meta-surf-forecast has been having long term luck. I wonder if it's because he always requests with an access token. I'm sure that's where Surfline will end up eventually but they aren't there yet. That said.... I don't really believe the headers do much. |
Alrighty, headers definitely do a lot. Also using cookies (since cloudflare likes those) and being logged in. |
I haven't had any recent troubles with this... I'll keep that issue for adding headers open as I think that's a good idea anyways. |
It appears CloudFlare is blocking requests now. The body of the request returns
error_code: 1020
while the status code is a 403. I think it's something to do with CloudFlare's bot protection.The text was updated successfully, but these errors were encountered: