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 trialolu adesina
23,007 PointsHTTP/1.1 505 http version NOT supported HELP
Steven Parker ive tried exactly what it says in the video in workspaces and on the comandline on my own computer in workspace it says HTTP/1.1 505 HTTP Version Not Supported Connection: Close Server: Cowboy Date: Current date and time Content-Length: 0 in cmd nothing happens
1 Answer
Steven Parker
231,268 PointsHi, I was alerted by your tag.
If you have a typical "telnet" client program, it passes each keystroke through to the connected server. This means that the keys you might normally use to correct errors (such as backspace) now do something else. So it's very important to enter the commands exactly and without errors.
I found that I could easily get the same error message you mentioned just by making one typo, including using the wrong case (like typing "http" instead of "HTTP"). But if I entered the command correctly, I got the same response as shown in the video.
Try again and be extra careful with what you type. I found it helpful to prepare the input in a text editor, and then cut-and-paste into the telnet window.
olu adesina
23,007 Pointsolu adesina
23,007 Pointshi Steven Parker im afraid im not getting any joy with this ive tried many times in cmd copying and pasting and ive also tried in workspaces which wont allow me to paste im still getting the same result.
this exactly what i copied after my first command "telnet httpbin.org 80 "
GET / HTTP/1.1 Host: httpbin.org
help
Steven Parker
231,268 PointsSteven Parker
231,268 PointsNote that these must be on 2 separate lines, and then followed by two blank ones:
Here it is again without comments so it can be copied/pasted:
I tested pasting this into telnet and it worked. If you still have trouble, perhaps your version of the telnet client has a default configuration that is sending characters other than plain ASCII. Check for settings/options.