Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Posting (with international characters) does not really work on hosted version #923

Closed
nekr0z opened this issue Jun 5, 2015 · 16 comments
Closed

Comments

@nekr0z
Copy link
Contributor

nekr0z commented Jun 5, 2015

For the last couple of weeks trying to post anything to hosted version of Known usually resulted in cryptic broken-unicode messages, and it took three to five tries to get through (pictures, status updates, events - anything). Now a new status update already took me 20 attempts, and still counting, and all I get is:

�����ao�0 ���wR�I��:>����_&&>0i��i�kåq�:Wʯ��1��6�����v^?i9��� �� �:�������k�� >Pcq<+�䕾z!�f���&��GЮ�����k��ظ�9<�����L�-t��� t�� �d-�ӮT^N�X�j���!P؁:꠴���!�cu�9R5�T��y�͗�4����w�����M���&q9���}t-�r�#�bJ�<.�k��SX�l�ߜ��ka���|ǖ7���:�<�9�{t�!�t���s ��Xs��v�ż8�Xw{X(�5��XU���������(�3����o��Cb��4^Oq=�j�>+�b�_V�$�W��ș6mk������=Y��̽j�[�4^�f��Dʾ��(�%�F,A�%a��_�R,����(��%��K��v�O�E>�>+>dE������� ͳ��K���So*L�!�,�(��q"G�<�JW�/��H� �

@mapkyca
Copy link
Member

mapkyca commented Jun 5, 2015

Can you reliably replicate this? For example, posts with certain characters?

If you have a sample that always does this, could you post it?

@nekr0z
Copy link
Contributor Author

nekr0z commented Jun 5, 2015

No, I don't. The trouble is, this occurres to me with every post (the message differs, but the vibe is the same), and after several F5s with "resend data" things suddenly work out and the update is posted. So the same content can either go through well or result in failure, depending on the current air humidity or whatever else.

@benwerd
Copy link
Member

benwerd commented Jun 5, 2015

We're able to replicate and are treating about this as our highest priority.

@benwerd
Copy link
Member

benwerd commented Jun 5, 2015

We've identified the issue - which is, unfortunately, with non-Latin characters in status updates. We're on it and I'll update this thread when it's fixed (hopefully in the next 20 mins).

@mapkyca
Copy link
Member

mapkyca commented Jun 5, 2015

Hosted related, right? Never been able to replicate...

@benwerd
Copy link
Member

benwerd commented Jun 5, 2015

Correct: it's something to do with the hosted infrastructure. We can't replicate on self-hosted either.

@benwerd
Copy link
Member

benwerd commented Jun 5, 2015

The issue has been pinned down to URL slug generation, which is choking on unicode characters.

@mapkyca
Copy link
Member

mapkyca commented Jun 5, 2015

Given it's intermittent, my bet would be one or two old rds nodes misbehaving.

@benwerd
Copy link
Member

benwerd commented Jun 5, 2015

It's actually related to an older bug. Amazon is failing to update our servers with the latest version of Known, which is a larger and more serious infrastructure problem that we'll follow up with them on. Testing a fix now.

@benwerd
Copy link
Member

benwerd commented Jun 5, 2015

Correction: it looks like on AWS, some strings with special characters are not reliably utf-8 encoded, and the system is dying on json_encode.

@nekr0z
Copy link
Contributor Author

nekr0z commented Jun 6, 2015

Still looks dead to me.

@nekr0z nekr0z changed the title Posting does not really work Posting (with international characters) does not really work on hosted version Jun 6, 2015
@benwerd
Copy link
Member

benwerd commented Jun 6, 2015

I'm afraid we're still on it. It looks like there's a utf8 issue somewhere in the chain. We're also in conversation with Amazon, which hosts our infrastructure. Hoping to get it fixed today.

@mapkyca
Copy link
Member

mapkyca commented Jun 7, 2015

Interestingly, it works fine on my systems so it's got to be a configuration issue - mod missing, or mbstring misconfiguration.

@benwerd
Copy link
Member

benwerd commented Jun 8, 2015

We've finally fixed this in code, and are in the process of coaxing ElasticBeanstalk into updating across all deployed servers.

@benwerd
Copy link
Member

benwerd commented Jun 8, 2015

New version is deployed. I'm closing this ticket - but please do reply if it's still a problem for you.

@benwerd benwerd closed this as completed Jun 8, 2015
@nekr0z
Copy link
Contributor Author

nekr0z commented Jun 9, 2015

I confirm, looks fixed to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants