Ticket #3952 (closed defect: fixed)

Opened 10 months ago

Last modified 9 months ago

Android Browser Problem - 500 Internal Server Error

Reported by: doriath69 Owned by: kovidgoyal
Priority: minor Milestone:
Component: calibre-server Version: trunk
Keywords: android Cc:

Description

I know a similar problem to this was already ticketed and fixed, but I'm still getting an error when trying to access the content server on the most recent version.

I'm running v0.6.21 on a Windows XP box with an local IP of 192.168.0.100 on port 8080. The android phones are on the same local Wi Fi? network. The content server is perfectly accessible on other devices on the same network(from both Chrome and Firefox). When I try to access it on any of three android phones (TMobile G1s, all running Build#DRC83) via the Android Browser I get the following.

500 Internal Server Error

The server encountered and unexpected condition which prevented it from fulfulling the request.

Traceback (most recent call last) File "site-packages\cherrypy\lib\auth.py", line 39, in check_auth File "site-packages\cherrypy\lib\httpauth.py", line 360, in checkResponse File "site-packages\cherrypy\lib\httpauth.py", line 324, in _checkDigestResponse File "site-packages\cherrypy\lib\httpauth.py", line 283, in _computeDigestResponse File "site-packages\cherrypy\lib\httpauth.py", line 86, in <lambda> Type Error?: md5() argument 1 must be string or read-only buffer, not None File "site-packages\cherrypy\lib\httpauth.py", line 86, in <lambda> Type Error?: md5() argument 1 must be string or read-only buffer, not None Type Error?: md5() argument 1 must be string or read-only buffer, not None

Thanks for your help on this - Calibre is a fantastic program.

Change History

comment:1 Changed 10 months ago by kovidgoyal

Hmm this is actually a different error. The first thing to do is temporarily turn off authentication in the calibre content server and see if it works.

comment:2 Changed 10 months ago by doriath69

  • Status changed from new to closed
  • Resolution set to worksforme

Wow, that worked! Since my calibre server is running on a private LAN, and anyone with access to it should have access to the server, this effectively solves the issues this error poses for me. Thanks!

comment:3 Changed 9 months ago by coleman

I thought I'd throw in I am encountering the same error, using T-Mobile G1 over their 3G network. Calibre is running on Win7 Ultimate x64. Default listening port on the server, but I am remapping to it from 8181 externally. Same work around works, though it'd be nice to have at least an easily sniffable login, at least until I can get my phone to VPN to my network. Thanks!

comment:4 Changed 9 months ago by kovidgoyal

  • Resolution changed from worksforme to fixed

Fixed in branch trunk. The fix will be in the next release.

Note: See TracTickets for help on using tickets.