Comments (7)
Was this issue closed by mistake, or was it fixed when closed but later regressed?
At the time of writing, it does not seem to work:
$ host -t AAAA httpbin.org
httpbin.org has no AAAA record
$ curl https://httpbin.org/ip
{
"origin": "84.214.x.y"
}
These tests were done from a dual-stacked machine, so curl
would have preferred to use IPv6 if it could have, as demonstrated by using a different print my ip-service that is IPv6 capable:
$ curl http://icanhazip.com
2a02:fe0:x:y:825e:b586:2ada:4d2e
$ curl -4 http://icanhazip.com
84.214.x.y
from httpbin.
I don't know why @kennethreitz closed this but I'll reiterate that this isn't a bug in the application code. We and icanhazip
work the same way, we both use remote_addr
from the request
object in Flask. The difference is that httpbin
is deployed on Heroku so we also return X-Forwarded-For
. Heroku does not have IPv6 support thus this is purely a deployment issue.
from httpbin.
+1
Please add IPv6 support.
from httpbin.
Few years have passed and httpbin still have no IPv6 support.
@kennethreitz Please add support for IPv6.
from httpbin.
Heroku does not support IPv6 ( https://help.heroku.com/I8L6RW01/does-heroku-support-ipv6 ). Therefore, the change requires a complete change in the way the application is deployed.
from httpbin.
Any chance to make this happen? lacking support for ipv6 is critical for http verification. Broken ipv6 is a very common error.
from httpbin.
I just used https://mockbin.org/ which has support for IPv6
from httpbin.
Related Issues (20)
- docker build fails
- Docker build fails with python dependency error
- Can we check Latency less than 1 second in httpbin
- readme file does not explain what this service does HOT 2
- Question: Is there reason for not using smaller Alpine based python as base image for httpbin HOT 1
- Multipart form with JSON returned as JSON string
- Any plans to updated the SSL certificate? HOT 1
- Include Spec.Json Link
- Digest authentication algorithm parameter not working
- Can't get a response using Set-Cookie header ? HOT 1
- State of Maintenance HOT 24
- If anyone's lookiing for an alternative... HOT 5
- 504 Gateway Time-out http://httpbin.org/ip
- Decode JWT in "Authentication: Bearer ..." request header
- RFE: replace `raven` by `sentry` HOT 1
- RFE: please provide update for `werkzeug` 3.0.x
- A similar project for those who might need
- Allow status requests to ignore trailing path
- /headers Endpoint doesn't show all request headers
- chunked posts not seen in server
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 httpbin.