Jump to content

Ruby request getting denied


Recommended Posts

Ok I thought this was a token auth thing, but now I'm not so sure.

I'm making an HTTP GET request with Ruby like this:

url = URI.parse('http://<myIP>:<myPort>/gui/')

req = Net::HTTP::Get.new(url.path)

res = Net::HTTP.start(url.host, url.port) {|http|



puts res

and I keep getting:


It also happens if I append the '/index.html' onto the end.

The WebUI itself is working fine, and I've tried turning the webui.token_auth option off and no difference.

Anyone have any ideas?

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...