ThinkingSphinx::SphinxError: Lost connection to MySQL server at 'reading authorization packet',

kiril mitov's Avatar

kiril mitov

29 Feb, 2016 08:20 PM

I am using heroku and I got this exception about 100 times for the last few hours:

  Lost connection to MySQL server at 'reading authorization packet', system error: 0 - SELECT * FROM `episode_core` WHERE MATCH('ev3 color sensor') AND `tag_ids` = 52 AND `published_at` BETWEEN 0 AND 1456774436 AND `sphinx_deleted` = 0 LIMIT 0, 20 OPTION field_weights=(name=20, description=15, long_description=10, materials=5, tag_names=10, subtitles_html_content=5, categories_names=20); SHOW META
  app/controllers/episodes_controller.rb:32:in `index'
It has never happen before.

What could I do?

  1. Support Staff 1 Posted by Pat Allan on 29 Feb, 2016 10:04 PM

    Pat Allan's Avatar

    Hi Kiril

    This issue should be resolved:

    But, if you're still seeing problems, can you let me know the app's name and I'll investigate further.

    Thanks for your patience, and very sorry for this outage!

    Kind regards,


Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac