Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

http://tutorial.getwindmill.com/windmill-serv/start.html gives HTTP/500 Internal Server Error #42

Open
wernight opened this Issue · 12 comments

2 participants

@wernight

After starting windmill (behind proxy if it changes anything) by typing for example windmill ie it goes to the link http://tutorial.getwindmill.com/windmill-serv/start.html which simply show a "500 Internal Server Error" page.

Also the page on http://tutorial.getwindmill.com/ linking to http://trac.getwindmill.com/wiki/WindmillBook gives a 404.

@wernight

I've tried also windmill ie http://example.com and it tries to load http://example.com**/windmill-serv/start.html** wihout opening the IDE window.

@wernight

Please also note that the python log shows no error, no warning, no text at all.

@admc
Collaborator

Did you follow these instructions? http://wiki.github.com/windmill/windmill/proxy-chaining

@wernight

I tried again on another Windows machine without proxy with the same issue. I tried on a Linux and it works.

So the problem is only on Windows but I didn't exactly follow the tutorial. Here are my steps:

  1. Install Instant-Django
  2. Install setup tools and PIP
  3. pip install windmill /or/ python setup.py develop (I tried both)
  4. install pywin32 via pre-built binaries or by compiling myself (installed success)
  5. start windmill <-- bug
@admc
Collaborator

Probably the best course of action is to send this to the mailing list and see if ijs (who added the proxy chaining functionality) has any ideas on how to fix that bug.

@wernight

May be I didn't write my last comment clearly enough: I tried without proxy and had the same issue. The issue may be because of the way I installed it. It may be because there is some issue on Windows only.

I'd like to avoid installing Python globally, but I may give it a try.

@wernight

I tried with Python installed like the documentation but it still failed to open the Windmill popup for IE 7 (yes it's old on the test machine I used).

@admc
Collaborator

What version of windows are you using? I have VM's for Win XP, Win 2003 and Win 7 don't have any problems on those machines. In IE can you globally allow popups?

Also from the cmd prompt can you do 'python --version'

Adam

@wernight
  • Windows XP.
  • IE shows popups fine on all websites I know including JavaScript popups.
  • Python version 2.6.4

Can you guess the origin from the wrong URL it tries to open? It'll always try to load the page windmill-serv/start.html of the base test URL.

@admc
Collaborator

So maybe if I give you some details on how all this works it may help your debugging.

When you start windmill with IE, it sets a OS level global proxy (I know it sucks but there is no other way to deal with it), if you don't provide an URL on the command line, it defaults to our tutorial site, but regardless of the site we append the windmill-serv/start.html which the python proxy strips out and loads from the local web server. This site has some code that uses window.open to pop up the UI.

What this sounds like is the global windows proxy is not getting set properly.

You can check this by doing 'windmill ie', then going into the IE settings and checking to see if there is a web proxy set.

Safari also works this same way, but firefox allows proxy configuration just for the application which is why my guess is that firefox will work as expected.

Adam

@wernight

I can confirm you that it cannot set the proxy for security reasons it's not allowed. However I didn't see any message saying that it failed.

@admc
Collaborator

There were some bugs fixed in Windows specifically and the tutorial was actually down from an infrastructure move, if you are still interested in squashing this issue it would be great to know what the status is with the latest github master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.