Skip to content

timeout not working for V1 #324

@sgokaram-saagie

Description

@sgokaram-saagie

Task to export variables from V1 was timing out. Tried to increase by specifying the timeout value but its not working.

plugins {
id "io.saagie.gradle-saagie-dataops-plugin" version "2.1.10"
}

saagie {
server {
url = saagieurl
login = saagieuserid
password = saagiepassword
environment = saagieplatformid
jwt = true
timeout = 20000
}
env {
include_all_var=true
}
exportArtifacts {
export_file = "./env/v1.zip"
overwrite=true
temporary_directory='./tmp'
}
}

OUTPUT
saagies-mbp:Gradle shivakumar$ gradle -b build.gradle.projectExportEnvV1 projectExportV1

Task :projectsExportV1 FAILED
Error in getListVariablesV1FromConfig
timeout getAllVariablesFromV1 Request
Error in getListVariablesV2FromConfig
timeout getListVariablesV1FromConfig

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':projectsExportV1'.

java.net.SocketTimeoutException: timeout

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 23s
1 actionable task: 1 executed

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions