Query failed: connection to localhost:9312 failed (errno=111, msg=Connection refused).
This goes one step further to open all GIF files:
To change the default app for animated GIFs, click the GIF file icon and press Command-I. Under Open With, select your favorite browser from the drop-down menu and then click the Change All button. Then you can double-click the file to see it.