<html>
    <head>
      <base href="http://fiji.sc/bugzilla/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Bug_Submitter returns LOGIN_FAILURE with correct credentials"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=1023">1023</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Bug_Submitter returns LOGIN_FAILURE with correct credentials
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Fiji
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Generic
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>imagej-bugs@imagej.net
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jan.eglinger@uni-duesseldorf.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I can't get the Bug_Submitter to successfully submit a bug report. I don't know
if it might be a proxy server issue, but here is what I investigated:

(I have configured Fiji to use system proxy settings. The same behaviour is
observed with the proxy configured manually in Edit>Options>Proxy Settings...)

When submitting a bug report ('Submit Bug Report'), I get the message:
"The login failed: your username or password may be incorrect."

I knew that my login credentials are correct, so I looked for "LOGIN_FAILURE"
in the source and found two occurences:

<a href="https://github.com/fiji/Bug_Submitter/blob/master/src/main/java/Bug_Submitter/Bug_Submitter.java#L205">https://github.com/fiji/Bug_Submitter/blob/master/src/main/java/Bug_Submitter/Bug_Submitter.java#L205</a>
<a href="https://github.com/fiji/Bug_Submitter/blob/master/src/main/java/Bug_Submitter/Bug_Submitter.java#L227">https://github.com/fiji/Bug_Submitter/blob/master/src/main/java/Bug_Submitter/Bug_Submitter.java#L227</a>

Apparently I get no cookie response and hit the first of these (line 205),
which I found out by changing it to OTHER_FAILURE.

The http response serves the bug submission page as expected (I found out by
logging the connection.getInputStream()), so I guess the connection works
correctly, all I miss is the cookies that apparently should be set but aren't.

Thanks for any advice on this.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>