Comments (10)
Invalid HTTP_HOST header: '46.43.2.235'. You may need to add '46.43.2.235' to ALLOWED_HOSTS.
Invalid HTTP_HOST header: '46.43.2.235:443'. You may need to add '46.43.2.235' to ALLOWED_HOSTS.
Is there a use case for this one? Currently I think the only reason we would see this is bots trying to crawl us. (In fact, on a lot of our servers we set up an default apache placeholder site for bots to see).
Invalid HTTP_HOST header: 'live.standard-search.opencontracting.uk0.bigv.io'. You may need to add 'live.standard-search.opencontracting.uk0.bigv.io' to ALLOWED_HOSTS.
www.live.standard-search.opencontracting.uk0.bigv.io is however already set up as an ALLOWED_HOSTS and an SSL cert name - for the same avoiding-bots reason as above, can we leave it as this?
from deploy.
Aha. Is there a way to quiet specific HTTP_HOST errors, so that we don't continually get new reports in Sentry?
from deploy.
I see the problem - we do have an default host in place for HTTP crawlers, but not for HTTPS crawlers - ie h t t p://46.43.2.235/ gets placeholder, h t t p s://46.43.2.235/ gets site and generates a sentry error.
We can look into that.
from deploy.
Look into stopping HTTPS crawlers hitting real sites and generating errors
from deploy.
This has been solved in a few different ways:
- Re-configure the DisallowedHost logger to be muted
- Ignore the DisallowedHost logger via Sentry's configuration
- Ignore the Sentry issues
For now I ignored them until 2038-01-19 03:14 in Sentry.
from deploy.
Also occurs on Data Review Tool (and presumably any Django app with Sentry installed).
from deploy.
Commented in our deploy repository in OpenDataServices/opendataservices-deploy#88
from deploy.
I'm reconfiguring loggers.
- toucan
- cove-ocds
- cove-oc4ids
- standard-search OpenDataServices/standard-search#25
from deploy.
Done and deployed. There's an open PR for standard-search. Once closed, we can resolve the open issues in Sentry.
from deploy.
PR for standard-search is merged now.
Looks to me like all the open issues in Sentry are gone already.
from deploy.
Related Issues (20)
- Merge downtime protocol into documentation HOT 2
- Registry: Consider increasing the log level for expected exceptions in various components
- RabbitMQ: Create application-specific users to correlate connections with applications
- Kingfisher personal SQL user account HOT 2
- Linode IPv6 process changes documentation HOT 3
- Update various documentation as Linode transitions to Akamai Connected Cloud
- Messages still being sent to Open Data Services Coop
- Upgrade RabbitMQ
- Kingfisher personal SQL user account HOT 3
- PostgreSQL backups (ocp13, ocp14, ocp24)
- Credere staging server
- RabbitMQ upgrade HOT 2
- Use ed25519 or rsa for SSH keys HOT 3
- Coalition (ocp21) MySQL and Site backups HOT 1
- Update create server process to not add port knocking if Docker to be added later HOT 2
- Add WordPress auto-update script
- Update documentation for "one dir" Salt HOT 3
- Put Apache (ProxyPass) in front of RabbitMQ's management interface HOT 1
- Implement retention policy for Kingfisher Process v2
- include isn't working with Salt 3006 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deploy.