LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-07-2016, 08:07 PM   #1
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,112

Rep: Reputation: 73
no log in possible


I often go to chinese.stackexchange.com as I am learning Chinese.

Yesterday, I could not log in. I thought maybe they are doing maintenance work. Today, I still can't log in. The log in button is dead, no reaction.

At the top of the page, there are 2 fields where you can see comments or criticisms on threads you have answered and changes in your score. These are also dead.

I started Ubuntu in recovery mode, ran package check, ran fsck, did not get any problems.

I tried this using Firefox and Chrome.

Then I started an older Toshiba laptop which also has Ubuntu 16.04

I logged in no problem.

Here at work on this computer I also cannot log in to chinese.stackexchange.com

Does anyone have an explanation for this? Some kind of hack? stackexchange's server is faulty?
 
Old 12-07-2016, 08:54 PM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Hi...

Out of curiosity, Are you able to right click on the log in button and bring up the log in page in another tab? Did you try flushing out the cache and deleting cookies? Did you disable Javascript?

Also, in case you don't find a resolution here, you can try using the Chinese StackExchange support page here.

Regards...

Last edited by ardvark71; 12-07-2016 at 08:59 PM. Reason: Added question.
 
Old 12-07-2016, 11:17 PM   #3
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,112

Original Poster
Rep: Reputation: 73
I did not knowingly disable java script.

I did delete all cookies. I don't know how to flush the cache.

If I right click the log in button I cannot bring up the log in page in another window. I can see the source code.

This is weird, it works on 1 laptop, but not on this desktop or my usual laptop.
 
Old 12-08-2016, 02:01 AM   #4
c0wb0y
Member
 
Registered: Jan 2012
Location: Inside the oven
Distribution: Windows
Posts: 417

Rep: Reputation: 74
Quote:
This is weird, it works on 1 laptop, but not on this desktop or my usual laptop.
Using the same OS and browser/s? Any browser plugins that might block scripts?

You can use firebug or chrome's developer tools to see which element/s fails to load.
 
Old 12-08-2016, 03:56 AM   #5
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,112

Original Poster
Rep: Reputation: 73
At work I use Fedora 23, at home both laptops have Ubuntu 16.04. I update the software very regularly.

There may be browser plugins which cause problems, but I have not changed anything recently. 2 days ago, I did not have this problem.
 
Old 12-08-2016, 06:46 AM   #6
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by Pedroski View Post
I don't know how to flush the cache.
Hi...

A quick Google search on "how to flush the cache in [browser name]" should give you the relevant instructions. Also, did you install any updates on these systems at the time this started happening. Please post back with what firebug or the developer tools show.

I agree, this doesn't make any sense at the moment.

Regards...
 
Old 12-08-2016, 06:16 PM   #7
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,112

Original Poster
Rep: Reputation: 73
I flushed the cache via Firefox Settings and installed firebug. Also, I checked that javascript is enabled. about:config in Firefox gets me to the page where I can enable or disable things. Javascript is enabled.

Firebug does not show any error.

I keep most google sites blocked in hosts, because I live in China. Every time a site links to google, the load time approaches infinity, so I just point all these to 127.0.0.1 Google and China are not friends.

However, I have been doing this for a long time before this problem arose. Also, I have a vpn, so with vpn enabled I should be able to log in, but that also does not work.
 
Old 02-08-2017, 07:05 PM   #8
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,112

Original Poster
Rep: Reputation: 73
Just thought I'd finish this: the situation was, I could not log in to chinese.stackexchange.com on Ubuntu, but it worked ok on a windows machine.

I am in China, so weird things happen. google is blocked for the most part. Many, many pages link to google sites. They slow down load times for webpages a lot.

I was given the tip, put such sites in hosts: 127.0.0.1 www.anysite.any

I think this makes the browser look in the localhost, it finds nothing and moves on instead of waiting forever.

Yesterday, on an idea, I commented out all these lines in hosts. Bam, I could log in again on Ubuntu, the first time in months.

Weirder still: I gradually uncommented the lines to see if I could find what was the problem. All the lines are now uncommented and I can still login ok.

All's well that ends well, but I don't understand it!
 
Old 02-19-2017, 03:29 AM   #9
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
Did you [not] exit&restart the browser? Here's a TL;dr that, way at the end, says:
"Some applications such as Firefox seem to cache this information and may need to be restarted"
(or, less-likely and more-obscure, this /etc/nscd.conf: enable-cache hosts no)

Last edited by Jjanel; 02-19-2017 at 03:38 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to fix "Please have a look at the log file for details: /var/log/jockey.log" harisuciha Linux - Hardware 3 04-29-2012 01:59 PM
kernel log format in /var/log/kern.log sinu_nayak2001 Linux - Newbie 2 10-07-2009 09:34 AM
In Apache server, How to change log file location and log format for access log fil? since1993 Linux - Server 1 08-19-2009 05:14 PM
Can Samhain log my entries in /var/log/secure and /var/log/mesage to a central server abefroman Linux - Software 2 04-13-2008 05:13 PM
Opennms Logs - where are web.log, web_rtc.log and webauth.log referenced? not_much_of_a_guru Linux - Networking 0 07-12-2006 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration