Omaha - the RETS photo task fails frequently, sometimes several times in a day
Sample of most recent:
Task name: 'gprmls_photos' Start time: 7/31/2021 3:11:00 PM Server time: Sat, 31 Jul 2021 15:11:00 GMT Time spent: 00:01:09.7527189 Status: FAILED Copy of logfile in "C:\Users\Administrator\Documents\mls_pipeline\logs\gprmls\gprmls_photo.log": Running task "gprmls_photos" Server: https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Foabrmls-rets.paragonrels.com%2Frets%2Ffnisrets.aspx%2FOABRMLS%2Flogin%3Frets-version%3Drets%2F1.7.2&data=04%7C01%7Crtrifan%40homepartners.com%7C112c79780def40ad38b208d95435929c%7Ca467cb38a59a4d04afee88f8da8b26d5%7C0%7C0%7C637633411342122009%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=f3ad52jkTVFDhvGxzQLfFzmBVFnaTyscVqc1gVtAUJ8%3D&reserved=0 User name: 971266 Incremental pull since 7/31/2021 10:29:52 AM Local time: 7/31/2021 3:11:00 PM Server time: Sat, 31 Jul 2021 15:11:00 GMT Last modification time found: 7/31/2021 3:11:00 PM Running step "photos" Search query: (L_UpdateDate=2021-07-31T10:29:52+),(L_StatusCatID=|1),(L_AskingPrice=100000-300000) RETS Status code = 0: Operation Successful Downloading media: Photo Failed to retrieve media: The request was aborted: The request was canceled. RETS status code = -1: No Photo found Step finished at 7/31/2021 3:12:09 PM
C:\fakepath\gprmls - rets photo task 1.png
C:\fakepath\gprmls - rets photo task 2.png
C:\fakepath\gprmls - rets photo task 3.png
C:\fakepath\gprmls - rets photo task 4.png
Not sure without more detailed error information.
You could try increasing the connections timeout value.
It could be taking too long and timing out or something like that.
Ok, I will look to see if I can figure out the timeout setting. Regarding more error info, this is what is emailed by RETS on failure. Where can I see more detail on the error?
If you are using RETS Connector, the timeout value is on the tasks General tab.
There is also a Log file tab that you can set logging.
Hi @bwolven, I updated the questions with snapshots of the RETS task. The timeout is 60 seconds - that is what we use for most of our tasks.
Also, snapshot of a log from a failed run (similar with what is posted in the main question):
I would change the timeout from 60 to 240 and see if that helps.
You are requesting all photos for several listings at a time which could take a while to return.
Were you able to get this working better?
Sorry, was on PTO during second half of August and just now seeing this. I have just now increased the timeout and will monitor. I will say it is an unusually high interval for timeout - all other RETS jobs work with smaller values...
The best way to pull images is to either use the Media resource and download using the URL returned.
Or use GETOBJECT with Location=1 to get the URL and download the image using the URL returned.
Would you happen to know of a documentation link on how to implement either of the approaches?