locked
Azure WebJobs: Unable to connect remote server RRS feed

  • Question

  • We have scheduled WebJobs in Azure Account. It was running since last few days but suddenly we are getting exception error like "One or more errors occurred. An error occurred while sending the request. Unable to connect to the remote server An attempt was made to access a socket in a way forbidden by its access permissions.". Please support

    we are using S3 Standard Web Plan.... 04 Web Instances, 01 Web Jobs Is it require to upgrade?

    What could be reason?

    • Moved by Md Shihab Sunday, January 28, 2018 7:51 AM Better suited in Azure App Service - Web Apps
    Sunday, January 28, 2018 7:23 AM

Answers

  • What do you see in the WebJobs logs? Refer this doc for enabling logs. Also, could you confirm that scaling out didn’t help here?

    -----------------------------------------------------------------------------------------------------

    Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members.

    Tuesday, February 6, 2018 8:21 AM

All replies

  • Have you checked the WebJobs logs to get more information? Also, you can try scaling out your site to multiple instances just to see if it helps resolve this issue. For an app already in standard app service plan, though, the web sockets limit is defined as ‘Unlimited’ however, the physical machine has its own limitations in terms of sockets.

    -----------------------------------------------------------------------------------------------------

    Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members.

    Sunday, January 28, 2018 10:50 AM
  • Hi,

    I assumed that you may hit the outgoing connections limitation from Azure Web App sandbox. Also, I would recommend that you could scale your app hosting plan to larger instance for narrowing this issue.

    Additionally, here are some similar issues, you could refer to them:

    Intermittent crashes in Azure Web Application

    Starving outgoing connections on Windows Azure Web Sites


    Rachit Sikroria (Microsoft Azure MVP)

    Sunday, January 28, 2018 10:59 AM
  • Thanks. We are analysing our services. Within a week, we will update to you soon. Thank you so much for your prompt reply. 
    Sunday, January 28, 2018 11:56 PM
  • Hi,

    We have as same error message "Unable to connect to the remote server  An attempt was made to access a socket in a way forbidden by its access permissions".     We have checked all securities related stuffs with calling server from our end but there is no other blockage from their end. Kindly support for the same.

    Monday, February 5, 2018 10:12 PM
  • What do you see in the WebJobs logs? Refer this doc for enabling logs. Also, could you confirm that scaling out didn’t help here?

    -----------------------------------------------------------------------------------------------------

    Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members.

    Tuesday, February 6, 2018 8:21 AM