| Summary: | task repository errors in Bugzilla connector | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Gerd Lorünser <gerd.loruenser> | ||||||||||||||||||
| Component: | Mylyn | Assignee: | Robert Elves <robert.elves> | ||||||||||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||||||||||
| Severity: | major | ||||||||||||||||||||
| Priority: | P2 | CC: | eclipse, jhkauf, steffen.pingel | ||||||||||||||||||
| Version: | 3.1 | ||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||
| Hardware: | PC | ||||||||||||||||||||
| OS: | Windows XP | ||||||||||||||||||||
| Whiteboard: | |||||||||||||||||||||
| Bug Depends on: | 268207 | ||||||||||||||||||||
| Bug Blocks: | |||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||
Created attachment 129337 [details]
task error message
Created attachment 129338 [details]
specific user
Can you please give me some more information. What I want to know is what cookie is there for your url If the name is not "Bugzilla_login" you have the reason for the non valid credentials. (In reply to comment #3) > Can you please give me some more information. > > What I want to know is what cookie is there for your url If the name is not > "Bugzilla_login" you have the reason for the non valid credentials. > What do you mean by the cookie? Do we have cookies in Mylyn that I can change? At least I do not have a cookie in my Firefox with that name. The URL I typed for my Bugzilla repository is: http://bc-app-001/bugzilla Do I have to append anything here? Thanks for your help! Correction. I have found two cookies: - Bugzilla_logincookie - Bugzilla_login But I don't know what to do with them. Thanks again! Best wishes, Gerd What is your UserID? When you log in with an UserId without an @ you have to set the checkbox "Local user enabled:" under the "Additional Settings". (In reply to comment #5) > Correction. > I have found two cookies: > - Bugzilla_logincookie > - Bugzilla_login > But I don't know what to do with them. The cookies are returned by your HTML Request and are used within Mylyn to check if everything is OK. Created attachment 129667 [details]
new task on defective repository message
My UserID is my eMail adress gerd.loruenser@biocrates.com. I also use it to log in to the Bugzilla webpage and it works fine. I unchecked the "Local users enabled" checkbox as it should be used for user ids without an @, but the message remains: "A repository error has occurred." So do I have to change anything of the cookies or are they alright? My network administrators told me that there was no need to set a proxy or http autentication. If I try to use the defective repository to create a new task anyway it shows up an error message and displays me the main page of bugzilla. So something must be working and something not. (fig. 4) We tracked the communication between Mylyn and Bugzilla via Ethereal 0.99. Find the file as attachment "Mylin - Bugzilla Communication.cap". Maybe you find the error. Thanks! :-) Created attachment 129816 [details]
Mylyn - Bugzilla Communication.cap
If you scroll down in the "A repository error has occurred.? error dialog, what error is being reported by the repository? https://bugs.eclipse.org/bugs/attachment.cgi?id=129667 Also, in your repository configuration, try checking the "Use Global settings.." option under proxy settings. Created attachment 129934 [details]
error message (repository)
Created attachment 129935 [details]
all repository settings
I don't see that an error is reported. It just shows the bugzilla homepage with me being logged in (otherwise it would not enable me to log out). (see https://bugs.eclipse.org/bugs/attachment.cgi?id=129934) The "Global network connections preferences" are checked, however it does show the same message ( see https://bugs.eclipse.org/bugs/attachment.cgi?id=129935). So, on the one hand I seem to be corretly logged in (as shows the homepage), on the other hand I do not get access to the bugzilla repository with the same credentials that logged me in that homepage. To remember: the message "Repository is valid" only shows when I checked the "Anonymous" checkbox (see https://bugs.eclipse.org/bugs/attachment.cgi?id=129336). Thanks. (In reply to comment #11) > If you scroll down in the "A repository error has occurred.? error dialog, what > error is being reported by the repository? > > https://bugs.eclipse.org/bugs/attachment.cgi?id=129667 > > Also, in your repository configuration, try checking the "Use Global > settings.." option under proxy settings. > Rob, do you think that this can be related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=269803 and we should try this after the weekly build is released. (In reply to comment #15) > Rob, > do you think that this can be related to > https://bugs.eclipse.org/bugs/show_bug.cgi?id=269803 and we should try this > after the weekly build is released. Could be. I'll review 269803 for Wednesday's weekly build and once available if Gerd could test with it perhaps we can get to the bottom of this. I have finally installed Mylyn weekly build from 20090410 but I still get the same behaviour as described above. No change at all. What would you recommend me to do? We still cannot use Mylyn with our Bugzilla repository, it still is like a blocker in that respect (although using Mylyn with the local repository works fine). Rob, does this need to addressed for 3.2? Otherwise please lower the severity or prioritize the bug accordingly. (In reply to comment #17) > I have finally installed Mylyn weekly build from 20090410 but I still get the > same behaviour as described above. No change at all. What would you recommend me > to do? We still cannot use Mylyn with our Bugzilla repository, it still is like > a blocker in that respect (although using Mylyn with the local repository works > fine). Gerd, the patch from bug 269803 patch (which simply warns users of the failure in a better way) has not been applied. Once applied it still won't resolve your particular issue. Could you post what bugzilla server version you are using. Also, do you have any proxy settings entered under Network Connections in you Eclipse preferences? Our current Bugzilla version is 3.0. I have seen that there is 3.2.2 available. We will install that version as soon as possible. We do not have any proxy settings set (see attachments). Gerd, could you email me your repository conifguration obtainable the url below (citing this bug): [your repository url]/config.cgi?ctype=rdf Thanks Created attachment 143744 [details]
Config file
The config.cgi.rdf - file as desired.
Regards,
Gerd
Thanks Gerd. Nothing out of the ordinary here so I would expect this to work. Let me know if the upgrade to the latest bugzilla resolves the situation. If not, we'll investigate further. Hi all! Finally we managed to test Mylyn on the new Bugzilla version 3.4.1 and finally I could connect and everything seems to work now. However, using Eclipse 3.4.0, we had to update Data Tools Platform and the Mylyn plugins. So, with us, Bugzilla 3.0 did not allow us to connect to the Bugzilla repository whereas updating to 3.4.1 solved the problem. Thanks for your help and best regards! Gerd I'm running Eclipse Gallileo Version: 3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ Build id: I20090611-1540 with Mylin 3.2.1.v20090722-0200-e3x When I try to submit comments to a bug using Mylin I get Submit Failed: a repository Error has occured Bugzilla has suffered an internal error. Please save this page and send it to webmaster@eclipse.org with details of what you were doing at the time this message appeared. URL: about:blank (In reply to comment #24) > Hi all! > Finally we managed to test Mylyn on the new Bugzilla version 3.4.1 and finally > I could connect and everything seems to work now. However, using Eclipse 3.4.0, > we had to update Data Tools Platform and the Mylyn plugins. > So, with us, Bugzilla 3.0 did not allow us to connect to the Bugzilla > repository whereas updating to 3.4.1 solved the problem. Thanks for your help > and best regards! > Gerd Great to hear Gerd. Thanks for the update! (In reply to comment #25) > I'm running Eclipse Gallileo > Version: 3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ > Build id: I20090611-1540 > > with Mylin 3.2.1.v20090722-0200-e3x > > When I try to submit comments to a bug using Mylin I get > Submit Failed: a repository Error has occured > > Bugzilla has suffered an internal error. Please save this page and send it to > webmaster@eclipse.org with details of what you were doing at the time this > message appeared. > > URL: about:blank James, could you post or email me your repo configuration (as per comment#21). It could also be related to bug#288306. Marking resolved pending any further input. |
Created attachment 129336 [details] Anonymous login I have a problem with the setup of a Bugzilla repository. In the "Properties for Task Repository"-dialog I entered the valid information. When validating the settings I get a "Repository is valid" message if the "Anonymous" checkbox is checked. (Fig. 1) By clicking "Finish" I exit the dialog. If I try to create a "New Task" on the created repository I get a message saying "Error creating new task - Unable to retrieve repository configuration. Ensure credentials are valid." (Fig. 3) After having unchecked the "Anonymous" checkbox and entered the UserID and the password (which logs me into Bugzilla in the web browser correctly) I get the message: "A repository error has occurred." (Fig 2)