From: Schmelz, S. <Ste...@so...> - 2024-04-29 11:45:10
|
Hi There, I just installed roundup as a test and i have to report that it does not work that well so far. If I create, or update anything, there is a success message and that yields a 404 Error every time. This ist he Server Log if I create a new Issue that is assigned to me: 192.168.24.182 - - [29/Apr/2024 11:25:40] "GET /issue2/?@ok_message=Der%20Eintrag%20%22msg3%22%20wurde%20erstellt%0ADer%20Eintrag%20%22issue2%22%20wurde%20erstellt&@template=item HTTP/1.1" 404 - And this ist he HTML response in My browser: Error response Error code: 404 Message: /issue2/?@ok_message=Der%20Eintrag%20%22msg3%22%20wurde%20erstellt%0ADer%20Eintrag%20%22issue2%22%20wurde%20erstellt&@template=item. Error code explanation: 404 - Nothing matches the given URI. I don't know what to do and what could cause it. I did some digging in the config, but that was inconclusive and the mailing list so far did not yield any useful answers either... Pls Help, I#m starting to feel retarded. Regards Stefan -- Solupharm Pharmazeutische Erzeugnisse GmbH Industriestra?e 3, D-34212 Melsungen Tel: +49 (5661) 7305-767 Email: Ste...@so... Homepage: https://www.solupharm.com [lslp_ogo] [Vision_mission] Folgen Sie uns auf Facebook! [https://mail.solupharm.com/owa/auth/15.1.2375/themes/resources/facebook.png] <https://www.facebook.com/Solupharm-Pharmazeutische-Erzeugnisse-GmbH-100921692587632/> ----------------------------------------------------------------------------------------------- Gesch?ftsf?hrer: Friedemann Seitz, Thomas Zimmermann, Dr. J?rgen G?b Sitz der Gesellschaft: D-34212 Melsungen HRB 11245, Amtsgericht Fritzlar, USt-ID DE-203368511 ----------------------------------------------------------------------------------------------- |
From: Ralf S. <rs...@ru...> - 2024-04-29 12:04:02
|
Hi Stefan, On Mon, Apr 29, 2024 at 11:31:43AM +0000, Schmelz, Stefan wrote: [...] > And this ist he HTML response in My browser: > Error response > Error code: 404 > Message: /issue2/?@ok_message=Der%20Eintrag%20%22msg3%22%20wurde%20erstellt%0ADer%20Eintrag%20%22issue2%22%20wurde%20erstellt&@template=item. > Error code explanation: 404 - Nothing matches the given URI. Are you running this with the standalone server or behind a web server like apache or nginx? What have you configured in config.ini in section [tracker], config variable 'web'? This must match exactly what you have configured in the web server or what you have specified on the command-line of roundup-server. The argument passed to roundup-server is the name of the first URL component after the hostname -- that would go *before* the "/issue2" in your Message above. This must match what you've configured in 'web'. So as 'web' you would have something like web = http://hostname/trackername/ and you would call roundup-server with roundup-server trackername=/path/to/tracker/ Note that the 'web' config variable needs a trailing '/'. Let us know if you make progress on this! Thanks Ralf -- Dr. Ralf Schlatterbeck Tel: +43/2243/26465-16 Open Source Consulting www: www.runtux.com Reichergasse 131, A-3411 Weidling email: of...@ru... |
From: John P. R. <ro...@cs...> - 2024-04-29 17:01:22
|
Hi Stefan/Ralf: I must have missed this email originally (hmm, given the timestamp I may not have received it yet). I read it on the ML archive. In message <202...@ru...>, Ralf Schlatterbeck writes: >On Mon, Apr 29, 2024 at 11:31:43AM +0000, Schmelz, Stefan wrote: >[...] >> And this ist he HTML response in My browser: >> Error response >> Error code: 404 >> Message: /issue2/?@ok_message=Der%20Eintrag%20%22msg3%22%20wurde%20erstellt%0ADer%20Eintrag%20%22issue2%22%20wurde%20erstellt&@template=item. >> Error code explanation: 404 - Nothing matches the given URI. I'm sorry you are running into problems. This is an odd one. >Are you running this with the standalone server or behind a web server >like apache or nginx? That is my first question as well. If the URL is really: .../issue2/?... that's wrong. It should be: .../issue2?... (note no '/' before the query part). I can confirm that: https://myhost/demo/issue157 displays issue 157 while: https://myhost/demo/issue157/ reports a 404. So I can reproduce your results, but not your cause. >Let us know if you make progress on this! I agree. It looks like something is messing up the URL. URL's that point to files (e.g. /file23) use a trailing '/' and optional name component to trigger a download of the file contents. E.G. /file23/myfile would download the contents of file23 and suggest the name "myfile" in the file save dialog. '/file23/' would start the download with the file name "download" suggested in the dialog. However other object types don't support the trailing '/' in the URL and return 404. If Roundup is really returning the trailing /, it's a bug that I have never seen. To help us help you can you supply: Version of Roundup (roundup-admin -v) Version of Python (python -V) Operating system How you installed Roundup ('pip install roundup', download the tarball/release and ran setup.py ...) How you are accessing Roundup. Via roundup-server? WSGI with gunicorn etc. Is there a cache server or reverse proxy involved? Thanks and sorry your having a tough time here. -- -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. |