{"action":"created","issue":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/9555","repository_url":"https://api.github.com/repos/travis-ci/travis-ci","labels_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/9555/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/9555/comments","events_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/9555/events","html_url":"https://github.com/travis-ci/travis-ci/issues/9555","id":319104128,"node_id":"MDU6SXNzdWUzMTkxMDQxMjg=","number":9555,"title":"Maven seemingly broken recently due to varying IP addresses","user":{"login":"ToxicBakery","id":1614281,"node_id":"MDQ6VXNlcjE2MTQyODE=","avatar_url":"https://avatars1.githubusercontent.com/u/1614281?v=4","gravatar_id":"","url":"https://api.github.com/users/ToxicBakery","html_url":"https://github.com/ToxicBakery","followers_url":"https://api.github.com/users/ToxicBakery/followers","following_url":"https://api.github.com/users/ToxicBakery/following{/other_user}","gists_url":"https://api.github.com/users/ToxicBakery/gists{/gist_id}","starred_url":"https://api.github.com/users/ToxicBakery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ToxicBakery/subscriptions","organizations_url":"https://api.github.com/users/ToxicBakery/orgs","repos_url":"https://api.github.com/users/ToxicBakery/repos","events_url":"https://api.github.com/users/ToxicBakery/events{/privacy}","received_events_url":"https://api.github.com/users/ToxicBakery/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-01T03:18:20Z","updated_at":"2018-08-14T21:42:02Z","closed_at":null,"author_association":"NONE","body":"When publishing to maven central it appears that the IP address is rotating per upload causing gradle based builds to fail with multi module projects. Looking at sonatype I can see multiple staging repositories generated from a single build and each repository appears to have been uploaded from a different IP address. Sonatype appears to require a consistent upload IP address for the duration of uploads for a multi part project as mentioned here \r\n\r\n[OSSRH-37302](https://issues.sonatype.org/projects/OSSRH/issues/OSSRH-37302).\r\n>a new repository is created whenever there's a new combination of username + IP address + groupId\r\n\r\n---\r\n\r\nI have not run into this problem in the past so intitially I thought that gradle may be to blame as my last release build was under gradle 4.0 while the problem appeared after switching to 4.6. Rolling back to gradle 4.0 produced generally similar results as 4.6 leading me to assume the failure is on sonatypes until I found the issue describing the IP address requirement. I now believe the issue is on the side of Travis CI and presumably some recent infrastructure change. \r\n\r\nIf my assertion is accurate, does a work around exist to force a specific IP for docker instances?\r\n\r\n[Example Build - Job 373318000](https://travis-ci.org/ToxicBakery/kfin-state-machine/jobs/373318000)\r\n\r\nExamples of what I see in sonatype:\r\n\r\nMultiple uploads all from the same build\r\n![screenshot from 2018-04-30 22-52-50](https://user-images.githubusercontent.com/1614281/39459767-d76df978-4ccb-11e8-8e44-c012caa2ed29.png)\r\n\r\nExamples of partial project uploads with varying ip addresses:\r\n![screenshot from 2018-04-30 22-55-55](https://user-images.githubusercontent.com/1614281/39459774-e4251110-4ccb-11e8-85ef-37d311676586.png)\r\n\r\n![screenshot from 2018-04-30 22-56-12](https://user-images.githubusercontent.com/1614281/39459779-edd501a2-4ccb-11e8-875b-ed5aac32bcdb.png)\r\n\r\n![screenshot from 2018-04-30 22-56-50](https://user-images.githubusercontent.com/1614281/39459780-efcbba28-4ccb-11e8-9ffe-a99bd6cf8bc7.png)"},"comment":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/comments/413025793","html_url":"https://github.com/travis-ci/travis-ci/issues/9555#issuecomment-413025793","issue_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/9555","id":413025793,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzAyNTc5Mw==","user":{"login":"leonard84","id":1151511,"node_id":"MDQ6VXNlcjExNTE1MTE=","avatar_url":"https://avatars2.githubusercontent.com/u/1151511?v=4","gravatar_id":"","url":"https://api.github.com/users/leonard84","html_url":"https://github.com/leonard84","followers_url":"https://api.github.com/users/leonard84/followers","following_url":"https://api.github.com/users/leonard84/following{/other_user}","gists_url":"https://api.github.com/users/leonard84/gists{/gist_id}","starred_url":"https://api.github.com/users/leonard84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonard84/subscriptions","organizations_url":"https://api.github.com/users/leonard84/orgs","repos_url":"https://api.github.com/users/leonard84/repos","events_url":"https://api.github.com/users/leonard84/events{/privacy}","received_events_url":"https://api.github.com/users/leonard84/received_events","type":"User","site_admin":false},"created_at":"2018-08-14T21:42:02Z","updated_at":"2018-08-14T21:42:02Z","author_association":"NONE","body":"Hm, I ran into the same problem. I does not seem to be restricted to docker."}}
{"actor":{"display_login":"leonard84"}}