telegram-crawler/data/web/tsf.telegram.org/manuals/bugs.html
2022-06-03 13:46:09 +00:00

463 lines
33 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Telegram Support Force</title>
<meta property="og:title" content="Handling Bugs and Troubleshooting">
<meta property="og:image" content="https://tsf.telegram.org/file/811140845/1/y4-CDGX0MNo/7774e8d703a4bf7112">
<meta property="og:description" content="This manual is intended for volunteers of the TSF, but anyone else is free to take a look as well.
Every now and then users…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png">
<link rel="alternate icon" href="/img/favicon.ico" type="image/x-icon" />
<script>document.cookie="stel_dt="+encodeURIComponent((new Date).getTimezoneOffset())+";path=/;max-age=31536000;samesite=None;secure"</script>
<link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700" rel="stylesheet" type="text/css">
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
<link href="/css/bootstrap-extra.css?2" rel="stylesheet">
<link href="/css/telegram.css?230" rel="stylesheet">
<link href="/css/tsf.css?7" rel="stylesheet">
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
<link href="/css/health.css?136" rel="stylesheet">
<link href="/css/tchart.min.css?10" rel="stylesheet">
<link href="/css/billboard.css?17" rel="stylesheet">
</head>
<body class="emoji_image no-transition">
<div id="aj_progress" class="progress-bar"></div>
<div id="aj_content"><div class="tr-container">
<header>
<div class="container">
<div class="header-wrap">
<div id="header-panel" class="header-panel">
<div class="header-auth">
<div class="header-auth-item"><a class="header-search-btn"></a></div><div class="header-auth-item"><a class="header-auth-link login-link" href="/auth">Login</a></div>
</div>
<div class="header-breadcrumb header-breadcrumb-simple">
<ol id="breadcrumb" class="header-nav breadcrumb"><li><a href="/">Telegram Support Force</a></li></ol>
</div>
</div>
</div>
</div>
</header>
<main class="container">
<nav class="tr-menu">
<div class="tr-menu-section">
<div class="tr-menu-header">
<div class="tr-menu-header-label">Resources</div>
</div>
<ul class="tr-menu-items"><li>
<a class="tr-menu-item" href="/">
<span class="nav-label">Introduction</span>
</a>
</li><li class="active">
<a class="tr-menu-item" href="/manuals">
<span class="nav-label">Manuals</span>
</a>
</li></ul>
</div>
</nav>
<section class="content clearfix">
<section class="tr-content"><div id="dev_page_content_wrap" class=" ">
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/" >Telegram Support Initiative</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/manuals" >Manuals</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/manuals/bugs" >Handling Bugs and Troubleshooting</a></li></ul></div>
<h1 id="dev_page_title">Handling Bugs and Troubleshooting</h1>
<div id="dev_page_content"><!-- scroll_nav -->
<blockquote>
<p>This manual is intended for volunteers of the <a href="/">TSF</a>, but anyone else is free to take a look as well.</p>
</blockquote>
<p>Every now and then users will report bugs in Telegram. The <a href="#reporting-a-bug"><strong>step-by-step guide</strong></a> and <a href="#troubleshooting-common-issues"><strong>troubleshooting tips</strong></a> on this page will help you deal with those reports in style and eventually help Telegram get rid of the bugs themselves.</p>
<p>See the <a href="/manuals/bug_hunting"><strong>Bug Hunting Algorithm</strong></a> for tips on investigating new issues.</p>
<hr>
<h3><a class="anchor-link" href="#reporting-a-bug"><i class="anchor-icon"></i></a><a class="anchor" name="reporting-a-bug"></a>Reporting a bug</h3>
<h4><a class="anchor-link" href="#1-search-known-issues"><i class="anchor-icon"></i></a><a class="anchor" name="1-search-known-issues"></a>1. Search known issues</h4>
<p>We use <a href="https://trello.com">Trello</a> boards to keep track of bugs (sorry, these boards are TSF-only, <a href="/">here&#39;s how you join</a>), features and user suggestions, so your first stop when encountering a bug report is <strong>Trello search</strong>. Most likely, we already know about the issue — sometimes it is not a bug at all. So make sure you study all the relevant cards.</p>
<p>If you have found the issue on Trello, leave a comment in the card with your user&#39;s <strong>#tq tag</strong> and device info (skip this step if the card already has too many comments of that kind or is in the “Hot and Trending” list). Then go right to <strong><a href="#4-notify-the-user">step 4</a></strong>.</p>
<div>
<a href="/file/811140845/1/y4-CDGX0MNo/7774e8d703a4bf7112" target="_blank"><img src="/file/811140845/1/y4-CDGX0MNo/7774e8d703a4bf7112" title="Screenshot_1.png, 50.2Kb" class="dev_page_image" /></a>
</div>
<p>Trello cards are organized in lists that are pretty self-explanatory:</p>
<ul>
<li>The <strong>&#39;Hot &amp; Trending&#39;</strong> list has the most important cards</li>
<li>Every card begins its journey in the <strong>&#39;Unsorted&#39;</strong> list.</li>
<li>Once the issue was reviewed by a <a href="/manuals/bug_herding">bug herder</a> and reported to the developer, it moves to the <strong>&#39;Reviewed &amp; Reported&#39;</strong> list. we can report any new occurrences in the comments (don&#39;t forget the <strong>footers</strong>) and try to find missing puzzle pieces (e.g. the issue happens only on specific devices / OS versions).</li>
<li>Finally, at some point, the card reaches <strong>&#39;Fixed&#39;</strong> status, is declared a <strong>&#39;Feature&#39;</strong> (this is how we want this to work), or <strong>&#39;Not our bug&#39;</strong> (platform restrictions, etc.).</li>
</ul>
<blockquote>
<p><em>The very first card on each board contains a description for all labels and fields.</em></p>
</blockquote>
<p><strong>Fields</strong><br>Cards can have a <strong>status</strong> field which describes what state the issue is in and whether or not it requires any actions on our TSF side. (E.g., “Needs info”, “Needs logs”, or “Confirm fix”). Feel free to update <strong>Happens in</strong> with the latest version you were able to reproduce the issue in. Other fields are mostly reserved for bug herders, including the Dev Priority field.</p>
<p><strong>Labels</strong></p>
<ul>
<li><strong>Blue</strong> A <strong>notable</strong> card. Being aware of what&#39;s inside may potentially help you recognize important issues and answer questions from users more easily. </li>
</ul>
<ul>
<li><strong>Yellow</strong> This card is <strong>missing important information.</strong> </li>
<li><strong>Sky blue</strong> This card mentions a <strong>workaround</strong> for the issue.</li>
</ul>
<hr>
<h4><a class="anchor-link" href="#2-investigate-the-bug"><i class="anchor-icon"></i></a><a class="anchor" name="2-investigate-the-bug"></a>2. Investigate the bug</h4>
<blockquote>
<p><strong>IMPORTANT:</strong> Please see the <a href="/manuals/bug_hunting">Bug Hunting Algorithm</a> after this manual for an in-depth look at investigating bugs.</p>
</blockquote>
<p>If you can&#39;t find anything useful on Trello:</p>
<ol>
<li>Check <strong>app version</strong>. Must be the <a href="https://t.me/tgstable">latest available</a>.</li>
<li><strong>Reproduce the bug</strong>, if you have a relevant device on hand using the <em>store version</em>. Mention if you can&#39;t reproduce it. Ask in the <a href="#bug-groups">bug groups</a> if you don&#39;t have the device don&#39;t forget to include all <strong>hashtags</strong> from the user&#39;s footer with your question and <strong>English summary</strong> (don&#39;t just forward the messages!).</li>
<li>Check the <a href="#troubleshooting-common-issues">Troubleshooting Tips</a> below, there are some useful tips for identifying and reporting <strong>common issues</strong>.</li>
<li><strong>Find and ask the right questions</strong> that allow to locate the bug — in as few steps as possible. We have a separate and rather exciting manual on this topic, known as the <a href="/manuals/bug_hunting"><strong>Bug Hunting Algorithm</strong></a>.</li>
</ol>
<blockquote>
<p>Reporting a bug is in many regards like convicting the developer of a crime. Just as in that case, you need a clear vision of what happened and why, hard evidence (screenshots) and witnesses (users). Unlike in a criminal case, though, it is considered appropriate and even necessary to reproduce the deed (see if you can reproduce the bug and get the same results).</p>
<p>Another crucial difference: our defendant is also the judge. He is accountable, of course, but still biased. It is in the developer&#39;s best interest to convince you and the public that the bug is not related to his work. Server-side devs will blame the client devs, client devs will blame the server-side devs — and they all together will blame the OS and device manufacturers. While sometimes this is true, we need to leave no escape for them if it isn&#39;t.</p>
</blockquote>
<h4><a class="anchor-link" href="#3-report-the-bug"><i class="anchor-icon"></i></a><a class="anchor" name="3-report-the-bug"></a>3. Report the bug</h4>
<p>If the bug is not mentioned on the Issues board and the Troubleshooting manual doesn&#39;t have any special instructions for the case, we need to report it on Trello.</p>
<ol>
<li>Make sure you&#39;ve really completed steps <strong><a href="#1-search-known-issues">1</a></strong> and <strong><a href="#2-investigate-the-bug">2</a></strong> of this guide.</li>
<li><strong>Important:</strong> Discuss the issue in the relevant <a href="#bug-groups">bug group</a> — you never know what your teammates may have to say. Maybe there&#39;s no need to create a card and an existing one needs editing instead.</li>
<li>If you&#39;re sure this is necessary, add the issue to the board. We&#39;ve added templates like <a href="https://trello.com/c/3WxFPedg">this one</a> to all boards. You can copy them and fill with info.</li>
<li>Make sure your heading has all the relevant info. Fill in the rest of the details.</li>
<li>Always add the user&#39;s (and/or your own, if you reproduced the issue) footer with the <strong>system hashtags</strong>.</li>
<li>Add relevant <strong>screenshots</strong> or <strong>video</strong> to the issue. This is optional if the issue is clear enough without them.</li>
<li>If the problem involves <strong>particular</strong> items (account, photo, group, message, etc) we need the coordinates required to locate that particular item (tq/footer, phone number, username, link, Telegram Web address bar string, forwarded copy). <em>Think: if you were a developer who just received your question, would you need to ask for more info instead of giving an answer?</em></li>
<li>Make sure that your description has all the <strong>relevant keywords</strong>, so that it&#39;s easy to find the issue via <strong>search</strong>.</li>
<li>When you add your first issue to Trello send the link to Daria — along with a picture of a beetle.</li>
<li>Think of the words you would use if you were looking for that issue — try them in the search box. Adjust the description accordingly.</li>
<li>Ask your teammates if you have any doubts.</li>
</ol>
<h5><a class="anchor-link" href="#bug-groups"><i class="anchor-icon"></i></a><a class="anchor" name="bug-groups"></a>Bug Groups</h5>
<p>We&#39;re currently experimenting with TSF-wide bug groups for reporting and investigating issues in the apps. You can find a list in <a href="https://trello.com/c/iAH2kIDN">this card</a>.</p>
<h5><a class="anchor-link" href="#custom-fields-and-comments"><i class="anchor-icon"></i></a><a class="anchor" name="custom-fields-and-comments"></a>Custom Fields and Comments</h5>
<ul>
<li>There are several custom fields. Fill in <strong>&#39;Happens in&#39;</strong> with the hashtag of the version, e.g. #5_1_1_870. The rest of the custom fields are reserved for <a href="">bug herders</a>, please don&#39;t change them unless you&#39;re 200% sure you know what you&#39;re doing. You can read more about the fields in the first card on each board.</li>
<li>Add a <strong>comment</strong> whenever a bug&#39;s state is changed.</li>
<li>Discuss in the groups, comments are for important <strong>updates</strong> to the bug only.</li>
<li>Make sure the bug&#39;s description covers all the important info that emerged in the comments.</li>
</ul>
<h4><a class="anchor-link" href="#4-notify-the-user"><i class="anchor-icon"></i></a><a class="anchor" name="4-notify-the-user"></a>4. Notify the user</h4>
<p>Once we&#39;re done, we need to get back to the user and tell them that we&#39;ve located the issue or are investigating it. You never know how long that might take, but the user must know that he succeeded in alerting us — and helped us greatly. Parachutes and pasties</p>
<ul>
<li>Always include an <strong>issue ID hashtag</strong> in your reply in this situation.</li>
<li>All Trello cards have unique identifiers (open card, click on “share and more”, then &#39;link to this card&#39;, take the last part of the link, after /c/ — e.g. <em>vMFS4MZf</em>).</li>
<li>We use this ID to create a hashtag (e.g. <strong>#issue_vMFS4MZf</strong>) and include it in our reply to the user with that problem. Like this, for example:</li>
</ul>
<blockquote>
<p>We are terribly sorry that you are not able to delete old profile pictures in channels on the Android application. We reproduced it and are already working on a bug fix. Your issue #issue_lLyHjLRa has been recorded and we&#39;ll get back to you as soon as we have any news.</p>
<p>By the way, you can delete old profile pictures on the desktop client. Tell us if you want to learn more about it.</p>
</blockquote>
<p>This allows us to use Telegram hashtag search to track issues for follow-up questions. The bot can use these hashtags to send automatic replies when a bug is fixed. We can also search for this issue on Trello by its ID.</p>
<div>
<a href="/file/811140239/1/7dQ_0YP_8b8/7936f2ed5753460926" target="_blank"><img src="/file/811140239/1/7dQ_0YP_8b8/7936f2ed5753460926" title="Screenshot_3.png, 31.03Kb" class="dev_page_image" /></a>
</div>
<h4><a class="anchor-link" href="#5-stick-to-our-goals"><i class="anchor-icon"></i></a><a class="anchor" name="5-stick-to-our-goals"></a>5. Stick to our goals</h4>
<ol>
<li>Our final goal in case of any bug is to create a report in Trello that would get the status <strong>confirmed by a developer</strong> or <strong>feature</strong>.</li>
<li>If no report was created or no existing relevant report found — we did <strong>nothing</strong>, regardless of how much time we spent talking to the user or TSF members in our groups and diagnosing the issue.</li>
</ol>
<p>In order to achieve this goal with a clear conscience, we need to respect our users&#39; <strong>time</strong> and <strong>effort</strong> — a little more on this below:</p>
<hr>
<h4><a class="anchor-link" href="#a-note-on-users"><i class="anchor-icon"></i></a><a class="anchor" name="a-note-on-users"></a>A note on users</h4>
<p>One may think that users are people with problems. Wrong. It is us, who have problems — the user is just a convenient medium for studying them. Our problem is either that something is wrong in our system. Or that we can&#39;t understand what the user is doing wrong. When you look at it this way, you quickly realize that the user is our most important <strong>asset</strong> when it comes to bugs. They can help us identify bugs and improve usability.</p>
<p>So when somebody comes with a problem, we are not looking for a way to make them go away. Instead we must do all we can to not let the user leave before we find the problem. This means that everything you ask them to do must tell you something important. Nobody enjoys rebooting their phone or logging out and in. The general rule is <strong>minimum actions — maximum effect</strong>. Rabid bunnies alert</p>
<p>If you do ask something that requires at least some effort, please be nice about it! People don&#39;t have any obligations to Telegram — we need to convince them to help us and to thank them when they do. It&#39;s the least we can do.</p>
<hr>
<p>Now that we&#39;re done with the basic reporting process, below are some common issues and what you should do when somebody is complaining about similar stuff.</p>
<hr>
<h3><a class="anchor-link" href="#troubleshooting-common-issues"><i class="anchor-icon"></i></a><a class="anchor" name="troubleshooting-common-issues"></a>Troubleshooting common issues</h3>
<blockquote>
<p>This advanced troubleshooting guide is intended for volunteers of the <a href="/">Telegram Support Force</a>.<br>Everyone else is also welcome to take a look. Help friends and loved ones — or troubleshoot yourself!</p>
</blockquote>
<p><div class="dev_page_nav_wrap"></p>
<ul>
<li><a href="#cant-install-app">Cant Install App</a></li>
<li><a href="#messages-not-getting-delivered">Messages not getting delivered</a></li>
<li><a href="#notification-problems">Notification problems</a></li>
<li><a href="#contact-importing-problems">Contact importing problems</a></li>
<li><a href="#speed-issues">Speed issues</a></li>
<li><a href="#connection-issues">Connection issues</a></li>
<li><a href="#last-seen-time-is-not-displayed-correctly">Last seen time is not displayed correctly</a></li>
<li><a href="#user-was-blocked-but-still-sees-last-seen-online-status">Blocked user sees online/last seen status</a></li>
</ul>
<p></div></p>
<hr>
<h4><a class="anchor-link" href="#cant-install-app"><i class="anchor-icon"></i></a><a class="anchor" name="cant-install-app"></a>Cant Install App</h4>
<p><strong>iOS:</strong> Device must run iOS 8 or higher.</p>
<p><strong>Android: </strong><br>- If SDK &gt;= 16 —&gt; Android version must be 4.1<br>- Ask whether other applications install ok<br>- If nothing helps we need to know the Android version and device model</p>
<h4><a class="anchor-link" href="#messages-not-getting-delivered"><i class="anchor-icon"></i></a><a class="anchor" name="messages-not-getting-delivered"></a>Messages not getting delivered</h4>
<p>The following cases cover pretty much all the complaints:</p>
<ul>
<li>The user may be confused by the check system. In Telegram: 1 check = message sent, 2 checks = message <strong>read</strong> (opened by the recipient). So the sender may think the message is not getting delivered or is delivered slowly, while they are in fact waiting for it to be read.</li>
<li>The user may be blocked. When a user is blocked, they will not be notified in any way. Their messages will just stop being read: one tick, always. He should ask his partner to check Settings — Blocked users. Blocked users don&#39;t see your online and last seen status and don&#39;t see a person&#39;s profile picture.</li>
<li>The user may confuse messages and notifications and say that messages are not getting delivered, when he in fact means notification issues. If a person sees the message upon opening the app, but doesn&#39;t get notified until he opens the app — see <a href="#notification-problems">notification problems</a>.</li>
<li>Since people can delete messages for everyone after sending them, it could be that a user means notifications for messages that have already been deleted by the sender.</li>
<li>Lastly, when dealing with Secret Chats, users must remember, that messages will only be delivered to the device that was used when the Secret Chat was created.</li>
</ul>
<p>In case it&#39;s none of these five (but it <em>must</em> be one of these five, really), this is one of the worst things that can ever happen in Telegram. We need to know:</p>
<ul>
<li>Phone numbers for <em>all</em> participating users</li>
<li>Devices and app types for <em>all</em> users</li>
<li>Secret chats or cloud chats? Or both?</li>
<li>One-way or two-way problem?</li>
</ul>
<h4><a class="anchor-link" href="#notification-problems"><i class="anchor-icon"></i></a><a class="anchor" name="notification-problems"></a>Notification problems</h4>
<p><strong>iOS:</strong></p>
<ul>
<li>Make sure notifications are on in Telegram AND in phone settings (Settings &gt; Notifications), check app version.</li>
<li>Make sure notifications werent disabled for a specific chat or group.</li>
<li>Shut down Telegram (go to home screen, swipe up or double tap home button, swipe upwards on Telegram), then go to Phone Settings and disable alerts. Relaunch Telegram, go to Phone Settings, enable alerts.</li>
</ul>
<p>What we need to know if nothing helps:</p>
<ul>
<li>Users <strong>footer tag</strong>.</li>
<li>Type of problem (notifications: a. never come, b. come only sometimes)</li>
<li><strong>Logs</strong> that capture the problem and <strong>time</strong> of when the message was received.</li>
</ul>
<p><strong>Android:</strong></p>
<ul>
<li>Make sure the latest app version is installed.</li>
<li>Go to <em>Telegram Settings &gt; Notifications and Sounds</em>, make sure that notifications are ON and Importance is set to “High” or greater.</li>
<li>Check notification priority for Telegram in Android settings, it can be called Importance or Behaviour depending on the device.</li>
<li>Make sure notifications werent disabled for a specific chat.</li>
<li>Make sure that <a href="https://play.google.com/store/apps/details?id=com.google.android.gms">Google Play Services</a> are installed on the device.</li>
</ul>
<blockquote>
<p>NOTE: Huawei and Xiaomi devices have evil task killer services that interfere with the Telegram notification service. In order for our notifications to work, users need to add Telegram to allowed apps in those devices&#39; security settings. Samsung devices also may require some manipulations. </p>
<p>Huawei: Phone Manager App &gt; Protected apps &gt; Add Telegram to the list.<br>Xiaomi: Services &gt; Security &gt; Permissions &gt; Autostart, find Telegram and enable autostart.<br>Samsung: Settings &gt; Device Maintenance &gt; Battery &gt; Unmonitored Apps, then add Telegram to that list.</p>
</blockquote>
<p>In case you went through all the steps to no avail, we need to know:</p>
<ul>
<li>Users phone number (username) or footer tag so we can find the user again to followup.</li>
<li>Type of problem (notifications: a. never come, b. come only sometimes)</li>
<li><strong>System</strong> and <strong>app logs</strong> that capture the problem and <strong>time</strong> of when the message was received.</li>
</ul>
<h4><a class="anchor-link" href="#contact-importing-problems"><i class="anchor-icon"></i></a><a class="anchor" name="contact-importing-problems"></a>Contact importing problems</h4>
<p>User doesnt see his contacts in Telegram. Or sees numbers instead of names in Messages list.</p>
<blockquote>
<p><strong>Important:</strong> Naturally, one of the easiest ways to solve this would be to save the number in international format. <strong>Do not advise this before other methods.</strong> Our systems <strong>must</strong> correctly parse any contacts. Therefore it is imperative to collect these samples and bring them to your local group so that we can adjust the algorithms.</p>
</blockquote>
<p><strong>iOS:</strong></p>
<ul>
<li>Temporarily change the name of the missing contact in Phone Contacts (not in Telegram) — add a few symbols, then change back again</li>
<li>If that doesnt help, relogin</li>
</ul>
<p>Things we need to know if nothing helps:</p>
<ul>
<li>Users phone number</li>
<li>Phone number(s) of the contact(s)</li>
<li>How exactly these numbers are stored in users phone book (international format or anything else?)</li>
<li>Devices and app versions for all users</li>
</ul>
<p><strong>Android:</strong></p>
<ul>
<li>Relaunch the app (not relogin! that wont help) — swipe the app off the currently-running-apps list</li>
<li>Temporarily change the name of the contact in phone contacts (add a few symbols, then change back again)</li>
</ul>
<p>Things we need to know if nothing helps:</p>
<ul>
<li>Users phone number</li>
<li>Phone number(s) of the contact(s)</li>
<li>How exactly these numbers are stored in users phone book (international format or anything else?)</li>
<li>Devices and app versions for all users</li>
</ul>
<h4><a class="anchor-link" href="#speed-issues"><i class="anchor-icon"></i></a><a class="anchor" name="speed-issues"></a>Speed issues</h4>
<p>Make sure that we&#39;re really talking about speed issues here. In Telegram, 1 check = message sent, 2 checks = message read (opened by the recipient).</p>
<p>What we need to know:</p>
<ul>
<li>Problem occurs in one app only, or in all apps (e.g. in iOS and TDesktop on the same Wi-Fi).</li>
<li>Problem occurs when sending or receiving (uploading / downloading)? Or both?</li>
<li>What Internet connection is being used? If Wi-Fi, advise user to try LTE and vice versa and see what changes.</li>
<li>Recipient and sender&#39;s footer tags (or username/number).</li>
<li>Time of problem (better include the timezone too).</li>
<li>In case of a photo/video, ask the user to forward it to us. <strong>Not</strong> upload it again, just forward the original message with the attachment.</li>
</ul>
<h4><a class="anchor-link" href="#connection-issues"><i class="anchor-icon"></i></a><a class="anchor" name="connection-issues"></a>Connection issues</h4>
<p>When people are reporting connection issues, check Twitter first: are there any widespread problems. If the problem is local, we need to find out a lot of information before things can be investigated. Things to ask:</p>
<ul>
<li>Do other (non-Telegram) apps work OK?</li>
<li>What exactly is happening? (always &#39;connecting…&#39; / always &#39;updating…&#39; / seems ok, but messages are not sent / not delivered, etc.)</li>
<li>At what time did it start? Is it still happening?</li>
<li>Is this happening all the time or sometimes?</li>
<li>Does this happen with all Telegram apps — or just one?</li>
<li>Does web.telegram.org work?</li>
<li>The problem happens on Wi-Fi, on mobile connection or in both cases?</li>
</ul>
<p>Don&#39;t forget to include with your report:</p>
<ul>
<li>User&#39;s footer tag.</li>
<li>Results of <a href="https://t.me/connectivity_test">@connectivity_test</a>. Which GIFs are downloaded slowly or not downloaded?</li>
</ul>
<p>It is possible that we&#39;ll need a Traceroute to our servers, <a href="https://telegram.wiki/kb/general/connection-and-sms-issues/">here&#39;s</a> how you get that. Wait for instructions from the server cultists to get the right IP to trace the route to — each case potentially requires a different one.</p>
<h4><a class="anchor-link" href="#last-seen-time-is-not-displayed-correctly"><i class="anchor-icon"></i></a><a class="anchor" name="last-seen-time-is-not-displayed-correctly"></a>Last seen time is not displayed correctly</h4>
<ul>
<li>We use the users time zone. If he has manually entered a time different from the time zone, he will see the wrong time.</li>
<li>If an app force-quits, the user may remain <em>online</em> for 5-7 minutes after this.</li>
</ul>
<p>If none of the two, pass to the volunteer group. We need to know:</p>
<ul>
<li>The time zone and time set</li>
<li>Detailed description of the problem</li>
</ul>
<blockquote>
<p><strong>NOTE:</strong> Support accounts are slightly different from ordinary user accounts. Due to some limitations, it is <strong>normal</strong> if you don&#39;t see the correct last seen time for users who are contacting Support.</p>
</blockquote>
<h4><a class="anchor-link" href="#user-was-blocked-but-still-sees-last-seen-online-status"><i class="anchor-icon"></i></a><a class="anchor" name="user-was-blocked-but-still-sees-last-seen-online-status"></a>User was blocked, but still sees last seen / online status</h4>
<p>The changes that come with blocking sometimes do not take effect immediately. Give it a few minutes, maybe half an hour — and the blocked user will stop seeing the status.</p>
<p>If a blocked user restarts the app or relogins, but can still see online status — pass to the volunteer group. This cannot happen under normal conditions.</p>
<hr>
<h3><a class="anchor-link" href="#tsf-manuals"><i class="anchor-icon"></i></a><a class="anchor" name="tsf-manuals"></a>TSF Manuals</h3>
<p><div class="dev_page_nav_wrap"></p>
<ul>
<li><a href="/">TSF Manifesto</a></li>
<li><a href="/manuals/bios">BIOS</a></li>
<li><a href="/manuals/answering_questions">Answering questions</a></li>
<li><a href="/manuals/bugs"><strong>Bug handling and troubleshooting</strong></a> (you are here)</li>
<li><a href="/manuals/feature_philosophy">Feature Philosophy</a></li>
</ul>
<p></div></p>
</div>
</div></section>
</section>
</main>
</div><div class="popup-container login-popup-container hide" id="login-popup-container">
<div class="popup">
<div class="popup-body">
<section>
<h2>Log In</h2>
<p>Log in here to access your TSF stats. Please enter your <b>phone number</b> in the <a target="_blank" rel="noopener" href="https://telegram.org/faq#login-and-sms">international format</a> and we will send a confirmation message to your account via Telegram.</p>
<form id="send-form" class="login-form">
<div class="form-group">
<input type="tel" class="form-control tr-form-control input-lg" id="phone-number" placeholder="+12223334455" autocomplete="off"/>
</div>
<div class="popup-buttons">
<a class="btn btn-link btn-lg login-cancel-btn">Cancel</a><button type="submit" class="btn btn-link btn-lg">Next</button>
</div>
</form>
<div id="login-form" class="hide">
<div class="form-group">
<span class="form-control tr-form-control input input-lg input-disabled"><strong id="phone-number-field"></strong> (<a class="login-back" href="/auth">Incorrect?</a>)</span>
<p class="help-block dots-animated">We&#39;ve just sent you a message.<br/>Please confirm access via Telegram</p>
</div>
<div class="popup-buttons">
<a class="btn btn-link btn-lg login-cancel-btn">Cancel</a><a class="btn btn-link btn-lg login-back">Back</a>
</div>
</div>
</section>
</div>
</div>
</div></div>
<script src="/js/jquery.min.js?1"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/main-aj.js?58"></script>
<script src="/js/main.js?46"></script>
<script src="/js/tsf.js?3"></script>
<script src="/js/jquery-ui.min.js?1"></script>
<script src="/js/tchart.min.js?18"></script>
<script src="/js/billboard.min.js?1"></script>
<script src="/js/stats.js?18"></script>
<script>ajInit({"version":552,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script id="aj_script">window.initDevPageNav&&initDevPageNav();
Aj.onLoad(function(state) {
function requestConfirmation(event) {
event && event.preventDefault();
var phone = $('#phone-number').val();
$.ajax({
type: 'POST',
url: '/auth/request',
data: {
phone: phone
},
success: function(result) {
$('#phone-number-field').text(phone);
$('#send-form').addClass('hide');
$('#login-form').removeClass('hide');
checkAuth(result.temp_session);
},
error: function(xhr) {
showAlert(xhr.responseText || 'Server error');
},
dataType: 'json'
});
return false;
}
function cancelConfirmation(event) {
event && event.preventDefault();
$('#phone-number-field').text('');
$('#send-form').removeClass('hide');
$('#login-form').addClass('hide');
$('#phone-number').focus();
clearTimeout(window.authTimeout);
return false;
}
function checkAuth(temp_session) {
clearTimeout(window.authTimeout);
window.authTimeout = setTimeout(function doCheckAuth() {
$.ajax({
type: 'POST',
url: '/auth/login',
data: {
temp_session: temp_session
},
success: function(result) {
if (result) {
location.reload();
} else {
checkAuth(temp_session);
}
},
error: function (xhr) {
showAlert(xhr.responseText || 'Server error');
},
dataType: 'json'
});
}, 700);
}
$('#login-popup-container').on('popup:open', function() {
$('#phone-number').focus();
});
$('#login-popup-container').on('popup:close', function() {
cancelConfirmation();
if (location.pathname == '/auth') {
window.history && history.replaceState(null, null, '/');
}
});
$('#login-popup-container #send-form').on('submit', requestConfirmation);
$('#login-popup-container .login-cancel-btn').on('click', function(e) {
e.preventDefault();
closePopup('#login-popup-container');
});
$('#login-popup-container .login-back').on('click', cancelConfirmation);
$('.login-link').on('click', function(e) {
e.stopImmediatePropagation();
e.preventDefault();
openPopup('#login-popup-container');
});
});
Aj.onUnload(function(state) {
$('#login-popup-container').off('popup:open');
$('#login-popup-container').off('popup:close');
$('#login-popup-container #send-form').off('submit');
$('#login-popup-container .login-cancel-btn').off('click');
$('#login-popup-container .login-back').off('click');
$('.login-link').off('click');
});
</script>
<script>Aj.pageLoaded();</script>
</body>
</html>