我有需要调用Rest服务的应用程序,以进行身份验证过程。服务和我的应用程序在同一台服务器上。我使用Spring RestTemplate来调用它。当它在本地主机上测试时,它工作得很好。但是当我将它部署到云服务器(在本例中是Jelastic)时,我得到了这个错误:
I/O error on GET request for "[my_rest_service_address]":Connection refused; nested exception is java.net.ConnectException: Connection refused
所有的代码都遵循这个文档:。只有更
我已经创建了一个web抓取python脚本,它在我的本地系统上运行良好,需要30分钟。
但是,当我试图将脚本放到GCP云功能上时,它在60004 ms之后抛出了超时。
2022-03-16T11:41:01.420461007Zget_training_databudock8slftb Function execution took 60004 ms, finished with status: 'timeout'
Function execution took 60004 ms, finished with status: 'timeout'
为了完成这个任务