Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PhantomJS during deploy causes an error #1544

Closed
lukemcgregor opened this issue Apr 27, 2015 · 3 comments
Closed

PhantomJS during deploy causes an error #1544

lukemcgregor opened this issue Apr 27, 2015 · 3 comments

Comments

@lukemcgregor
Copy link

I would like to be able to run some automated UI tests as part of the deploy process. However phantomJS explodes if you try and run it during the deploy with the following:

Error: OpenQA.Selenium.WebDriverException: Unexpected error. System.Net.WebException:
Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An attempt was
made to access a socket in a way forbidden by its access permissions 127.0.0.1:50199

I think this is because phantomjs is an external app which C# talks to via a webservice. It would be great if this could be fixed to work.

@davidebbo
Copy link
Member

There are general limitations around send requests to localhost from an Azure WebApp. This probably relates to this error.

@lukemcgregor
Copy link
Author

Sounds likely, but it would be good if there were some path to do UI tests at deployment. The alternatives are pretty unideal, eg run a vm with a test server on it and get it to execute the tests for you. This is both slow and expensive.

My use case is

  • Build
  • Deploy staging
  • UI Tests
  • Swap to prod

@jvano
Copy link
Member

jvano commented Apr 29, 2024

Hi

Kudu will continue to run in Azure App Service. However, this repo will no longer be maintained.
If the problem persists and is related to running on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request

This way we can better track and assist you on this case

Thanks,

Joaquin Vano
Azure App Service

@jvano jvano closed this as completed Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants