How to fix 'browser.takeScreenshot' proxy error?How to programmatically take a screenshot on Android?Protractor & Cucumber VS Selenium for UI automation of AngularJS appsFailed to call browser.get() in chrome and firefoxngMockE2E does not work with remote Selenium serverProtractor doesn't recognize opened native alertChromeDriver keeps crashing on Jenkins Selenium Job: “WebDriverError: Chrome failed to start: crashed”“Unable to start a WebDriver session.” error is getting thrown when opening app using appium and protractorFailed: invalid element state on attempt to .sendKeys() to a text fieldE/launcher - unknown error: Chrome failed to start: crashed in headless modeSelenium status 6 on protractor execution

Basis and cardinality

What does 'in attendance' mean on an England death certificate?

Did NASA distinguish between the space shuttle cockpit and flight deck?

Why should I allow multiple IP addresses on a website for a single session?

My mom helped me cosign a car and now she wants to take it

Calculus, water poured into a cone: Why is the derivative non-linear?

Disk usage confusion: 10G missing on Linux home partition on SSD

Does a lens with a bigger max. aperture focus faster than a lens with a smaller max. aperture?

Why would Dementors torture a Death Eater if they are loyal to Voldemort?

Is it OK to say "The situation is pregnant with a crisis"?

How to stop QGIS from looking for the wrong PostgreSQL host address in an existing workproject?

I agreed to cancel a long-planned vacation (with travel costs) due to project deadlines, but now the timeline has all changed again

Active wildlife outside the window- Good or Bad for Cat psychology?

A quine of sorts

Identifying positions of the last TRUEs in a sequence of TRUEs and FALSEs

Why are examinees often not allowed to leave during the start and end of an exam?

What's the point of stochastic volatiliy models if you can use local volatility?

What happens if a caster is surprised while casting a spell with a long casting time?

Where to connect the fuse and why?

A* pathfinding algorithm too slow

Avoiding repetition when using the "snprintf idiom" to write text

Is it theoretically possible to hack printer using scanner tray?

Converse of pumping lemma for regular expressions

Simplify the code



How to fix 'browser.takeScreenshot' proxy error?


How to programmatically take a screenshot on Android?Protractor & Cucumber VS Selenium for UI automation of AngularJS appsFailed to call browser.get() in chrome and firefoxngMockE2E does not work with remote Selenium serverProtractor doesn't recognize opened native alertChromeDriver keeps crashing on Jenkins Selenium Job: “WebDriverError: Chrome failed to start: crashed”“Unable to start a WebDriver session.” error is getting thrown when opening app using appium and protractorFailed: invalid element state on attempt to .sendKeys() to a text fieldE/launcher - unknown error: Chrome failed to start: crashed in headless modeSelenium status 6 on protractor execution













0















I have some automation tests in cucumber protractor but suddenly the 'browser.takeScreenshot' method is failing from today morning with the following error:



 WebDriverError: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Proxy Error</title>
</head><body>
<h1>Proxy Error</h1>
<p>The proxy server received an invalid
response from an upstream server.<br />
The proxy server could not handle the request <em><a
href="/wd/hub/session/29068642-008c-4e84-9f12-
e2896a9c6b3e/screenshot">GET&nbsp;/wd/hub/session/29068642-008c-4e84-
9f12-e2896a9c6b3e/screenshot</a></em>.<p>
Reason: <strong>Error reading from remote server</strong></p>
</p>
</body></html>


Update: It's working in local, problem only appears if i run the tests on the selenium server.










share|improve this question




























    0















    I have some automation tests in cucumber protractor but suddenly the 'browser.takeScreenshot' method is failing from today morning with the following error:



     WebDriverError: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>502 Proxy Error</title>
    </head><body>
    <h1>Proxy Error</h1>
    <p>The proxy server received an invalid
    response from an upstream server.<br />
    The proxy server could not handle the request <em><a
    href="/wd/hub/session/29068642-008c-4e84-9f12-
    e2896a9c6b3e/screenshot">GET&nbsp;/wd/hub/session/29068642-008c-4e84-
    9f12-e2896a9c6b3e/screenshot</a></em>.<p>
    Reason: <strong>Error reading from remote server</strong></p>
    </p>
    </body></html>


    Update: It's working in local, problem only appears if i run the tests on the selenium server.










    share|improve this question


























      0












      0








      0








      I have some automation tests in cucumber protractor but suddenly the 'browser.takeScreenshot' method is failing from today morning with the following error:



       WebDriverError: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
      <html><head>
      <title>502 Proxy Error</title>
      </head><body>
      <h1>Proxy Error</h1>
      <p>The proxy server received an invalid
      response from an upstream server.<br />
      The proxy server could not handle the request <em><a
      href="/wd/hub/session/29068642-008c-4e84-9f12-
      e2896a9c6b3e/screenshot">GET&nbsp;/wd/hub/session/29068642-008c-4e84-
      9f12-e2896a9c6b3e/screenshot</a></em>.<p>
      Reason: <strong>Error reading from remote server</strong></p>
      </p>
      </body></html>


      Update: It's working in local, problem only appears if i run the tests on the selenium server.










      share|improve this question
















      I have some automation tests in cucumber protractor but suddenly the 'browser.takeScreenshot' method is failing from today morning with the following error:



       WebDriverError: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
      <html><head>
      <title>502 Proxy Error</title>
      </head><body>
      <h1>Proxy Error</h1>
      <p>The proxy server received an invalid
      response from an upstream server.<br />
      The proxy server could not handle the request <em><a
      href="/wd/hub/session/29068642-008c-4e84-9f12-
      e2896a9c6b3e/screenshot">GET&nbsp;/wd/hub/session/29068642-008c-4e84-
      9f12-e2896a9c6b3e/screenshot</a></em>.<p>
      Reason: <strong>Error reading from remote server</strong></p>
      </p>
      </body></html>


      Update: It's working in local, problem only appears if i run the tests on the selenium server.







      typescript protractor screenshot webdriver-manager






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 26 at 9:51







      lukszits

















      asked Mar 25 at 16:35









      lukszitslukszits

      35 bronze badges




      35 bronze badges




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Probable cause



          Your browser has updated, and no longer functions with the protocol used by your version of the test driver.



          Fix



          • Easier Option: Update the test framework.

          • Harder Option: Roll back the version of the browser you are testing and pin it.





          share|improve this answer























          • What do you mean 'Update the test framework.'?

            – lukszits
            Mar 26 at 9:50











          • Test framework : cucmber / protractor 🌹

            – basarat
            Mar 27 at 0:23










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55342495%2fhow-to-fix-browser-takescreenshot-proxy-error%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Probable cause



          Your browser has updated, and no longer functions with the protocol used by your version of the test driver.



          Fix



          • Easier Option: Update the test framework.

          • Harder Option: Roll back the version of the browser you are testing and pin it.





          share|improve this answer























          • What do you mean 'Update the test framework.'?

            – lukszits
            Mar 26 at 9:50











          • Test framework : cucmber / protractor 🌹

            – basarat
            Mar 27 at 0:23















          0














          Probable cause



          Your browser has updated, and no longer functions with the protocol used by your version of the test driver.



          Fix



          • Easier Option: Update the test framework.

          • Harder Option: Roll back the version of the browser you are testing and pin it.





          share|improve this answer























          • What do you mean 'Update the test framework.'?

            – lukszits
            Mar 26 at 9:50











          • Test framework : cucmber / protractor 🌹

            – basarat
            Mar 27 at 0:23













          0












          0








          0







          Probable cause



          Your browser has updated, and no longer functions with the protocol used by your version of the test driver.



          Fix



          • Easier Option: Update the test framework.

          • Harder Option: Roll back the version of the browser you are testing and pin it.





          share|improve this answer













          Probable cause



          Your browser has updated, and no longer functions with the protocol used by your version of the test driver.



          Fix



          • Easier Option: Update the test framework.

          • Harder Option: Roll back the version of the browser you are testing and pin it.






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 25 at 17:23









          basaratbasarat

          148k28 gold badges278 silver badges383 bronze badges




          148k28 gold badges278 silver badges383 bronze badges












          • What do you mean 'Update the test framework.'?

            – lukszits
            Mar 26 at 9:50











          • Test framework : cucmber / protractor 🌹

            – basarat
            Mar 27 at 0:23

















          • What do you mean 'Update the test framework.'?

            – lukszits
            Mar 26 at 9:50











          • Test framework : cucmber / protractor 🌹

            – basarat
            Mar 27 at 0:23
















          What do you mean 'Update the test framework.'?

          – lukszits
          Mar 26 at 9:50





          What do you mean 'Update the test framework.'?

          – lukszits
          Mar 26 at 9:50













          Test framework : cucmber / protractor 🌹

          – basarat
          Mar 27 at 0:23





          Test framework : cucmber / protractor 🌹

          – basarat
          Mar 27 at 0:23






          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid …


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55342495%2fhow-to-fix-browser-takescreenshot-proxy-error%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to preserve electronics (computers, tablets and phones) for hundreds of years Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) The network's official Twitter account is up and running again. What content…How might modern humans leave a message for 50,000 years?How would an aquatic race develop computers?How do we make computers care for human life?Keeping supplies for 1000 yearsWhat will cell phones become in 100 years?What body armor protects against a laser?Could a society attain 1800s technology if limited to using copper and bronze?Electricity power (magic) and electronicsScavenging metal resources in post-apocalypse after 100 yearsWhy would precursors create devices that can survive and still work after hundreds of years?

          155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해

          Convert JSON to MapSimplest way to convert a string representing JSON array into Java array List of key value pairsHow to take String JSON values into HashMapConvert a JSON String to a HashMapCreating BSON object from JSON stringJSONObject - How to get a value ?Better Map ConstructorReading JSON from Url javaUpdate columns if input values are not null otherwise ignore and keep the existing values of column in databaseHow to store object represented as Json string into Couchbase Lite?Go JSON into MapHow do I efficiently iterate over each entry in a Java Map?Sort a Map<Key, Value> by valuesHow to round a number to n decimal places in JavaCan comments be used in JSON?How do I read / convert an InputStream into a String in Java?How can I pretty-print JSON in a shell script?What is the correct JSON content type?How can I deserialize JSON to a simple Dictionary<string,string> in ASP.NET?Why does Google prepend while(1); to their JSON responses?Parse JSON in JavaScript?