<< December 2009 | Home | February 2010 >>

SVN - parse tlsext Work-Around

UPDATE  (Apr 2, 2010):  Version 2.2.15 does seem to have fixed this issue - I'd recommend upgrading if possible.

It took me so long to find the solution to this problem that I just had to share...  Ever since last August, after upgrading Apache HTTPD from version 2.2.11 to version 2.2.13 I have had a nagging issue with my Subversion server and "parse tlsext" errors during large commits and other SVN operations (it seems I skipped version 2.2.12 for no apparent reason, but that version had the problem too).

SSL negotiation failed: SSL error: parse tlsext

According to comments on this page, "This issue is most propably because of using multiple SSL enabled VirtualHosts in Apache httpd 2.2.12 - 2.2.14 and OpenSSL 0.9.8f - 0.9.8l".  They do link to a mod_ssl patch which they claim works.  I did not try the patch myself, though - my SVN server is on Windows and I am not about to start building Apache on Windows, I will wait for the binaries to come!  The patch is from November, so hopefully it will make its way into 2.2.15, whenever it is released.

Work Around:
After a bit of Googling I found several forum/mailing-list posts which pointed to disabling Transport Layer Security (TLS) Extensions by adding the following to the VirtualHost entry in httpd-ssl.conf file

SSLProtocol -ALL +SSLv3

The critical part I had been missing was that this needs to be added to EACH VirtualHost using SSL on the same port.  Since I have multiple named VirtualHosts running on port 443, even though I had disabled TLS for the affected VirtualHost, TLS was still enabled on the port.  Once I applied this to all VirtualHosts on port 443 everything worked as it should.

Hope it helps someone...

Tags :
Social Bookmarks :  Add this post to Slashdot    Add this post to Digg    Add this post to Reddit    Add this post to Delicious    Add this post to Stumble it    Add this post to Google    Add this post to Technorati    Add this post to Bloglines    Add this post to Facebook    Add this post to Furl    Add this post to Windows Live    Add this post to Yahoo!

Export this post as PDF document  Export this post to PDF document

Developer's Tool-chest

Lately, I've been getting a lot of questions from fellow developers about the various tools I use in the course of writing and maintaining software.  Throughout the years I've tried a lot of software, liked a lot of software, hated a lot of software, and ultimately found a good set of scripts, plugins and applications which really facilitate getting the job of programming done.  Here is a list of some of the software I'm currently using...

Text Editor:
To be sure, the most important tool in my tool-chest is the simple text editor - Notepad just won't do...  As a web developer I spend all day editing text.  Whether it is Java, C#, PHP, XQuery, XHMTL, JavaScript, CSS, XML or some archaic server configuration dialect, 99% of the work I do is in a text file.  To me, this is kind of like owning the right bed - if you are going to spend a significant amount of time in it, you really want the right one...

  • Windows: UEStudio by IDM Computer Solutions, Inc. ($$)
    This is the upscale version of their flagship UltraEdit editor. The lifetime upgrade option was the best purchase I ever made, I wish I'd done it the first year.
  • Linux: UEx by IDM Computer Solutions, Inc. ($$)
    This is brand new, and isn't really feature complete, but it is already better than gedit, and starting to get the feel of the UltraEdit I love on Windows. I paid $40 for a year's license (mostly to encourage the effort), we'll see how it shapes up...

XML Editor:
I spend enough time working with XML and related technologies that it really justifies having a dedicated piece of software.

  • Windows & Linux: oXygen XML Editor by SyncRO Soft Ltd. ($$)
    Beyond the general XML features, I particularly appreciate the XSLT & XQuery processing and MarkLogic/eXist/Saxon integration. It works as both a stand-alone application, or as an Eclipse plugin. SyncRO Soft is also generous in providing a number of extra tools which have proven covenient such as an XML diff tool and a stand-alone Subversion client.

Diff Tool:
The process of comparing files and directories is far too painful a process to do manually, having the right tool can really save the day.

  • Windows: UltraCompare by IDM Computer Solutions, Inc. ($$)
    I picked this up bundled with UEStudio primarily because TortoiseCVS lacks a decent diff tool, and it has really been very useful.  The directory compare and binary compare functionality really set it apart from other diff tools I've seen. Note, a "lite" version is included with UEStudio, and either version is fully integrated with the editor.
  • Linux: I'm looking for the right tool, any suggestions?

Code Formatter:
Source code from various places can often be a bit messy - in the case of JavaScript, it is often crunched and obfuscated - being able to orderly format source code can be indispensable to understanding it.

  • Windows: Polystyle ($$)
    This tool integrates nicely with UEStudio and handles a variety of languages.
  • Linux: I'm looking for the right tool, any suggestions? Eclipse does work to a degree, but I'd like something that integrates with UEx (picky, I know).

FTP/WebDav Client:
Much of my time is spent moving files from place to place, and having a tool which remembers the myriad of connection info/credentials is a BIG time saver.

  • Windows: BitKinex by Barad-Dur, LLC. (Freeware)
    I actually paid ($20-$30) for this before they started giving it away, but it has not been updated since it became freeware.  It is pretty solid software, but it looks like there won't be future releases.
  • Linux: I'm looking for a decent WebDav tool for Linux, FTP seems pretty well covered by FileZilla.

Command Line Interface:
Often times the good old command line is still the best (if not only) way of accomplishing a particular task.

  • Windows: Console (Freeware)
    This is a nice tabbed command console application, definitely worth the download. Be sure to get recent version for x64 bit OS.
  • Linux: The Gnome Terminal which comes with Ubuntu suffices for now, but I'm open to suggestions.

Tail:
As ridiculous as it seems, Windows does not include a file-tailing utility such as *nix's tail.

  • Windows: Tail for Win32 (Freeware)
    This is a clunky old program I found years ago. It's certainly not ideal, and some features flat out don't work, but for now it is my preferred solution.
  • Linux: tail -f works just fine.

Screenshot:
I don't know that it is always true, but they say a picture is worth a thousand words. Without a doubt, screenshots are often helpful in conveying problem scenarios, and frequently can be useful as conversation starters and brain-storming tools. While all OSs I use provide some sort print-screen functionality there are certainly better options.

  • Windows: Snagit by TechSmith Corporation ($$)

Screen Capture:
If the picture is really worth a thousand words, then screen captures are worth millions.

 

Tags :
Social Bookmarks :  Add this post to Slashdot    Add this post to Digg    Add this post to Reddit    Add this post to Delicious    Add this post to Stumble it    Add this post to Google    Add this post to Technorati    Add this post to Bloglines    Add this post to Facebook    Add this post to Furl    Add this post to Windows Live    Add this post to Yahoo!

Export this post as PDF document  Export this post to PDF document

Icon Overlay Problems

There is a limitation (at least on some versions of Windows) of 11 total icon overlays. As more applications have been utilizing this feature of Windows, problems with TortoiseSVN, TortoiseCVS, and others have arisen. Any beyond the first 11 alphabetically are ignored and not displayed. If there are particular overlays you must see, you can work around this issue by updating which keys appear within the following key in the Windows registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers

I found it convenient to simply rename a couple by prepending "z_" so that most TortoiseSVN icons appeared...

Here are a couple links I found on the subject:
http://blog.falafel.com/2009/12/17/WindowsIconOverlayLimitations.aspx
http://stackoverflow.com/questions/1057734/tortoisesvn-icons-not-showing-up-under-windows-7


Social Bookmarks :  Add this post to Slashdot    Add this post to Digg    Add this post to Reddit    Add this post to Delicious    Add this post to Stumble it    Add this post to Google    Add this post to Technorati    Add this post to Bloglines    Add this post to Facebook    Add this post to Furl    Add this post to Windows Live    Add this post to Yahoo!

Export this post as PDF document  Export this post to PDF document