-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Create Issue" leads to HTTP 404 error, HTTP address valid #11
Comments
This error might occur, if the Addin sends an invalid ID for the selected project, tracker, priority, or assignee. Are the selected issue options suitable to the project? When selecting a project, the Addin must update the items in the other combo boxes. This might fail due to an error which is not reported. |
Ok, enabled logging. And started redmine from command line, that gives me a lot more messages. No more time today or tomorrow, but I will look further into this - seems to be a problem with formats missing in my redmine installation. Thanks for your help, I will keep you informed if I succeed to get this running. |
timeout |
I am having the same issue. Redmine version 2.6.5.stable Redmine plugins: Outlook; 16.0.4027.1008 (32bit) Win8.1 Pro 64-bit, Version 6.3 Build 9600 I have tried debugging it but I don't understand what is going on here. Your link to enable logging ('backstage' ?) no longer works. I have tried to follow your instructions for installing, it doesn't seem to have created the 'itol-configuration' project as specified. I've tried to log in as 'admin' user and create a new issue but it continues to throw the same error as above. Any help would be appreciated. |
Outook backstage view can be found here. |
Yes, I installed v1.4. I didn't realise that screen was officially called backstage view. |
Please check the points from my first answer in this thread:
Further information might be found in Redmine's log file. |
Where are the configuration options saved? I tried clearing out my temp files & cleaning up the registry, but when I reinstalled it the options input were still there. |
I have tried:
In all these scenarios the error remains the same - 404 file not found. I have tried to understand the IssueServiceImpl.js as written however I can't see anything that would cause it to trip up Redmine. The 'readme.txt' states in 3 that the 'admin' user should be set up first in order for the 'itol-configuration' project to be created initially. ** This project has never been created **. Should I create this project manually? Is there a format to follow in creating this project? I have also examined the logs for redmine, puma (and now thin). They all are mostly uninformative. Puma was throwing an error around 'httpparser error' or somesuch, I can get an exact log of it later when I have another look at it. |
I have downloaded the VM from Bitnami that includes Redmine 2.6.5 - the same version as yours - in order to check whether ITOL can work with this version. I can create issues and the configuration project is also created. Please set the logging level for ITOL to DEBUG and restart Outlook. An issue is created starting with "writeIssue(". All properties of the issue to be created are printed into the log:
Check whether the given IDs for project_id, ... are valid. Since neither the configuration project nor an issue is created: is there anything in your environment that blocks POST or PUT requests? e.g. something like this: http://stackoverflow.com/questions/24691560/nginx-redirects-post-requests-to-get-request Your questions: Where are the configuration options saved? Should I create this project manually? Is there a format to follow in creating this project? |
Thanks for your response and your patience! I will have another look at this today or later tonight when I get a chance. That second link mentions setting up Apache2 as a proxy, I will just go ahead and set up Apache2 as the web server and see if it handles things differently (I note that the Bitnami VM you downloaded uses Apache). I will also check what id's are being requested and report back too. UPDATE: Have been testing this. When I post the json using
It works as expected. Same with the itol-coniguration project creation. Am not sure why this is. I still haven't had a chance to test out apache2, I will try this out next. In other setups (that involve passing the requests through to something like nginx) maybe something is done that makes it work? The debug log from redmine looks like:
This issue deals with it, but there's nothing there other than the JSON isn't parsed correctly. I think it's definitely the webserver (not passing through the JSON correctly/fully). Here's the JSON for reference:
|
I think I have found the problem for this. As expected, with Apache2 as the web server all requests worked fine from within Outlook. I altered the 'IssueServiceImpl.js' file with a couple quick changes to add in the content-length header to the POST and PUT requests:
Same for PUT. It seems (happy to be corrected) that when connecting directly with these app servers that they are not handling the Thanks again. |
Super! Many thanks for your investigation. Usually,Java's HttpURLConnection class, which is used in my wrapper JHttpClient, sets the Content-Length header correctly. But I explicitly set chunked encoding, if the contentLength parameter is -1. I will change this in the next version for contents of type String. Kind regards, |
redmine runs on the same host as the Outlook client.
I access redmine via "http://127.0.0.1:7777", this has never caused problems.
I installed the Outlook Issue Tracker, installation looks fine (see attached image 01).
However, when trying to create an issue, I get an error 404 (see attached image 02)
Directly accessing the address in the browser works without problems (see attached image 03).
Any idea what could be the cause of this?
Environment:
Redmine version 2.6.1.stable
Ruby version 1.9.3-p545 (2014-02-24) [i386-mingw32]
Rails version 3.2.21
Environment production
Database adapter SQLite
SCM:
Git 1.9.4
Filesystem
Redmine plugins:
redmine_better_gantt_chart 0.9.0
redmine_checklists 3.0.2
redmine_mylyn_connector 2.8.2.stable
Outlook; 14.0.7015.1000 (32bit)
Win7, Version 6.1 Build 7601 SP 1
The text was updated successfully, but these errors were encountered: