{"id":6465,"date":"2026-05-22T18:32:12","date_gmt":"2026-05-23T01:32:12","guid":{"rendered":"https:\/\/catbradley.io\/?p=6465"},"modified":"2026-05-22T18:32:12","modified_gmt":"2026-05-23T01:32:12","slug":"in-a-weird-case-german-deutsche-bahns-website-was-locking-out-linux-users","status":"publish","type":"post","link":"https:\/\/catbradley.io\/?p=6465","title":{"rendered":"In a Weird Case, German Deutsche Bahn&#x27;s Website Was Locking Out Linux Users"},"content":{"rendered":"<p>Since a few days now, people trying to plan a trip on Deutsche Bahn&#8217;s (DB) <a href=\"https:\/\/www.bahn.de\/\">main booking website<\/a> have been getting stopped by <em>error 751<\/em>. The site accused their web browser of acting like a bot, and even logging into accounts made no difference.<\/p>\n<p>So, what was actually triggering it? Just the word &#8220;<em>Linux<\/em>&#8221; in the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Reference\/Headers\/User-Agent\">User-Agent<\/a> string it looks like. <a href=\"https:\/\/www.heise.de\/en\/news\/Deutsche-Bahn-No-information-under-Linux-11300847.html\">heise online<\/a> tested this by setting a <em>Linux User-Agent<\/em> on Firefox under Windows and on Safari under macOS, and both got blocked.<\/p>\n<h2>People noticed<\/h2>\n<figure class=\"kg-card kg-image-card kg-card-hascaption\"><img decoding=\"async\" src=\"https:\/\/itsfoss.com\/content\/images\/2026\/05\/deutsche-bahn-linux-loading-error.png\" class=\"kg-image\" alt=\"an error page is shown here for the deutsche bahn website, all of it is in deutsche, and the error code is 751\" loading=\"lazy\" width=\"1720\" height=\"1224\" \/><figcaption><i><em class=\"italic\">Source: <\/em><\/i><a href=\"https:\/\/www.reddit.com\/r\/deutschebahn\/comments\/1thtx4x\/was_macht_die_it_der_deutschen_bahn_eigentlich\/\"><i><em class=\"italic\">MaksDampf<\/em><\/i><\/a><\/figcaption><\/figure>\n<p>Heise had picked up on a thread from Reddit&#8217;s <a href=\"https:\/\/www.reddit.com\/r\/deutschebahn\/comments\/1thtx4x\/was_macht_die_it_der_deutschen_bahn_eigentlich\/\">r\/deutschebahn<\/a> as evidence that real users were being affected. Someone had posted about getting locked out just from clicking &#8220;<em>earlier connections<\/em>&#8221; a few times while planning a trip.<\/p>\n<p><em>They, as you know, tested it on their end and found out that Linux systems were being blocked.<\/em><\/p>\n<p>Later in the thread, a commenter tied it to the wave of vibe-coded projects, specifically ones built to scrape Deutsche Bahn&#8217;s fare data. Another commenter identified themselves as a DB employee, pointing out that internal staff have to deal with DB Systel&#8217;s problems regularly. <\/p>\n<p><em>Before you ask, <\/em><a href=\"https:\/\/www.dbsystel.de\/dbsystel\"><em>DB Systel<\/em><\/a><em> is the train operator&#8217;s IT and digital solutions provider.<\/em><\/p>\n<h2>DB&#8217;s official response<\/h2>\n<p>Deutsche Bahn <a href=\"https:\/\/www.heise.de\/en\/news\/Deutsche-Bahn-No-general-blocking-of-individual-operating-systems-11302490.html\">has responded<\/a> to heise online. A spokesperson said Linux users are supposed to be able to use bahn.de and <a href=\"https:\/\/www.bahn.de\/service\/mobile\/db-navigator\">DB Navigator<\/a> without issues, and that the company&#8217;s security systems look at traffic behavior, request origins, and browser traits to identify potential threats.<\/p>\n<p><strong>Normal traffic can get caught in this sometimes<\/strong>, they said, while emphasizing that they are working to bring those cases down. Heise ran a test again the same day and found out that a Linux User-Agent on a Windows machine still triggered the block.<\/p>\n<p><strong>I ran two tests of my own<\/strong>. The first was on a <a href=\"https:\/\/fedoraproject.org\/workstation\/\" rel=\"noreferrer\">Fedora Workstation<\/a> system with a VPN active, where I accessed <em>bahn.de<\/em> on Firefox in private mode and spammed various header menu options, reloading repeatedly.<\/p>\n<figure class=\"kg-card kg-image-card\"><img decoding=\"async\" src=\"https:\/\/itsfoss.com\/content\/images\/2026\/05\/deutsche-bahn-website.png\" class=\"kg-image\" alt=\"a cropped screenshot of the bahn.de website\" loading=\"lazy\" width=\"1718\" height=\"950\" \/><\/figure>\n<p>The portal never locked me out. I did the same on an <a href=\"https:\/\/ubuntu.com\/\">Ubuntu<\/a> virtual machine and got the same result. So it is safe to assume the fixes have been made, though false positives may still happen occasionally.<\/p>\n<hr \/>\n<p><strong>Suggested Read \ud83d\udcd6: <\/strong><a href=\"https:\/\/itsfoss.com\/news\/linux-kernel-rust-cve-reduction\/\"><em>Rust Could Eliminate 80% of Linux Kernel CVEs<\/em><\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/feed.itsfoss.com\/link\/24361\/17346770.gif\" height=\"1\" width=\"1\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>Since a few days now, people trying to plan a trip on Deutsche Bahn&#8217;s (DB) main booking website have been getting stopped by error 751. The site accused their web&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":[],"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"categories":[1],"tags":[],"class_list":["post-6465","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-rss"],"_links":{"self":[{"href":"https:\/\/catbradley.io\/index.php?rest_route=\/wp\/v2\/posts\/6465","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/catbradley.io\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/catbradley.io\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/catbradley.io\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/catbradley.io\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6465"}],"version-history":[{"count":0,"href":"https:\/\/catbradley.io\/index.php?rest_route=\/wp\/v2\/posts\/6465\/revisions"}],"wp:attachment":[{"href":"https:\/\/catbradley.io\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6465"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/catbradley.io\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6465"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/catbradley.io\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}