Hi All,
I have code to download the firebase image, and it was working well with the same code for two days, for some reason today I have started to receive errors, I have searched everywhere but can not find out what might be the problem.
I have code to download the firebase image, and it was working well with the same code for two days, for some reason today I have started to receive errors, I have searched everywhere but can not find out what might be the problem.
code to download the image::
Sub DownloadAndSaveFile (Link As String) As ResumableSub
Dim j As HttpJob
j.Initialize("", Me)
j.Download(Link)
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
Dim out As OutputStream = File.OpenOutput(File.DirInternal, "FCMphoto.png", False)
File.Copy2(j.GetInputStream, out)
out.Close
End If
j.Release
Return Null
End Sub
Error received::
ResponseError. Reason: java.net.SocketTimeoutException: failed to connect to lh3.googleusercontent.com/xxx.xxx.x.x (port 443) from /xxx.xxx.xx.xx (port 43085) after 30000ms, Response: