Computer >> कंप्यूटर >  >> प्रणाली >> Windows

त्रुटि 502 खराब गेटवे को कैसे हल करें?

लगभग सभी को एक बार भी किसी न किसी वेबसाइट त्रुटि का सामना करना पड़ा होगा। ये प्रकृति में बहुत सामान्य हैं, आपको केवल समस्या के मुख्य कारणों का पता लगाने की आवश्यकता है। त्रुटियों के बारे में जानकर, आप इसके कारणों का पता लगा सकते हैं और इसे ठीक करने में स्वयं की सहायता कर सकते हैं। आश्चर्यजनक रूप से इन मुद्दों को ठीक करना बहुत आसान है। आज हम ऐसी ही एक त्रुटि "502 Bad Gateway" लेकर आए हैं ।

इसके संभावित समाधानों के साथ शुरुआत करने से पहले, यहां आपको पता होना चाहिए कि इस त्रुटि का क्या अर्थ है और यह क्यों दिखाई देती है। यदि आप इसके आधार को पढ़ने के लिए पर्याप्त रूप से अधीर हैं, तो आप सीधे इसके सुधार "502 त्रुटि कोड को कैसे ठीक करें?" पर जा सकते हैं।

त्रुटि 502 खराब गेटवे को कैसे हल करें?

502 खराब गेटवे क्या है?

502 त्रुटि संदेश उस स्थिति का वर्णन करता है जब एज सर्वर को मूल सर्वर से वैध प्रतिक्रिया नहीं मिलती है या आप अपस्ट्रीम सर्वर कह सकते हैं। यह एक HTTP स्थिति कोड है जो इंगित करता है कि सर्वर के साथ कुछ गलत हो गया है।

500 से 599 तक त्रुटि कोड की एक पूरी श्रृंखला है- ये सभी तब दिखाई देते हैं जब मूल सर्वर और गेटवे सर्वर डेटा के आदान-प्रदान के लिए एक प्रोटोकॉल पर सहमत नहीं होते हैं।

इसके पीछे के कुछ कारणों का निदान करके, आप इस समस्या को ठीक करने के लिए सही समाधान लागू कर सकते हैं।

एरर 502 में दिक्कत क्यों है?

वेब सर्वर के आधार पर आप 502 त्रुटि कोड के विभिन्न नामकरण परिपाटी देख सकते हैं, लेकिन याद रखें कि सभी का मतलब एक ही है।

आप इस त्रुटि के साथ "502 खराब गेटवे", "502 खराब गेटवे nginx", "502 प्रॉक्सी त्रुटि", "502 सेवा अस्थायी रूप से अतिभारित", "HTTP 502", "HTTP त्रुटि 502- खराब गेटवे, "त्रुटि 502" के रूप में बातचीत कर सकते हैं। , “502। यह एक त्रुटि है”

ये त्रुटियाँ कई कारणों से प्रकट होती हैं, जिनकी चर्चा नीचे की गई है:

  • हो सकता है कि जिस सर्वर पर आपको यह त्रुटि प्राप्त हुई है वह स्मृति थकावट या आगंतुकों की भारी संख्या के कारण क्रैश हो गया हो।
  • DNS (डोमेन नाम सिस्टम) त्रुटि, ISP संबंधित समस्याओं और अन्य नेटवर्किंग त्रुटियों के कारण।
  • आपके सीडीएन प्रदाता के कारण हो सकता है। यदि आप किसी तृतीय पक्ष (सामग्री वितरण नेटवर्क) का उपयोग कर रहे हैं तो बस इसे अक्षम कर दें। और फिर अपनी साइट को दोबारा जांचें।
  • कोई भी मैलवेयर संक्रमण जिसने आपके इंटरनेट ब्राउज़र को नियंत्रित कर लिया है या ब्राउज़र से संबंधित फ़ाइलों को संक्रमित कर दिया है।
  • 502 त्रुटि गलत तरीके से प्रोग्राम या कॉन्फ़िगर किए गए सर्वर के कारण दिखाई दे सकती है। इस मामले में, आपको अपने होस्ट प्रदाता से संपर्क करना होगा।

लेकिन इससे पहले कि आप अपने होस्ट प्रदाता से संपर्क करें, नीचे बताए गए इन अलग-अलग तरीकों से अपने डिवाइस की समस्या का निवारण करने का प्रयास करें।

त्रुटि 502 खराब गेटवे को कैसे हल करें?

502 त्रुटि कोड को कैसे ठीक करें?

  • ओल्ड स्कूल टिप्स

-अपने सिस्टम को पुनः प्रारंभ करें

-अपना ब्राउज़र कैश निकालें

-अपने ब्राउज़र कुकीज़ को साफ़ करें

-सुरक्षित मोड में स्विच करें

-दूसरे ब्राउज़र का उपयोग करने का प्रयास करें।

त्रुटि 502 खराब गेटवे को कैसे हल करें?

  • You can hard refresh in your browser
  • For Chrome users :Windows/Linux- Press CTRL+F5 together. OR Press F12 to reach Dev Tools, once it gets opened- Right click on the Refresh Button. A drop-down menu will appear that provides you option to clear cache, automatic hard fresh and normal reload.
  • For Mozilla Firefox users and other browsers: Press CTRL+? Shift+R
  • For Mac Users: Cmd+Shift+R
त्रुटि 502 खराब गेटवे को कैसे हल करें?
  • Fix your DNS Server

502-error might occur due to improper linking of domain name and IP address. This is probably due to migration of a website to a new host. Entire migration takes some time to propagate to the new host.

Solution is to flush the DNS cache on the local system just like you delete the cache from your browser. Open the command prompt on your system and fire the command below:

ipconfig /flushdns

On successful flushing of dns cache, the prompt will alert you with “Successfully flushed the DNS resolver Cache” message.

  • MacOS users need to fire the command:

dscacheutil -flushcache

  • Check for Logs

Logs are the entries of every activity done by you on any application just like a entry made by a gatekeeper in a register. You can check for application logs and its corresponding server-side log. Application logs will tell you about what pages were requested during the runtime of application while server-side log will hold the information about the hardware responsible for execution of application and the status of all the connected devices to the server.

  • Disable CDN Plugin

Content Delivery Network(CDN) are the third-party services to render ‘heavy content’ that includes large images and videos. CDN is used by your application to maintain efficiency. The firewall configuration might allow the invalid or malicious content to pass through the gateway leading to 502 Bad Gateway Error. To resolve this issue, you just need to disable your CDN.

  • Try using Advanced System Protector

There’s a pretty good chance this error could be a result of a malware infection. These malicious threats have a potential to corrupt, destroy and delete Browser status code-related files.

Furthermore, there might be a possibility that the malware infection has taken control of your Browser and hence created a wall of contagion. Which blocks the way to get a valid response from the original server.

त्रुटि 502 खराब गेटवे को कैसे हल करें?

-To get this sorted, Advanced System Protector comes to the rescue. This powerful software easily detects and destroy all your system infections. It’s deep cleaning algorithms focuses on providing real-time protection from any malware, adware &spyware.

-It has a potency of Antivirus, Antimalware and Antispyware techniques, so that no virus can attack you.

-Advanced System Protector is an effective solution to match your immediate scanning demands. With its multiple scan options:Quick Scan, Deep Scan and Custom Scan you can clean your system with ease.

-Not only this, Advanced System Protector is exceptionally light in weight and doesn’t affect system resources.

Trusted by millions, this software is the first choice to identify and remove malware infection that seek to enter your system. You can Download this Fighter Software right here!

We hope now you are aware why 502 Error Code appears and what are the possible solutions to fix it. Perhaps, you may have any other tip to recover this error. If so, please let us know in the comment section below.


  1. लंबित लेनदेन स्टीम त्रुटि को कैसे हल करें [व्यावहारिक समाधान]

    इससे कोई फर्क नहीं पड़ता कि आप गेमर हैं या नहीं; स्टीम के बारे में ज्यादातर सभी ने सुना होगा। यह आपके दोस्तों, बच्चों या वीडियो गेम से प्यार करने वाले किसी भी व्यक्ति से हो सकता है। लेकिन क्या आपने सुना है कि वे स्टीम के लंबित लेन-देन की त्रुटियों का सामना कर रहे हैं? अगर हां, तो यहां हम चर्चा करें

  1. Minecraft Realms आंतरिक सर्वर त्रुटि 500 ​​को कैसे ठीक करें

    Minecraft Realm आपके और आपके दोस्तों के लिए Minecraft पर गेम खेलने के लिए एक निजी सर्वर है। यह निराशाजनक हो सकता है जब Minecraft Realms काम नहीं कर रहा हो। अपने पसंदीदा गेम खेलने के लिए अपने दोस्तों से जुड़ने में सक्षम नहीं होने से आपकी योजनाओं में बाधा आ सकती है। यदि जब भी आप कनेक्ट करने का प्रयास

  1. दूरस्थ डेस्कटॉप गेटवे सर्वर को कैसे ठीक करें अस्थायी रूप से अनुपलब्ध है

    त्रुटि - आपका कंप्यूटर दूरस्थ कंप्यूटर से कनेक्ट नहीं हो सकता क्योंकि दूरस्थ डेस्कटॉप गेटवे सर्वर अस्थायी रूप से अनुपलब्ध है आमतौर पर कई विंडोज कंप्यूटरों पर होता है। जैसे ही समस्या होती है, सर्वर कनेक्शन विफल हो जाता है, जैसा कि अधिकांश उपयोगकर्ताओं द्वारा बताया गया है। दूरस्थ डेस्कटॉप गेटवे सर्वर