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

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript