Image processor Error with umbraco and Azure blob - umbraco7

I have a serious issue with my site after change our image storage to Azure blob, when I tried to delete it I get this error list
2017-05-11 17:10:05,271 [P1012/D3/T40] ERROR ImageProcessor.Web.HttpModules.ImageProcessingModule -
ImageProcessor.Common.Exceptions.ImageProcessingException: ProcessImageAsync 597 : No image exists at D:\home\site\wwwroot\media\126812\bob400x600.jpg
2017-05-11 17:12:17,573 [P1012/D3/T23] ERROR ImageProcessor.Web.HttpModules.ImageProcessingModule -
ImageProcessor.Common.Exceptions.ImageProcessingException: ProcessImageAsync 597 : No image exists at D:\home\site\wwwroot\media\126803\constance-659x420.jpg
2017-05-11 17:14:25,462 [P1012/D3/T14] ERROR ImageProcessor.Web.HttpModules.ImageProcessingModule -
ImageProcessor.Common.Exceptions.ImageProcessingException: ProcessImageAsync 597 : No image exists at D:\home\site\wwwroot\media\126805\vietna.jpg
2017-05-11 17:14:52,993 [P1012/D3/T39] ERROR ImageProcessor.Web.HttpModules.ImageProcessingModule -
ImageProcessor.Common.Exceptions.ImageProcessingException: ProcessImageAsync 597 : No image exists at D:\home\site\wwwroot\media\126811\cuda-659x420.jpg
2017-05-11 17:15:19,981 [P1012/D3/T8] ERROR ImageProcessor.Web.HttpModules.ImageProcessingModule - ImageProcessor.Common.Exceptions.ImageProcessingException: ProcessImageAsync 597 : No image exists at D:\home\site\wwwroot\media\126810\where.jpg
This images are inside a Custom mediatype but it was working untill I move it to another folder in the website structure. Now i can do anything with it, I can't delete it, change or move it.
Could be some config errors? I really don't know why the image processor are looking into local media, because it is all on the blob.
Any help would be appreciated.

My files where moved to the blob, I do not have any content on my media folder. This errors occurred when I try to change the images on the content, they have the path as a virtual directory on the BO like www.mysite.com/media/126811/cuda-659x420.jpg
By default the UmbracoFileSystemProviders.Azure plugin will serve files transparently from your domain or serve media directly from Azure. This is made possible by using a custom Virtual Path Provider included and automatically initialised upon application startup. You could disable it by setting useDefaultRoute configuration item which nested in FileSystemProviders to false.
<add key="useDefaultRoute" value="false" />
For more information, link below is for your reference.
README document of UmbracoFileSystemProviders.Azure

Related

WKWebView in Blackberry Dynamics iOS app cannot save cookies

We have a Xamarin.iOS app which uses the Blackberry Dynamics SDK. (v11.0.1.11)
In this app we show a WKWebView, which loads a page that uses cookie based authentication. The problem is, that cookies seem not to be correctly saved. During loading of the WKWebView I see entries like this in the console output:
2023-01-17 13:16:34.765 MyApp[1110:277171] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///private/var/mobile/Containers/Data/Application/7FB9EDEF-FB4A-4E7B-A8B0-E02C209D1F20/Library/Cookies/Cookies.binarycookies
2023-01-17 13:16:34.779 MyApp[1110:277171] could not create directory "/private/var/mobile/Containers/Data/Application/7FB9EDEF-FB4A-4E7B-A8B0-E02C209D1F20/Library/Cookies" for future sandbox extension, error Error Domain=NSCocoaErrorDomain Code=516 "The file “Cookies” couldn’t be saved in the folder “Library” because a file with the same name already exists." UserInfo={NSFilePath=/private/var/mobile/Containers/Data/Application/7FB9EDEF-FB4A-4E7B-A8B0-E02C209D1F20/Library/Cookies, NSUnderlyingError=0x28237d8f0 {Error Domain=NSPOSIXErrorDomain Code=17 "File exists"}}
Then when the WebView loads it gets a "401 - Unauthorized" from the server because (I assume) the cookie is missing. Doing the same in our version of the app not using the Blackberry SDK we do not get this log entry and the page loads without problems. Any idea why cookies cannot be saved in the Blackberry version?

Unable to load asset-classic ways already verified

I already try to run pub get, hot reload and my sentence is right. this is my error :
Exception caught by image resource service
The following assertion was thrown resolving an image codec:
Unable to load asset: images/cover.jpg

Flutter/Dart - exception on URL that doesn't Exist anywhere in the project?

I'm using Android Studio and getting an error on a NetworkImage url which doesn't exist anywhere in the project. I've done a "Find in Path" (control shift F) from the top of the project and the URL doesn't appear anywhere. I'm utterly baffled. I recognize the URL from a site which I migrated away from. But I've replaced every single URL in the project so I don't know where it's coming from. Where could it be?
════════ Exception caught by image resource service ════════════════════════════════════════════════
The following SocketException was thrown resolving an image codec:
Failed host lookup: 'app.myurl.com' (OS Error: No address associated with hostname, errno = 7)
When the exception was thrown, this was the stack:
Image provider: NetworkImage("https://app.myurl.com/63-user.jpg?v=1603283280800", scale: 1.0)
Image key: NetworkImage("https://app.myurl.com/63-user.jpg?v=1603283280800", scale: 1.0)
Try flutter clean to clean the build cache.

I can't add items from any dashboard (old or new)

I'm trying tu turn on and test ScadaLTS on my PC (Windows 10). Before read install instuctions, I have donwloaded and installed Tomcat and MySQL, configured context.xml and env.properties. I have restarted Tomcat before changes and navigated to localhost. All seems to work well. Login pagin is showed and I can log in with 'admin/admin'. I click on add view and new view is created. I go to edit button. When I try to add a new component, only two options appear (SLTS Image Componen and SLTS Visit Counter). If I back to old UI, add a view and then try to add a component, list is published as shown is youtube, but when I click on add, nothing happens. No items are added on drawable surface.
I was looking for errors in Tomcat log folder but nothing find. If I open Angular 2 UI with dev-tools, console show firtsly two erros:
Failed to load resource: the server responded with a status of 404 (Not found) ~https://fonts.googleapis.com/icon?family=Material+Icons
Failed to load resource: the server responded with a status of 404 (Not found) ~#angular/material/prebuilt-themes/deeppurple-amber.css
And before them, two more are shown continously:
ERROR TypeError: Cannot read property '_has' of undefined
at p (plotly.min.js:52)
at Object.t [as relayout] (plotly.min.js:52)
at WatchlistComponent.webpackJsonp.../../../../../src/app/appBody/watchlist/watchlist.component.ts.WatchlistComponent.autorangeChart (main.bundle.js:3859)
at main.bundle.js:3635
at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invokeTask (vendor.bundle.js:33289)
at Object.onInvokeTask (vendor.bundle.js:81064)
at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invokeTask (vendor.bundle.js:33288)
at Zone.webpackJsonp.../../../../zone.js/dist/zone.js.Zone.runTask (vendor.bundle.js:33056)
at webpackJsonp.../../../../zone.js/dist/zone.js.ZoneTask.invokeTask (vendor.bundle.js:33363)
at ZoneTask.invoke (vendor.bundle.js:33352)
defaultErrorLogger # vendor.bundle.js:78203
:8080/ScadaBR/api/point_value/getValue/null Failed to load resource: the server responded with a status of 400 (Bad request)
vendor.bundle.js:78203 ERROR Error: Uncaught (in promise): Response with status: 400 Petición incorrecta for URL: http://localhost:8080/ScadaBR/api/point_value/getValue/null
at resolvePromise (vendor.bundle.js:33648)
at resolvePromise (vendor.bundle.js:33619)
at vendor.bundle.js:33696
at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invokeTask (vendor.bundle.js:33289)
at Object.onInvokeTask (vendor.bundle.js:81064)
at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invokeTask (vendor.bundle.js:33288)
at Zone.webpackJsonp.../../../../zone.js/dist/zone.js.Zone.runTask (vendor.bundle.js:33056)
at drainMicroTaskQueue (vendor.bundle.js:33460)
at ZoneTask.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (vendor.bundle.js:33367)
at invokeTask (vendor.bundle.js:34235)
Could you help me please? Thanks in advance
Which version of Java, Tomcat and MySQL are you using?
The problem can be caused by too high version of Tomcat. We recommend to use version 7.0.82.
The simplest way to run Scada-LTS is to use our docker container:
https://github.com/SCADA-LTS/Scada-LTS/wiki/Run-ScadaLTS-on-docker---instruction

Image display issue for blob images

Update:
Images were saved in SQL server as blob type. Images get truncated if you do not check the option for blob in CF admin "Data sources" section..Option to check blob
It does not seem like CF is doing this. I see images truncated in Production that are just fine in Development.
I am using ColdFusion 11 in Development and Production. I can successfully upload images from my local dev with out any truncation. However, when I upload from the Production server, I am getting following error in FF, and the uploaded image is half of the original image:
"Image corrupt or truncated. URI in this note truncated due to
length."
This is my code I am using html form.
<cffile
action="upload"
filefield="IMAGE"
destination="#application.ImagePath#"
nameconflict="makeunique"
accept = "image/gif,image/jpeg,image/pjpeg,image/png,image/x-png,image/jpg"
/>
<cfimage name="uploadedImage"
source="#application.ImagePath#\#file.serverFile#" >
<cfimage source="#uploadedImage#" action="resize" width="1350"
height="590"
destination="#application.ImagePath#\#file.serverFile#"
overwrite="yes">
<cffile
action="readbinary"
file="#application.ImagePath##CFFILE.ServerFile#"
variable="binPhoto"
/>
<cffile
action="delete"
file="#application.ImagePath##CFFILE.ServerFile#"
/>

Resources