com.amazonaws.AmazonClientException: Security groups must all be VPC security groups to work in a VPC context

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Joshua Hoblitt, 1 year ago
Security groups must all be VPC security groups to work in a VPC context
via Jenkins JIRA by Joshua Hoblitt, 1 year ago
Security groups must all be VPC security groups to work in a VPC context
via Google Groups by jo...@hoblitt.com (JIRA), 1 year ago
Security groups must all be VPC security groups to work in a VPC context
com.amazonaws.AmazonClientException: Security groups must all be VPC security groups to work in a VPC context
at hudson.plugins.ec2.SlaveTemplate.getEc2SecurityGroups(SlaveTemplate.java:916)
at hudson.plugins.ec2.SlaveTemplate.provisionOndemand(SlaveTemplate.java:476)
at hudson.plugins.ec2.SlaveTemplate.provision(SlaveTemplate.java:377)
at hudson.plugins.ec2.EC2Cloud.provisionSlaveIfPossible(EC2Cloud.java:406)
at hudson.plugins.ec2.EC2Cloud.provision(EC2Cloud.java:422)
at hudson.slaves.NodeProvisioner$StandardStrategyImpl.apply(NodeProvisioner.java:700)
at hudson.slaves.NodeProvisioner.update(NodeProvisioner.java:305)
at hudson.slaves.NodeProvisioner.access$000(NodeProvisioner.java:58)
at hudson.slaves.NodeProvisioner$NodeProvisionerInvoker.doRun(NodeProvisioner.java:797)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:50)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.