Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialElizabeth Gray
24,306 PointsHTTP version not supported
When I try to connect to httpbin.org I get a message that says the http version is not supported. I am on Windows 10 Pro. The message says:
HTTP/1.1 505 HTTP Version Not Supported Connection: Close Server: Cowboy Date: Current date and time Content-Length: 0
Connection to host lost.
1 Answer
Elizabeth Gray
24,306 PointsI got it to work but I wanted to share what happened in case anyone else ran into this issue. I kept getting conflicting sounding answers on some of the others.
- First I opened Command Prompt as an admin. In Windows you can do this by opening the start menu, typing cmd, right-click on the result, and select "Run as Administrator"
- I typed "telnet httpbin.org 80" as shown in the video
- I then pressed enter
- The screen will go blank. This is what threw me off because his does not go blank, and he is able to see what he types next as a result. You will have to type blind. Go ahead and type quickly: GET / HTTP/1.1
- Press enter once.
- Type immediately after pressing enter: Host: httpbin.org
- Press enter twice after that.
You should get a long stream of text as shown in the video and then be ready to continue.