Added more app sdk timeout debug info
This commit is contained in:
@@ -3596,7 +3596,7 @@ class AppBase:
|
|||||||
future.cancel()
|
future.cancel()
|
||||||
newres = json.dumps({
|
newres = json.dumps({
|
||||||
"success": False,
|
"success": False,
|
||||||
"reason": "Timeout error within %d seconds. This happens if we can't reach or use the API you're trying to use within the time limit." % timeout,
|
"reason": "Timeout error within %d seconds (1). This happens if we can't reach or use the API you're trying to use within the time limit. Configure SHUFFLE_APP_SDK_TIMEOUT=100 in Orborus to increase it to 100 seconds. Not changeable for cloud." % timeout,
|
||||||
"exception": str(e),
|
"exception": str(e),
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -3609,7 +3609,7 @@ class AppBase:
|
|||||||
except concurrent.futures.TimeoutError as e:
|
except concurrent.futures.TimeoutError as e:
|
||||||
newres = json.dumps({
|
newres = json.dumps({
|
||||||
"success": False,
|
"success": False,
|
||||||
"reason": "Timeout error within %d seconds (2). This happens if we can't reach or use the API you're trying to use within the time limit" % timeout
|
"reason": "Timeout error within %d seconds (2). This happens if we can't reach or use the API you're trying to use within the time limit. Configure SHUFFLE_APP_SDK_TIMEOUT=100 in Orborus to increase it to 100 seconds. Not changeable for cloud." % timeout,
|
||||||
})
|
})
|
||||||
|
|
||||||
break
|
break
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
environment:
|
environment:
|
||||||
|
- SHUFFLE_APP_SDK_TIMEOUT=300
|
||||||
#- DOCKER_HOST=tcp://docker-socket-proxy:2375
|
#- DOCKER_HOST=tcp://docker-socket-proxy:2375
|
||||||
- ENVIRONMENT_NAME=${ENVIRONMENT_NAME}
|
- ENVIRONMENT_NAME=${ENVIRONMENT_NAME}
|
||||||
- BASE_URL=http://${OUTER_HOSTNAME}:5001
|
- BASE_URL=http://${OUTER_HOSTNAME}:5001
|
||||||
|
|||||||
Reference in New Issue
Block a user