[JIRA] [publish-over-dropbox-plugin] (JENKINS-34937) Cannot create new credentials of type Dropbox

2016-06-05 Thread rcgr...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 René de Groot commented on  JENKINS-34937 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Cannot create new credentials of type Dropbox  
 
 
 
 
 
 
 
 
 
 
The exception points in the direction of a self-build hpi without updating the Config.java with a personal Dropbox API key or installing an older then 1.0.5 version. See https://github.com/rcgroot/jenkins-publish-over-dropbox-plugin option 3 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [publish-over-dropbox-plugin] (JENKINS-34937) Cannot create new credentials of type Dropbox

2016-05-20 Thread anatol...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Anatoliy D commented on  JENKINS-34937 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Cannot create new credentials of type Dropbox  
 
 
 
 
 
 
 
 
 
 
hello, facing exactly the same issue. 
Ubuntu# java -version 
java version "1.8.0_72" Java(TM) SE Runtime Environment (build 1.8.0_72-b15) Java HotSpot(TM) 64-Bit Server VM (build 25.72-b15, mixed mode) 14.04.4 LTS 
I've tried to install it on jeknins latest 1.6.x version, got this problem first,  then tried to disable firewall, then upgraded to 2.5 - no luck, then upgraded all plugins - no luck, added -Djava.net.preferIPv4Stack=true,  disabled IPv6 completely, removed all ipv6 entries from /etc/hosts, tried to access Jenkins via Nginx reverse-proxy and directly - no luck. 
Restarted jenkins after each step, exception message did not change. 
I'm not sure it it's a bug or my server misconfiguration. Any idea what else I can check ? 
Would be great to know what address:port it tries to connect when throwing this exception: 
Caused by: java.lang.IllegalArgumentException: org.jenkinsci.plugins.publishoverdropbox.domain.model.RestException: Failed to open connection to server at org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:540) at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:777) at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:83) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:674) ... 76 more Caused by: org.jenkinsci.plugins.publishoverdropbox.domain.model.RestException: Failed to open connection to server at org.jenkinsci.plugins.publishoverdropbox.domain.JsonObjectRequest.execute(JsonObjectRequest.java:114) at org.jenkinsci.plugins.publishoverdropbox.domain.Dropbox.readAccessTokenFromWeb(Dropbox.java:296) at org.jenkinsci.plugins.publishoverdropbox.domain.Dropbox.convertAuthorizationToAccessCode(Dropbox.java:269) at org.jenkinsci.plugins.publishoverdropbox.impl.DropboxTokenImpl.(DropboxTokenImpl.java:49) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:525) ... 79 more Caused by: org.jenkinsci.plugins.publishoverdropbox.domain.model.RestException: HTTP 400 error Bad Request : code doesn't exist or has expired at org.jenkinsci.plugins.publishoverdropbox.domain.JsonObjectRequest.execute(JsonObjectRequest.java:109) ... 87 more 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 

[JIRA] [publish-over-dropbox-plugin] (JENKINS-34937) Cannot create new credentials of type Dropbox

2016-05-18 Thread ste...@hotmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 KC Stegbauer created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-34937 
 
 
 
  Cannot create new credentials of type Dropbox  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 René de Groot 
 
 
 

Components:
 

 publish-over-dropbox-plugin 
 
 
 

Created:
 

 2016/May/18 10:49 PM 
 
 
 

Environment:
 

 Ubuntu 14.04 
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 KC Stegbauer 
 
 
 
 
 
 
 
 
 
 
After installing the plugin for Publish to Dropbox, I followed the instructions on the plugin page 
https://wiki.jenkins-ci.org/display/JENKINS/Publish+over+Dropbox+Plugin 
 to create Dropbox credentials after restarting Jenkins. The following stack trace is produced and no credentials are added. 
Stack trace 
javax.servlet.ServletException: java.lang.IllegalArgumentException: Failed to instantiate interface com.cloudbees.plugins.credentials.Credentials from  {"scope":"GLOBAL","authorizationCode":"zATYTkWgO-ADg36w0_MgnCNSVMyTvefDD4Dt7XB-c5sgb-SK1PQrOoMf","description":"DB","id":"","stapler-class":"org.jenkinsci.plugins.publishoverdropbox.impl.DropboxTokenImpl","$class":"org.jenkinsci.plugins.publishoverdropbox.impl.DropboxTokenImpl"} 
 at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.staple