NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

Question Discord-Bot setup
Started by hikfga

hikfga

hikfga

Member
Joined
20 May 2023
Last Seen
21 May 2023
Topics
1
Posts
1

How can I fix this issue?

Network connection error (not a Nameless issue). HttpHeadersTimeoutException: couldn't receive headers on time

Could it be that I need to open any port?

 

 

hikfga · 11 months ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
21 Apr 2024
Topics
41
Posts
1047

Hi,

The following is taken from our Discord support bot:

Plugin or Nameless-Link times out while waiting for response

This error means the website hasn't sent a response to an API call in a reasonable amount of time and the connection was aborted. Some possible causes are listed below.

  • If this only happens occasionaly and commands work fine, it is likely that your website or internet connection was down for a brief moment. In that case you should ignore the warning.
  • Increase the timeout to PT10S (in main.yaml) if it is currently set to a lower value.
  • Due to several bugs in Discord group sync, it can delay web requests for far too long. This will be fixed in 2.1.0. For now, please remove any Discord group sync rules in StaffCP > Configuration > API > Group Sync.
  • If your website is not reachable at all, Nameless-Plugin or Nameless-Link is not going to get a response in time and this error may appear. Perhaps you entered an incorrect API URL? Or maybe a firewall is blocking requests?
  • Ensure the database server and web server are on the same machine, otherwise it might not be able to produce API responses quickly enough due to query latency.
  • (only for v2-pr12 and older) One API endpoint endpoint sometimes checked for a NamelessMC update, delaying the response. This update check has been removed in later versions. Please update.
Samerton · 11 months ago