You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have successfully configured Bastillion-EC2, but I am facing an issue where the server session times out after 1 minute. I have set the timeout to 15 minutes, but it still times out after 1 minute. Please find the EC2BoxConfig.properties file below and suggest where I might have made a mistake.
EC2Box Configuration Options
#ec2 region select values
ec2Regions=ec2.us-east-1.amazonaws.com:US East (N. Virginia),ec2.us-east-2.amazonaws.com:US East (Ohio),ec2.us-west-1.amazonaws.com:US West (N. California),ec2.us-west-2.amazonaws.com:US West (Oregon),ec2.ca-central-1.amazonaws.com:Canada (Central),ec2.ap-south-1.amazonaws.com:Asia Pacific (Mumbai),ec2.ap-northeast-2.amazonaws.com:Asia Pacific (Seoul),ec2.ap-southeast-1.amazonaws.com:Asia Pacific (Singapore),ec2.ap-southeast-2.amazonaws.com:Asia Pacific (Sydney),ec2.ap-northeast-1.amazonaws.com:Asia Pacific (Tokyo),ec2.eu-central-1.amazonaws.com:EU (Frankfurt),ec2.eu-west-1.amazonaws.com:EU (Ireland),ec2.eu-west-2.amazonaws.com:EU (London),ec2.sa-east-1.amazonaws.com:South America (S\u00C3\u00A3o Paulo)
#alarm state select values
alarmState=OK:OK,INSUFFICIENT_DATA:Insufficient Data,ALARM:Alarm
#system status select values
systemStatus=ok:OK,impaired:Impaired,insufficient-data:Insufficient Data,not-applicable:Not-Applicable
#instance status select values
instanceStatus=ok:OK,impaired:Impaired,insufficient-data:Insufficient Data,not-applicable:Not-Applicable
#instance state select values
instanceState=pending:Pending,running:Running,shutting-down:Shutting-down,terminated:Terminated,stopping:Stopping,stopped:Stopped
#default instance state
defaultInstanceState=running
#default system user
defaultSystemUser=ec2-user
#default system port
defaultSystemPort=22
#keep audit logs for in days
deleteAuditLogAfter=90
#The number of seconds that the client will wait before sending a null packet to the server to keep the connection alive
serverAliveInterval=900
#enable audit
enableInternalAudit=false
#default timeout in minutes for websocket connection (no timeout for <=0)
websocketTimeout=0
#enable two-factor authentication with a one-time password - 'required', 'optional', or 'disabled'
oneTimePassword=optional
#Use private DNS for instances
useEC2PvtDNS=true
#Use private IP for instances
useEC2PvtIP=true
#Regular expression to enforce password policy
passwordComplexityRegEx=((?=.\d)(?=.[A-Z])(?=.[a-z])(?=.[!@#$%^&*()+=]).{8,20})
#Password complexity error message
passwordComplexityMsg=Passwords must be 8 to 20 characters, contain one digit, one lowercase, one uppercase, and one special character
#HTTP header to identify client IP Address - 'X-FORWARDED-FOR'
clientIPHeader=
#specify a external authentication module (ex: ldap-ol, ldap-ad). Edit the jaas.conf to set connection details
jaasModule=
#proxy settings for AWS client
awsProtocol=https
awsProxyHost=squid-proxy-elb
awsProxyPort=80
awsProxyUser=
awsProxyPassword=
Hi Team,
I have successfully configured Bastillion-EC2, but I am facing an issue where the server session times out after 1 minute. I have set the timeout to 15 minutes, but it still times out after 1 minute. Please find the EC2BoxConfig.properties file below and suggest where I might have made a mistake.
EC2Box Configuration Options
#ec2 region select values
ec2Regions=ec2.us-east-1.amazonaws.com:US East (N. Virginia),ec2.us-east-2.amazonaws.com:US East (Ohio),ec2.us-west-1.amazonaws.com:US West (N. California),ec2.us-west-2.amazonaws.com:US West (Oregon),ec2.ca-central-1.amazonaws.com:Canada (Central),ec2.ap-south-1.amazonaws.com:Asia Pacific (Mumbai),ec2.ap-northeast-2.amazonaws.com:Asia Pacific (Seoul),ec2.ap-southeast-1.amazonaws.com:Asia Pacific (Singapore),ec2.ap-southeast-2.amazonaws.com:Asia Pacific (Sydney),ec2.ap-northeast-1.amazonaws.com:Asia Pacific (Tokyo),ec2.eu-central-1.amazonaws.com:EU (Frankfurt),ec2.eu-west-1.amazonaws.com:EU (Ireland),ec2.eu-west-2.amazonaws.com:EU (London),ec2.sa-east-1.amazonaws.com:South America (S\u00C3\u00A3o Paulo)
#alarm state select values
alarmState=OK:OK,INSUFFICIENT_DATA:Insufficient Data,ALARM:Alarm
#system status select values
systemStatus=ok:OK,impaired:Impaired,insufficient-data:Insufficient Data,not-applicable:Not-Applicable
#instance status select values
instanceStatus=ok:OK,impaired:Impaired,insufficient-data:Insufficient Data,not-applicable:Not-Applicable
#instance state select values
instanceState=pending:Pending,running:Running,shutting-down:Shutting-down,terminated:Terminated,stopping:Stopping,stopped:Stopped
#default instance state
defaultInstanceState=running
#default system user
defaultSystemUser=ec2-user
#default system port
defaultSystemPort=22
#keep audit logs for in days
deleteAuditLogAfter=90
#The number of seconds that the client will wait before sending a null packet to the server to keep the connection alive
serverAliveInterval=900
#enable audit
enableInternalAudit=false
#default timeout in minutes for websocket connection (no timeout for <=0)
websocketTimeout=0
#enable SSH agent forwarding
agentForwarding=false
#enable two-factor authentication with a one-time password - 'required', 'optional', or 'disabled'
oneTimePassword=optional
#Use private DNS for instances
useEC2PvtDNS=true
#Use private IP for instances
useEC2PvtIP=true
#Regular expression to enforce password policy
passwordComplexityRegEx=((?=.\d)(?=.[A-Z])(?=.[a-z])(?=.[!@#$%^&*()+=]).{8,20})
#Password complexity error message
passwordComplexityMsg=Passwords must be 8 to 20 characters, contain one digit, one lowercase, one uppercase, and one special character
#HTTP header to identify client IP Address - 'X-FORWARDED-FOR'
clientIPHeader=
#specify a external authentication module (ex: ldap-ol, ldap-ad). Edit the jaas.conf to set connection details
jaasModule=
#proxy settings for AWS client
awsProtocol=https
awsProxyHost=squid-proxy-elb
awsProxyPort=80
awsProxyUser=
awsProxyPassword=
#Requires JDK with "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files" installed - http://www.oracle.com/technetwork/java/javase/downloads/index.html
use256EncryptionKey=false
#Database and connection pool settings
#Database user
dbUser=ec2box
#Database password
dbPassword=AES{DM19iR5PrGK9Vi6uhOtGmg==}
#Database JDBC driver
dbDriver=org.h2.Driver
#Connection URL to the DB
dbConnectionURL=jdbc:h2:ec2db/ec2box;CIPHER=AES;
#Max connections in the connection pool
maxActive=100
#When true, objects will be validated before being returned by the connection pool
testOnBorrow=true
#The minimum number of objects allowed in the connection pool before spawning new ones
minIdle=2
#The maximum amount of time (in milliseconds) to block before throwing an exception when the connection pool is exhausted
maxWait=900000
#The session time out value of application in minutes
sessionTimeout=30
The optional tag on an instance that defines the host user to use
userTagName=ec2box-user
The text was updated successfully, but these errors were encountered: