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