org.eclipse.core.runtime.CoreException: Operation not permitted (403 Forbidden)

SpringSource Issue Tracker | David Syer | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I can validate on the command line some I know my account is fine, but STS won't let me do anything with Cloud Foundry today. I did see an error, but no idea if it's related (it only happened once, but validation always fails): {code} org.eclipse.core.runtime.CoreException: Operation not permitted (403 Forbidden) at com.cloudfoundry.sts.internal.server.core.AppCloudServerBehaviour.toCoreException(AppCloudServerBehaviour.java:681) at com.cloudfoundry.sts.internal.server.core.AppCloudServerBehaviour$Request.run(AppCloudServerBehaviour.java:784) at com.cloudfoundry.sts.internal.server.core.AppCloudServerBehaviour.refreshModules(AppCloudServerBehaviour.java:340) at com.cloudfoundry.sts.internal.server.ui.editor.AppCloudApplicationsEditorPage.refreshStates(AppCloudApplicationsEditorPage.java:138) at com.cloudfoundry.sts.internal.server.ui.actions.AppCloudEditorAction$1.run(AppCloudEditorAction.java:82) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: com.vmware.appcloud.client.AppCloudException: 403 Forbidden (Operation not permitted) at com.vmware.appcloud.client.AppCloudClient$ErrorHandler.handleError(AppCloudClient.java:65) at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:486) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:443) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:401) at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:279) at com.vmware.appcloud.client.AppCloudClient.login(AppCloudClient.java:179) at com.cloudfoundry.sts.internal.server.core.AppCloudServerBehaviour$Request.run(AppCloudServerBehaviour.java:775) ... 4 more {code}

    SpringSource Issue Tracker | 6 years ago | David Syer
    org.eclipse.core.runtime.CoreException: Operation not permitted (403 Forbidden)
  2. 0

    I can validate on the command line some I know my account is fine, but STS won't let me do anything with Cloud Foundry today. I did see an error, but no idea if it's related (it only happened once, but validation always fails): {code} org.eclipse.core.runtime.CoreException: Operation not permitted (403 Forbidden) at com.cloudfoundry.sts.internal.server.core.AppCloudServerBehaviour.toCoreException(AppCloudServerBehaviour.java:681) at com.cloudfoundry.sts.internal.server.core.AppCloudServerBehaviour$Request.run(AppCloudServerBehaviour.java:784) at com.cloudfoundry.sts.internal.server.core.AppCloudServerBehaviour.refreshModules(AppCloudServerBehaviour.java:340) at com.cloudfoundry.sts.internal.server.ui.editor.AppCloudApplicationsEditorPage.refreshStates(AppCloudApplicationsEditorPage.java:138) at com.cloudfoundry.sts.internal.server.ui.actions.AppCloudEditorAction$1.run(AppCloudEditorAction.java:82) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: com.vmware.appcloud.client.AppCloudException: 403 Forbidden (Operation not permitted) at com.vmware.appcloud.client.AppCloudClient$ErrorHandler.handleError(AppCloudClient.java:65) at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:486) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:443) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:401) at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:279) at com.vmware.appcloud.client.AppCloudClient.login(AppCloudClient.java:179) at com.cloudfoundry.sts.internal.server.core.AppCloudServerBehaviour$Request.run(AppCloudServerBehaviour.java:775) ... 4 more {code}

    SpringSource Issue Tracker | 6 years ago | David Syer
    org.eclipse.core.runtime.CoreException: Operation not permitted (403 Forbidden)

    Root Cause Analysis

    1. com.vmware.appcloud.client.AppCloudException

      403 Forbidden (Operation not permitted)

      at com.vmware.appcloud.client.AppCloudClient$ErrorHandler.handleError()
    2. com.vmware.appcloud
      AppCloudClient$ErrorHandler.handleError
      1. com.vmware.appcloud.client.AppCloudClient$ErrorHandler.handleError(AppCloudClient.java:65)
      1 frame
    3. Spring
      RestTemplate.postForObject
      1. org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:486)
      2. org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:443)
      3. org.springframework.web.client.RestTemplate.execute(RestTemplate.java:401)
      4. org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:279)
      4 frames
    4. com.vmware.appcloud
      AppCloudClient.login
      1. com.vmware.appcloud.client.AppCloudClient.login(AppCloudClient.java:179)
      1 frame
    5. com.cloudfoundry.sts
      AppCloudEditorAction$1.run
      1. com.cloudfoundry.sts.internal.server.core.AppCloudServerBehaviour$Request.run(AppCloudServerBehaviour.java:775)
      2. com.cloudfoundry.sts.internal.server.core.AppCloudServerBehaviour.refreshModules(AppCloudServerBehaviour.java:340)
      3. com.cloudfoundry.sts.internal.server.ui.editor.AppCloudApplicationsEditorPage.refreshStates(AppCloudApplicationsEditorPage.java:138)
      4. com.cloudfoundry.sts.internal.server.ui.actions.AppCloudEditorAction$1.run(AppCloudEditorAction.java:82)
      4 frames
    6. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame