Another case of 403 Errors. #763
Replies: 13 comments 59 replies
-
Took a look at the error string and it appears that the IP address you were cycled into was previously used by a bad actor and is triggering security controls. What we have seen is that it typically takes a varying amount of time for the IP address to no longer be seen as abusive. Our only suggestion is to try to obtain a static IP from your ISP. |
Beta Was this translation helpful? Give feedback.
-
I've been trying to figure out how to connect to/use the NWS API today for my Dakboard (the ones that are built in with the program/service are inaccurate for my location) and keep running into
Is it related? It looks like it but since the reference is different after the 18. I'm not sure. I hope though because otherwise I have no idea what's wrong |
Beta Was this translation helpful? Give feedback.
-
I started seeing the same issue a few days ago, from my home Internet connection:
|
Beta Was this translation helpful? Give feedback.
-
Linode is digging into this on their end. Update: |
Beta Was this translation helpful? Give feedback.
-
The below works for me on windows, even without the used-agent
curl -X GET "https://api.weather.gov/gridpoints/MTR/99,82/forecast" -H "accept: application/geo+json" -H "Feature-Flags: "
I sent the same request to a test server and the curl is adding the header User-Agent: curl/8.8.0 on its own
curl -X GET https://joeperkins.com/test/mgi/index.php -H "accept: application/geo+json" -H "Feature-Flags: "
Host: joeperkins.com
Connection: close
User-Agent: curl/8.8.0
Accept: application/geo+jso
From: John Price ***@***.***>
Sent: Wednesday, September 4, 2024 3:19 PM
To: weather-gov/api ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [weather-gov/api] Another case of 403 Errors. (Discussion #763)
A question from our friends at Linode:
image.png (view on web)<https://github.com/user-attachments/assets/5dee19d7-e90d-4837-8f69-1937eba8f329>
I've tried adding in the header in a call using curl. No luck. Has anyone else made calls using the recommended header with the User-Agent fields?
—
Reply to this email directly, view it on GitHub<#763 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADJHCGZ7N3OLN4OSYC5HUZTZU6BL5AVCNFSM6AAAAABNOHMBJKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANJVGEYTKMQ>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
-
Ok. We might be getting closer. Thanks to everyone for the help on this! |
Beta Was this translation helpful? Give feedback.
-
I'm seeing the same issue from an IP at DigitalOcean that's been working for months with minimal traffic. Started around the same time & forcing IPv4 also works. Makes me think some configuration has changed on NWS's side that's blocking legitimate traffic, since we have people in the thread having the same issue on Akamai/Linode, home internet, and DigitalOcean. |
Beta Was this translation helpful? Give feedback.
-
In Python, I'm making https:// GET requests using the requests library. You can restrict it to just using IPV4 with this statement:
My app is working now, but I'd have a much warmer feeling if I had an understanding of why things broke in the first place.. :/ Thanks to all for the excellent help! Very much obliged. John |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I'm not a network security expert. If api.weather.gov is blocking certain domains, why would forcing our requests into IPV4 format "solve" the issue? I'm not complaining that there's a work around, but I want to understand it better. Thanks! |
Beta Was this translation helpful? Give feedback.
-
IPv6 is a network number and MAC address (simplification) , and modern operating systems today now randomly use a new MAC address every so often to increase privacy. The only option to block a IPv6 address is to bock the enter network that can be many clients depending on network topology.
IPv6 address - Wikipedia<https://en.wikipedia.org/wiki/IPv6_address>
< Network >< MAC >
2001:0db8:85a3:0000:0000:8a2e:0370:7334
IPv6 transition mechanism - Wikipedia<https://en.wikipedia.org/wiki/IPv6_transition_mechanism>
Also when going from IPv4 to IPv6 or IPv6 to IPv4 through a common NAT many networks can be involved.
From: John Price ***@***.***>
Sent: Friday, September 6, 2024 8:51 AM
To: weather-gov/api ***@***.***>
Cc: Joe Perkins ***@***.***>; Comment ***@***.***>
Subject: Re: [weather-gov/api] Another case of 403 Errors. (Discussion #763)
I'm not a network security expert. If api.weather.gov is blocking certain domains, why would forcing our requests into IPV4 format "solve" the issue? I'm not complaining that there's a work around, but I want to understand it better. Thanks!
—
Reply to this email directly, view it on GitHub<#763 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADJHCG6ZQZAMBG2ZRPG2XQDZVHFODAVCNFSM6AAAAABNOHMBJKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANJXGA4TQOA>.
You are receiving this because you commented.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
-
For those still hanging in on this thread, I received a note from the Linode support team: |
Beta Was this translation helpful? Give feedback.
-
Is anyone on this thread still being blocked with 403 errors since 8/31? If so, please provide the most recent Reference ID from the 403 error so we can work with our CDN to resolve these issues. |
Beta Was this translation helpful? Give feedback.
-
I've read through some of the discussions around receiving 403 errors. But I'm having trouble solving our current problem with them.
Our app hits the API periodically to gather data for a number of locations. The API and app have been playing flawlessly together for months now but this weekend we've been shut down by 403 errors. Hitting the API from the server using curl yields:
<TITLE>Access Denied</TITLE>$ curl -X GET "https://api.weather.gov/gridpoints/MTR/99,82/forecast" -H "accept: application/geo+json" -H "Feature-Flags: "
Access Denied
You don't have permission to access "http://api.weather.gov/gridpoints/MTR/99,82/forecast" on this server.
Reference #18.ca7cb17.1725143120.2fec2243
https://errors.edgesuite.net/18.ca7cb17.1725143120.2fec2243
The EdgeSuite link just returns an error. Have we been identified as a bot? Possibly making too many calls in a period of time? Any help would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions