Re: error Broken pipe when log in
"John P. Rouillard" <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Austin: I'm sorry you are having problems getting this to work. In message <[email protected]>, Austin Wang writes: >I tried different backends and different templates, still cannot log in admin using the building standalone server. > >The only way works is using: >python demo.py The broken pipe error usually means the client aborted the connection while or before the server finished responding. E.G.: # A write on a pipe, socket or FIFO for which there is # no process to read the data. errno.EPIPE, from msg6156 of http://issues.roundup-tracker.org/issue2550750. However if it works with the demo server, I am not sure what's happening. I haven't been able to get a mac to test with. >So strange. >I guess it’s an issue related to Mac OSX. Are there any other mac users out there that have had success with spinning a new tracker? One thing that just occurred to me, all of your logs below reference 127.0.0.1. What's the setting for the web variable in the tracker section of the ini file? It should be http://localhost:8080/ or some hostname that maps to 127.0.0.1. I don't remember the exact code path for login, but I wonder if there is a redirection that happens as part of the login and that redirection is being screwed up. What is the URL displayed in your browser when the login attempt fails? Also what browser are you using? Safari? If so you can enable debug tools and compare a login against the python demo.py tracker against your tracker that may provide a clue. >> On Sep 3, 2018, at 7:54 PM, Austin Wang <[email protected]> wrote: >> It’s a freshed installed tracker on MacOSX, tracker version 1.6.0, >> using classic template. >> >> I was able to run the standalone server by: >> roundup-server ticket=/Users/wangxu/Documents/tmpwork/trackers/trackers/classic >> >> and can use the web interface and everything is good, but when I try >> to log in as admin, I saw errors on the console and I cannot log in. >> >> Please share me your thought on how to correct this. >> [...] >> WangXus-MacBook-Pro:trackers wangxu$ roundup-server ticket=/Users/wangxu/Documents/tmpwork/trackers/trackers/classic >> Roundup server started on localhost:8080 >> 127.0.0.1 - - [03/Sep/2018 19:44:30] "GET / HTTP/1.1" 302 - >> 127.0.0.1 - - [03/Sep/2018 12:44:31] "GET /ticket/index HTTP/1.1" 200 - >> 127.0.0.1 - - [03/Sep/2018 12:44:31] "GET /ticket/@@file/style.css HTTP/1.1" 200 - >> 127.0.0.1 - - [03/Sep/2018 19:44:31] "GET /favicon.ico HTTP/1.1" 200 - >> 127.0.0.1 - - [03/Sep/2018 19:44:52] "POST / HTTP/1.1" 302 - >> 127.0.0.1 - - [03/Sep/2018 12:44:52] "GET /ticket/index HTTP/1.1" 200 - >> 127.0.0.1 - - [03/Sep/2018 19:45:05] "POST / HTTP/1.1" 302 - >> 127.0.0.1 - - [03/Sep/2018 19:45:05] "POST / HTTP/1.1" 400 - >> ---------------------------------------- >> Exception happened during processing of request from ('127.0.0.1', 62728) >> Traceback (most recent call last): >> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 574, in process_request >> self.finish_request(request, client_address) >> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 334, in finish_request >> self.RequestHandlerClass(request, client_address, self) >> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 657, in __init__ >> self.finish() >> File "/Library/Python/2.7/site-packages/roundup/scripts/roundup_server.py", line 683, in finish >> RoundupRequestHandler.finish(self) >> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 716, in finish >> self.wfile.close() >> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 283, in close >> self.flush() >> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 307, in flush >> self._sock.sendall(view[write_offset:write_offset+buffer_size]) >> error: [Errno 32] Broken pipe >> ---------------------------------------- >> 127.0.0.1 - - [03/Sep/2018 12:45:06] "GET /ticket/index HTTP/1.1" 200 - >> 127.0.0.1 - - [03/Sep/2018 19:45:18] "POST / HTTP/1.1" 302 - >> 127.0.0.1 - - [03/Sep/2018 12:45:18] "GET /ticket/index HTTP/1.1" 200 - >> 127.0.0.1 - - [03/Sep/2018 19:45:56] "POST / HTTP/1.1" 302 - >> 127.0.0.1 - - [03/Sep/2018 19:45:56] "POST / HTTP/1.1" 400 - -- -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Roundup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/roundup-users