Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-04-2019, 09:15 AM
Younicode Younicode is offline
 
Join Date: Feb 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default only login long response - timeout issue

Hi,

We have a very strange issue about singing in to our forum. The issue is that it takes too long after insertion of the login's data to receive the response from the server and be directed to the main page. The rest of the forum works very well. once you get logged in after lots of trying everything is ok.

The error is ERR_TIMED_OUT.

There is no issue for the database connection I checked.
The issue arose a week ago after having lot's of fake users registrations. I have delete all the fake users and activated DDOS detection and blocking in the server (Linux debian).
DDOS deflate , APF and BFD have been installed and configured.
I have updated PHP, apcache2 and mysql and phpmyadmin to theri last versions.

The problem however still exists and I do not have any idea about how to solve the issue.

The only thing that comes to my mind is maybe the issue of sessions and cookies but I do not see any error.

Could anyone please help me about resolving the issue?

Thanks.
Reply With Quote
  #2  
Old 08-04-2019, 10:05 AM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try .. in adminCP

path to save cookies ..default is slash "/"
cookie domain .. default is "blank"
forum URL
Forum Component URL

and .htaccess to see if login.php is being redirected.

check everywhere if it is http or https .. it should be only one not mixture of both
Reply With Quote
  #3  
Old 08-04-2019, 06:07 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also if you have any plugins that interact with the login process, disable them one by one. It's possible one of them performs a HTTP(S) call behind the scenes that times out.
Reply With Quote
  #4  
Old 08-06-2019, 06:47 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
Also if you have any plugins that interact with the login process, disable them one by one. It's possible one of them performs a HTTP(S) call behind the scenes that times out.
Nice to see you here Dave!

OP - Check server logs.
Reply With Quote
  #5  
Old 08-12-2019, 12:16 PM
Younicode Younicode is offline
 
Join Date: Feb 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I did everything to fix the issue but it still does not work.
I have reinstalled the Debian operating system in the VPS and imported everything again.
The hooks are disabled from the config file.
The response takes too long to be received and the timeout error still persists.

It should be related to something to server but I don't know what.

The same issue exists in signing into phpmyadmin.

The strange thing is that all the rest of the website works well. if your session is not destroyed you can access it properly. Currently i myself cannot log in to the forum.

There is no error log in the operating system log files.

I don't know what is wrong.
I asked form the hosting company to check if everything is wrong with them but the technicians of the server told me the only available opened port are http, https, and mysql and i don't personally think this is related.

I sometime see php allocation memory issue in the apache2 log but increasing the limit in php.ini did not resolve the problem.

Using a test php file I checked db connection, session and cookie creation and all work.

I appreciate if anyone can help me.

Thanks.
Reply With Quote
  #6  
Old 08-12-2019, 12:52 PM
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Location: Inside A Blade Server
Posts: 840
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you using a php.ini file?

If so what are the these settings?

memory_limit = ${PHP_MEMORY_LIMIT}

max_execution_time = (30)
Reply With Quote
  #7  
Old 08-12-2019, 02:05 PM
Younicode Younicode is offline
 
Join Date: Feb 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, i use php.ini.

I recently switched to use php 7.1 instead of 5.6 and here are the settings:

memory_limit = 128M
max_execution_time = 30

But why a simple login response should require more resources of time and limit?
However, nothing changed by increasing the above limits.

I wish I could find a way to trace the issue and figure out the real source of it.

Thanks.
Reply With Quote
  #8  
Old 08-12-2019, 06:41 PM
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Location: Inside A Blade Server
Posts: 840
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Younicode View Post
Yes, i use php.ini.

I recently switched to use php 7.1 instead of 5.6 and here are the settings:

memory_limit = 128M
max_execution_time = 30


But why a simple login response should require more resources of time and limit?
However, nothing changed by increasing the above limits.

I wish I could find a way to trace the issue and figure out the real source of it.

Thanks.
128MB is nothing by today's script standards. The first thing I would do is increase that value to 512MB and see if that resolves your issue. You can also try increasing the timeout value to 60 but I would try the memory value first.
Reply With Quote
  #9  
Old 08-14-2019, 02:36 PM
Younicode Younicode is offline
 
Join Date: Feb 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

The issue is resolved. It was some block from the server administration side on the VPS done from the hosting company.
The did not explain what was it exactly but after communicating with them they resolved it.

Thanks everyone.
Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:45 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03830 seconds
  • Memory Usage 2,236KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete