FXSUPPORT

All servicesAboutContact
Incident runbook for brokers

MetaTrader server troubleshooting: a runbook for MT4 and MT5 brokers

When clients say your server is down, the first fifteen minutes decide how long the outage lasts. This runbook is written for the people who run the servers, not the people who trade on them.

For brokerages and companies. Replies come from an engineer, not a call centre.

Written for
Broker admins, CTOs and dealing desks
Platforms
MT4 and MT5 servers
Covers
Error codes, logs, feeds and bridges
Not for
Individual traders

Updated 22 October 2026By the FXSUPPORT engineering team

In short

MetaTrader server troubleshooting starts with scope. First find out whether one client, one symbol or the whole MT4 or MT5 server is affected. Then work through the layers in order. Read the server and access server logs and test connectivity. Check the data feed and the bridge, then recently changed plugins and session settings. Fix the narrowest cause, tell clients what is happening and record the root cause.

Where does MetaTrader server troubleshooting start?

MetaTrader server troubleshooting starts by finding out how wide the problem is. Most reports of an MT5 server being down turn out to be one client, one network or one symbol. Restarting the wrong service can turn a partial problem into a full outage, so nobody touches anything until the scope is known.

Each brokerage runs its own servers and MetaQuotes has no access to them. That makes this a broker’s job. We write this guide for brokerages and the companies that run their platforms. If you are a trader with a connection or order problem, your broker is the right contact, and we cannot help with individual accounts.

Pin down four things in the first minutes. First, who is affected, from a single account up to every client. Second, which platforms fail, including the manager terminals. Third, what exactly fails, such as logins, quotes or orders. Fourth, what changed in the last 24 hours.

Everyone on every device points at the trade server or the network in front of it. One region points at an access server. One symbol points at the data feed. Quotes flowing while orders fail points at the bridge, the liquidity provider or a plugin.

What should happen in the first 15 minutes of an MT4 or MT5 outage?

In the first 15 minutes of an MT4 or MT5 outage you confirm scope, set severity, read the logs and list recent changes before you decide anything. Timestamp each step. The post-incident review depends on it.

Name one incident lead early. That person decides on restarts and approves client messages. Two engineers restarting different services at the same time is how a ten-minute fault becomes an hour.

  1. Open a record

    Note the first report time and the exact error text or code.

  2. Confirm scope

    Log in with an internal test account on desktop, mobile and web, through each access point.

  3. Set severity

    Decide how many clients are affected and name the incident lead.

  4. Read the logs

    Pull the last 30 to 60 minutes from the trade server, access servers, feed and bridge.

  5. List changes

    Check plugins, configuration and builds. Then check certificates, firewall rules, DNS and hosting.

  6. Decide

    Roll back, fail over, isolate one component or escalate to the vendor.

  7. Communicate

    Tell dealing, support and clients what is affected and when the next update comes.

Which symptoms point to which server layer?

Match the symptom to the most likely layer, run the check, then apply the narrowest fix. The table below is the core of our runbook. Execution decisions, such as moving flow when an LP fails, belong to your dealing desk and risk policy rather than the engineer on call.

MetaTrader server troubleshooting: symptom, check and fix
SymptomLikely layerCheckTypical fix
No connection for all clientsTrade server, network or access serversService status, internal login direct and through each access point, recent firewall or DNS changesRestart only the failed part, revert network changes, move clients to healthy access points
No connection in one regionAccess server or routingThat access server’s log, latency and packet loss from the regionTake the access point out of rotation and reroute
Invalid account for many clientsServer list, group settings or a pluginServer names given to clients, recent group edits, login pluginsFix the server list or permissions, roll back the plugin
Quotes frozen on some symbolsData feedLast tick time, feed log, symbol sessionsRestart or switch the feed, fix sessions, pause trading on the symbol
Orders rejected while prices moveBridge, gateway or LPBridge logs, LP session state, symbol mapping, credit at the LPReconnect, fix mapping, route per your risk policy
Slow execution and timeoutsServer load, bridge latency or a pluginCPU, memory and disk, bridge round trip, plugin timingRemove the bottleneck or disable the slow plugin
Crash after an updateNew build or pluginCrash time against the change log, plugin load messagesRoll back and test on staging first
Markets open late or close earlySessions, holidays or DSTSymbol sessions against the venue and LP calendarCorrect sessions and publish the schedule

Which MetaTrader common errors point to the server?

A small group of MetaTrader common errors almost always points to the server when many clients report them at once. One client with one error is usually a client problem. The same code across many accounts in the same minute is a server, configuration or liquidity problem.

MT4 and MT5 number their errors differently. MT4 uses small numbers returned by GetLastError, such as 130 for invalid stops. MT5 trade requests return a code in the 10000 range, such as 10016 for the same problem. The descriptions below are taken from MetaQuotes’ MQL4 and MQL5 references.

One trap catches support desks often. In MT5 a successful OrderSend result only means the server accepted the request for processing. A dealer, gateway or plugin can still reject the order afterwards, so a client who says it said OK and nothing happened needs a look at the server journal.

MT4 and MT5 error codes that usually point to the broker’s server
MT4 codeMT5 codeMetaQuotes descriptionWhere to look first
6 ERR_NO_CONNECTION10031No connection with the trade serverTrade server, access points, network
65 ERR_INVALID_ACCOUNTLogin errorInvalid accountServer name, account and group settings
136 ERR_OFF_QUOTES10021No quotes to process the requestData feed, bridge, LP session, sessions
132 ERR_MARKET_CLOSED10018Market is closedSessions, holidays, DST
133 ERR_TRADE_DISABLED10017Trade is disabledSymbol trade mode, group permissions
130 ERR_INVALID_STOPS10016Invalid stopsStops level and freeze level, spread
138 ERR_REQUOTE10004RequoteExecution mode, deviation settings, price source
128 ERR_TRADE_TIMEOUT10012Request timed outBridge and LP response time, server load
None10026Autotrading disabled by serverEA permissions on the group or account
None10006Request rejectedDealer, gateway, bridge or plugin rules

The MT4 to MT5 pairing is our practical mapping, not an official MetaQuotes table.

What causes No connection and Invalid account errors on the server?

No connection means the terminal cannot reach the address it was given. Invalid account means it reached a server that refused the login. They need different checks, and the broker can see things the client cannot.

For a wave of No connection reports, test every access point address and port from outside your own network and from more than one region. Then look at what changed: new IP addresses, DNS records, a data centre move or a new DDoS filtering rule. Server overload usually shows up as timeouts before it turns into disconnects.

For Invalid account, check that the account is enabled and sits in the right group. Accounts moved during a migration or created on a different server cause this often. So does a server list in your apps that still points at an old name. Clients on very old terminals may see MT4 error 5, which means the terminal is out of date and must be updated.

Why do off quotes, invalid stops and requotes spread across accounts?

Off quotes, invalid stops and requotes look like trader mistakes but often come from symbol settings or the liquidity chain. When they appear across many accounts at once, treat them as a configuration incident.

MT5 code 10021 and MT4 code 136 mean there is no usable price. On a broker server that almost always means the price stream for the symbol stopped or went stale. A dropped LP session, a bridge restart, a mapping error after a symbol rename or a session that closed quoting early are the usual causes.

Invalid stops spread when someone raises the stops level or freeze level without telling clients, or when spreads widen so a stop that was valid a second ago is now too close. A change in symbol digits after a feed switch does the same, because points suddenly mean something different to every Expert Advisor.

Frequent requotes usually mean deviation settings that are too tight for current volatility or a price source that is too slow. A related MT5 code, 10030, means the order filling type the client sent is not allowed on that symbol.

How do you tell server-side and client-side permission errors apart?

Permission errors split cleanly by their names. MT5 code 10026 says autotrading was disabled by the server, so the group or account settings block Expert Advisors and the broker must decide. Code 10027 says it was disabled in the client terminal, and only the trader can switch it back on. In MT4, runtime error 4109 is the client-side case.

Trade is disabled (133 on MT4 and 10017 on MT5) means the symbol is view-only or close-only. It can also mean the group lacks permission or the client used the investor password. Plugins can also block or rewrite requests. A risk or routing plugin that rejects orders shows up to clients as a plain rejection, so if rejects started after a plugin update, check that plugin first.

How do you do MetaTrader log analysis during an incident?

MetaTrader log analysis turns the server is down into a specific component and a specific minute. Pull the trade server, access server, feed and bridge logs for the same window. Align the time zones first, because servers, bridges and LPs often log in different ones.

Look for the first error, not the loudest one. A bridge that loses its LP session at 08:59:58 will produce hundreds of rejects from 09:00 onwards. The rejects are the symptom and the session drop is the cause.

Clients’ terminals hold useful evidence too. The MT5 Journal tab records platform events such as connections and order requests, and Expert Advisor messages go to the Experts tab. MetaQuotes’ help explains that platform log files are kept in the Logs folder with names based on the date. Ask clients for the file and the exact time rather than a screenshot of a popup.

When the same code appears across many clients in the same minute, compare it with the server journal at that timestamp. Matching the client request to the dealer, gateway or plugin entry usually settles the cause.

How do you troubleshoot data feed and bridge problems?

If quotes stop, trading stops. Start with which symbols are frozen: all of them, one asset class or one feed source. Then check when the last tick arrived and whether the feed log shows a disconnect or login error. A frozen symbol is sometimes just a closed session, so check that before anything else.

When quotes flow but orders fail, the bridge or gateway is the next stop. Check that every FIX or API session to each LP is logged in, and look for heartbeat timeouts and sequence resets. Read the reject reason itself, because off quotes, price tolerance and volume rejects need different fixes. Rejects can also mean your account at the LP is near its credit limit.

Bridge and LP faults usually need the vendor. Our MT4/MT5 liquidity bridge page covers set-up and failover for the technologies we work with.

How do plugins and builds cause MT4 and MT5 outages?

Server plugins run inside the trade path, so a faulty one can block logins, slow execution or crash the server. Compare the incident start time with the plugin change log. Look for plugin load errors and slow processing in the server log, and for two plugins acting on the same event.

Test disabling a suspect plugin on staging first. On production, do it only with the incident lead’s approval. After any server build update, confirm every plugin is compatible before reopening trading. The lasting fix is change control: a staging server, a written rollback plan and one owner for each plugin. We build and maintain plugins through MetaTrader plugin development.

Who owns which fix when you escalate?

Escalate by layer, because each component has a different owner. Knowing who to call before the incident saves more time than anything else on this page.

A grey label broker sits inside another company’s licensed MT5 server, so server-level faults go to the provider. MetaTrader software defects go to MetaQuotes through the licence holder’s support channel, with the build number, the steps to reproduce and the logs.

Escalation matrix for an MT4 or MT5 incident
LayerOwnerBring to the call
Trade, history and access serversYour MetaTrader admins or support providerLogs, times, recent changes
MetaTrader software defectsMetaQuotes, via the licence holderBuild number, steps to reproduce, logs
Bridge or gatewayThe bridge vendorOrder IDs, reject reasons, session logs
Liquidity and pricingThe liquidity providerSymbols, times, price samples
Network, servers, DDoSHosting provider or data centreTraceroutes, traffic graphs, affected IPs
Plugins, CRM, APIsPlugin developer or CRM vendorPlugin version, change log, API errors

How does forex server monitoring stop the same incident coming back?

Forex server monitoring catches most recurring problems in the logs minutes before clients complain. A rise in 10021 on one symbol, timeouts during one session or rejects after a bridge restart are all visible early if someone watches error rates rather than single tickets.

An incident is closed when the root cause is known and a preventive action has an owner, not when the server comes back. Write a short report with the timeline, the impact, the cause and the actions. For ongoing cover, our MetaTrader support for brokers service includes monitoring and incident handling. Redundancy that shortens outages is covered in MT5 server architecture, and hosting resilience on MetaTrader server hosting.

Daylight saving changes cause many Monday morning incidents. In 2026 UK clocks go back on 25 October and US clocks on 1 November. Check sessions, swap times and your LP schedule before each change.

Frequently asked questions

Is MT5 down for everyone?

No single MT5 server exists. Each broker runs its own servers, so an outage at one broker does not affect others. Brokers should confirm scope with an internal test account. Traders should contact their broker.

Can MetaQuotes fix my MT5 server when it is down?

Not directly. MetaQuotes says it has no access to brokers’ servers. It can help with software defects through the licence holder’s channel, but running the servers and fixing incidents is the broker’s job or its support provider’s.

Why do clients get No connection when the server is running?

Usually something in front of a healthy trade server is failing. An access server or route, a DNS record, a certificate or a firewall rule is the common cause. Test each access point before restarting anything.

What does MT5 error 10021 mean for a broker?

It means there were no quotes to process the request. On a broker server the price stream for that symbol has usually stopped or gone stale. Check the feed, the bridge session and the symbol’s sessions.

What is the difference between 10026 and 10027?

10026 means the server disabled autotrading, so your group or account settings block Expert Advisors. 10027 means the client terminal disabled it, and the trader has to enable Algo Trading.

How do I know if a plugin is causing the problem?

Check whether the problem started after a plugin change and look for plugin errors in the server log. Then test by disabling the plugin on staging first, and on production only with the incident lead’s approval.

Where are MetaTrader log files stored?

On the client side, MT5 keeps platform logs in the Logs folder and Expert Advisor logs in a separate Logs folder under MQL5, named by date. On the server side, use the journals of the trade, access and history servers alongside the bridge logs.

Do I have to report a platform outage to my regulator?

It depends on your licence and jurisdiction. Some regulators have specific operational resilience and incident reporting rules. Check with your compliance officer. This is general information, not legal advice.

Can you help me with an error on my own trading account?

No. We work only with brokerages and companies, and your account sits on your broker’s server. Please contact your broker. If you run a brokerage, we can review the server side of the errors your clients report.

Can you help during a live incident?

Yes, for brokerages. Send the symptoms, the start time, recent changes and a few log lines. Ongoing clients get faster help because we already know the environment, so we recommend documenting your setup with us before something breaks.

Sources

  1. MetaTrader 5 for brokers, MetaQuotes, accessed October 2026
  2. Trade Server Return Codes, MQL5 Reference, accessed October 2026
  3. Error codes, MQL4 Reference, accessed October 2026
  4. Runtime errors, MQL5 Reference (mql5.com), accessed October 2026
  5. MetaTrader 5 Help: Platform logs, MetaQuotes, accessed October 2026
  6. When do the clocks change, GOV.UK, accessed October 2026
  7. Daylight Saving Time, NIST, accessed October 2026. FXSUPPORT is not affiliated with MetaQuotes or any vendor named on this page.

FXSUPPORT is not affiliated with MetaQuotes Ltd. or with any vendor or regulator named on this page. This page is general information, not legal or investment advice.

Talk to FXSUPPORT

Fighting the same incident every month?

We help brokerages and the companies that run their platforms. Send the symptom, when it happens and your recent changes, and we will tell you which layer we would check first.

We work with brokerages, prop firms and companies setting up a brokerage. We do not provide support to individual traders; if you trade with a broker, please contact your broker directly.

TelegramEmail
WhatsApp