swanchain / go-computing-provider

A golang implementation of computing provider
MIT License
11 stars 15 forks source link

Failed upload file to bucket, api.swanipfs.com, Bad gateway , invalid character #86

Open ThomasBlock opened 3 weeks ago

ThomasBlock commented 3 weeks ago

new errors regarrding swanipfs

time="2024-06-09 15:02:38.261" level=info msg="time:: resource: 0.052245" func=ReceiveJob file="cp_service.go:117"
time="2024-06-09 15:02:38.261" level=info msg="submitting job..." func=submitJob file="cp_service.go:164"
time="2024-06-09 15:02:38.262" level=info msg="uploading file to bucket, objectName: jobs/26bf758b-635f-4392-8681-12c35daecb8e.json, filePath: /tmp/jobs/26bf758b-635f-4392-8681-12c35daecb8e.json" func=UploadFileToBucket file="storage_service.go:52"
time="2024-06-09 15:02:38.766" level=info msg="uuid: 5780b352-0186-44e9-9140-5e08f8c76363, spaceName: MilesShanahanARCHIVE, hardwareName: CPU only · 2 vCPU · 2 GiB" func=DeploySpaceTask file="cp_service.go:747"
time="2024-06-09 15:02:39.104" level=info msg="Start deleting space service, space_uuid: 5780b352-0186-44e9-9140-5e08f8c76363" func=deleteJob file="cp_service.go:791"
time="2024-06-09 15:02:42.906" level=error msg="http status: 400 Bad Request, code:400, url:https://api.swanipfs.com/api/v2/oss_file/get_file_by_object_name?bucket_uid=fde78405-f495-4cb2-88ca-eb9ec61afa98&object_name=jobs/26bf758b-635f-4392-8681-12c35daecb8e.json" func=HttpRequest file="restful.go:127"
time="2024-06-09 15:02:42.906" level=error msg="https://api.swanipfs.com/api/v2/oss_file/get_file_by_object_name?bucket_uid=fde78405-f495-4cb2-88ca-eb9ec61afa98&object_name=jobs/26bf758b-635f-4392-8681-12c35daecb8e.json failed, status:error, message:invalid param value:record not found" func=HttpRequest file="restful.go:154"
time="2024-06-09 15:02:42.906" level=error msg="https://api.swanipfs.com/api/v2/oss_file/get_file_by_object_name?bucket_uid=fde78405-f495-4cb2-88ca-eb9ec61afa98&object_name=jobs/26bf758b-635f-4392-8681-12c35daecb8e.json failed, status:error, message:invalid param value:record not found" func=HttpGet file="restful.go:64"
time="2024-06-09 15:02:45.850" level=error msg="http status: 502 Bad Gateway, code:502, url:https://api.swanipfs.com/api/v2/oss_file/get_file_by_object_name?bucket_uid=fde78405-f495-4cb2-88ca-eb9ec61afa98&object_name=jobs" func=HttpRequest file="restful.go:127"
time="2024-06-09 15:02:45.850" level=error msg="invalid character '<' looking for beginning of value" func=HttpRequest file="restful.go:147"
time="2024-06-09 15:02:45.850" level=error msg="<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body>\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx/1.18.0 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n" func=HttpRequest file="restful.go:148"
time="2024-06-09 15:02:45.850" level=error msg="invalid character '<' looking for beginning of value" func=HttpGet file="restful.go:64"
time="2024-06-09 15:02:46.104" level=error msg="http status: 502 Bad Gateway, code:502, url:https://api.swanipfs.com/api/v2/bucket/get_bucket_list" func=HttpRequest file="restful.go:127"
time="2024-06-09 15:02:46.104" level=error msg="invalid character '<' looking for beginning of value" func=HttpRequest file="restful.go:147"
time="2024-06-09 15:02:46.104" level=error msg="<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body>\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx/1.18.0 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n" func=HttpRequest file="restful.go:148"
time="2024-06-09 15:02:46.104" level=error msg="invalid character '<' looking for beginning of value" func=HttpGet file="restful.go:64"
time="2024-06-09 15:02:46.104" level=error msg="invalid character '<' looking for beginning of value" func=ListBuckets file="bucket.go:46"
time="2024-06-09 15:02:46.104" level=error msg="invalid character '<' looking for beginning of value" func=GetBucket file="bucket.go:92"
time="2024-06-09 15:02:46.104" level=error msg="invalid character '<' looking for beginning of value" func=GetBucketUid file="bucket.go:111"
time="2024-06-09 15:02:46.104" level=error msg="invalid character '<' looking for beginning of value" func=CreateFolder file="file.go:66"
time="2024-06-09 15:02:46.105" level=error msg="Failed upload file to bucket, error: invalid character '<' looking for beginning of value" func=UploadFileToBucket file="storage_service.go:69"
time="2024-06-09 15:02:46.105" level=info msg="time:: mcs: 7.842928" func=submitJob file="cp_service.go:189"
time="2024-06-09 15:02:46.105" level=error msg="Failed upload file to bucket, error: invalid character '<' looking for beginning of value" func=submitJob file="cp_service.go:191"
Normalnoise commented 3 weeks ago

The multichain storage service is not stable, we are checking it