Chris Fairfield (thorshammer) wrote in lj_dev,
Chris Fairfield
thorshammer
lj_dev

Internal Server Error 500

I develop the Mac OS X client Phoenix.

Lately, some of my users have been reporting an issue where Livejournal generates an Internal Server Error (500) when attempting to post using the client. When it occurs it usually persists for a while (an hour or more), but it occurs intermittently and seemingly without pattern. It happened to me when trying to post this entry (with a different example attached), so I've attached the post request I sent that failed.

I imagine this is related to the other issues with clients who post using the flat method.

UPDATE: It's definitely an issue with Unicode. Posting non-roman Characters duplicates the problem 100%. I've had Unicode implemented successfully in the client (I thought?) for the last seven years with no problems. Is Livejournal broke or did they change something with their unicode implementation permanently?


POST /interface/flat HTTP/1.0
Cookie: ljfastserver=1;
Host: www.livejournal.com
Content-type: application/x-www-form-urlencoded
Content-length: 2006
mode=postevent&ver=1&user=thorshammer&auth_method=challenge&auth_challenge=c0:1282431600:1486:60:EOg3T23YqKM99YAfFO8e:f48e7aa96047668f20223481e68f0bfe&auth_response=f2cc69bc27c58031101196aa3a1ed944&event=I develop the Mac OS X client Phoenix%2E
Lately%2C some of my users have been reporting an issue where Livejournal generates an Internal Server Error %28500%29 when attempting to post using the client%2E When it occurs it usually persists for a while %28an hour or more%29%2C but it occurs intermittently and seemingly without pattern%2E
I imagine this is related to the other issues with clients who post using the flat method%2E Anyway%2C here is an example of what I post%3A
%3Clj%2Dcut text%3D%22Post Data after the Jump%22%3E%3Ccode%3E
POST %2Finterface%2Fflat HTTP%2F1%2E0
Cookie%3A ljfastserver%3D1%3B
Host%3A www%2Elivejournal%2Ecom
Content%2Dtype%3A application%2Fx%2Dwww%2Dform%2Durlencoded
Content%2Dlength%3A 564
mode%3Dpostevent%26ver%3D1%26user%3Dthorshammer%26auth%5Fmethod%3Dchallenge%26auth%5Fchallenge%3Dc0%3A1282431600%3A1136%3A60%3AjKabEEq7AU7YoDCP0Rqn%3A9ae068c07ae331fdf4e31db7df3d165c%26auth%5Fresponse%3Ddbf383ae132351acc8d483a57ed54c7f%26event%3DThis is a test subject%252E%26lineendings%3Dmac%26subject%3DTest Subject%26security%3Dprivate%26year%3D2010%26mon%3D8%26day%3D21%26hour%3D18%26min%3D18%26prop%5Fcurrent%5Fmood%3DTesty%26prop%5Fcurrent%5Fmusic%3DThe Tests%253A Testing 1%252D2%26prop%5Fopt%5Fpreformatted%3D0%26prop%5Fopt%5Fnocomments%3D0%26prop%5Fopt%5Fbackdated%3D1%26prop%5Fopt%5Fscreening%3DN%26prop%5Fpicture%5Fkeyword%3DBig Geek%26prop%5Ftaglist%3Dtest tag%26prop%5Fcurrent%5Flocation%3DTestporium
%3C%2Fcode%3E%3C%2Flj%2Dcut%3E&lineendings=mac&subject=500 Internal Server Error&security=public&year=2010&mon=8&day=21&hour=18&min=24&prop_current_mood=confused&prop_current_moodid=6&prop_current_music=Sigur Rós %28%28 %29%29%3A Untitled 3&prop_opt_preformatted=0&prop_opt_nocomments=0&prop_opt_backdated=0&prop_opt_screening=N&prop_picture_keyword=Standup
Tags: *report (lj), client, client: flat, client: posting, client: troubleshooting
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 6 comments