Comments (5)
changed to 502
from i2pd.
We use 500 Domain Not Found if the hostname is not in the addressbook and 504 Gateway TImeout if the host is apparently down (no LS or no response). Here's our error pages for reference: https://github.com/i2p/i2p.i2p/tree/master/apps/i2ptunnel/resources/proxy
from i2pd.
It means that Java I2P requires fixing as well.
Simply speaking, 500 error should appear only when something unexpected happened.
When condition leading to error is known to developer, some other code is needed.
The HyperText Transfer Protocol (HTTP) 500 Internal Server Error server error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
This error response is a generic "catch-all" response. Usually, this indicates the server cannot find a better 5xx error code to response.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500
from i2pd.
We have 20+ error pages and we only use 500 for the one case I mentioned - hostname not in address book. You have a suggestion for what would be better for that?
from i2pd.
we only use 500 for the one case I mentioned - hostname not in address book. You have a suggestion for what would be better for that?
This is what I found:
Most I have seen return 502 Bad Gateway or 504 Gateway Timeout.
unfortunately from time to time we get 504 error DNS lookup failed
from i2pd.
Related Issues (20)
- Crashes seemingly at random while running in a Docker container on Raspberry Pi 3 B+ HOT 3
- Remove symbolic link in `Dockerfile`
- EVP_DigestVerify crash (nullptr usage) HOT 13
- Add initial Polish translation to upstream
- No code optimization in Makefile HOT 7
- Is it possible to bind the webconsole to 2 IP addresses, specifically one IPv4 and one IPv6? HOT 4
- NAT46 support request HOT 3
- SAM stream creation with incompatible crypto key type
- SAM: can't connect to self HOT 9
- [Question] - How to backup current i2pd address and transfer to a new machine? HOT 8
- Weird padding calculation for SSU2Session Token Request HOT 6
- Multi Homing issues with address selection HOT 1
- update/fix default values in config file and remove outdated information HOT 3
- understanding spammy error log entries. HOT 7
- undefined reference to i2pd HOT 12
- boost undefined symbol error when linking with mold HOT 2
- [Feature] Reseed on network up HOT 6
- Accept Contributions/PRs from Who Involved in Monero HOT 4
- I2PControl: RouterManager method returns invalid JSON when unknown params are passed
- [BUG] Yggdrasil crashing i2pd HOT 2
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 i2pd.