java.io.IOException: Server returned status code 403: Forbidden

Sonatype JIRA | Bouchez B. | 4 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    I cannot create (403 forbidden) a crucible review from a revision, although the same operation made through web succeeds. Here is what Intellij Connector sends to https://svn.atlassian.com/atlaseye/rest-service/reviews-v1 {code:xml} <?xml version="1.0" encoding="UTF-8"?> <createReview> <reviewData> <author> <userName>lguminski</userName> </author> <creator> <userName>lguminski</userName> </creator> <moderator> <userName>lguminski</userName> </moderator> <description /> <name>BAM-2198 tests extended in order to make sure that the data of non-java test cases is handled correctly by lucene search engine</name> <projectKey>CR</projectKey> <allowReviewersToJoin>false</allowReviewersToJoin> </reviewData> <changesets> <repository>bamboo</repository> <changesetData> <id>68885</id> </changesetData> </changesets> </createReview> {code} and the stack trace of exception {noformat} com.atlassian.theplugin.commons.remoteapi.RemoteApiException: https://svn.atlassian.com/atlaseye: Server returned HTTP 403 (Forbidden) Reason: NotPermitted at com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.createReviewFromRevision(CrucibleSessionImpl.java:1073) at com.atlassian.theplugin.commons.crucible.CrucibleServerFacadeImpl.createReviewFromRevision(CrucibleServerFacadeImpl.java:136) at com.atlassian.theplugin.idea.crucible.CrucibleReviewCreateForm.doOKAction(CrucibleReviewCreateForm.java:856) at com.intellij.openapi.ui.DialogWrapper$OkAction.actionPerformed(DialogWrapper.java:921) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:5602) at javax.swing.JComponent.processMouseEvent(JComponent.java:3135) at java.awt.Component.processEvent(Component.java:5367) at java.awt.Container.processEvent(Container.java:2010) at java.awt.Component.dispatchEventImpl(Component.java:4068) at java.awt.Container.dispatchEventImpl(Container.java:2068) at java.awt.Component.dispatchEvent(Component.java:3903) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866) at java.awt.Container.dispatchEventImpl(Container.java:2054) at java.awt.Window.dispatchEventImpl(Window.java:1801) at java.awt.Component.dispatchEvent(Component.java:3903) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:146) at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:118) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:87) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:180) at java.awt.Dialog$1.run(Dialog.java:535) at java.awt.Dialog$2.run(Dialog.java:565) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:563) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:22) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:18) at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:813) at com.atlassian.theplugin.idea.action.crucible.PostCommitReviewAction.actionPerformed(PostCommitReviewAction.java:35) at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:4) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:64) at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:137) at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:233) at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:8) at java.awt.Component.processMouseEvent(Component.java:5602) at javax.swing.JComponent.processMouseEvent(JComponent.java:3135) at java.awt.Component.processEvent(Component.java:5367) at java.awt.Container.processEvent(Container.java:2010) at java.awt.Component.dispatchEventImpl(Component.java:4068) at java.awt.Container.dispatchEventImpl(Container.java:2068) at java.awt.Component.dispatchEvent(Component.java:3903) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866) at java.awt.Container.dispatchEventImpl(Container.java:2054) at java.awt.Window.dispatchEventImpl(Window.java:1801) at java.awt.Component.dispatchEvent(Component.java:3903) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:146) at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:118) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:87) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) Caused by: java.io.IOException: Server returned HTTP 403 (Forbidden) Reason: NotPermitted at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:260) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:219) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:212) at com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.createReviewFromRevision(CrucibleSessionImpl.java:1063) ... 64 more {noformat} Cheers, Lucas

    Ecosystem JIRA | 8 years ago | Lucas Guminski
    com.atlassian.theplugin.commons.remoteapi.RemoteApiException: https://svn.atlassian.com/atlaseye: Server returned HTTP 403 (Forbidden) Reason: NotPermitted
  3. 0

    OpenVPN ALS / Discussion / Developers:OpenVPN-ALS behind a reverse proxy

    sourceforge.net | 4 months ago
    java.io.IOException: Proxy returned HTTP status code 403

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Server returned status code 403: Forbidden

      at org.eclipse.m2e.core.internal.index.nexus.AsyncFetcher$PipedErrorInputStream.checkError()
    2. org.eclipse.m2e.core
      AsyncFetcher$PipedErrorInputStream.checkError
      1. org.eclipse.m2e.core.internal.index.nexus.AsyncFetcher$PipedErrorInputStream.checkError(Unknown Source)[org.eclipse.m2e.core_1.0.100.20110804-1717.jar:na]
      1 frame