Share via

Web Apps suddenly stoped by 'jpegtran: can't openjpegtran: can't open' error

島 浩文 40 Reputation points
2023-09-04T01:54:45.7133333+00:00

My Web Apps Site is stoped this morning. In application log,

jpegtran: can't open D:\home\site\wwwroot\wwwroot\images2\aozora??????_1F.jpg for reading

Unhandled Exception: System.ArgumentNullException: File name cannot be null.

The Japanese file name seems to be the cause of the error, but it wasn't a problem until last week. Has anything changed in the service?

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

0 comments No comments

Answer accepted by question author

Ajay Kumar N 28,266 Reputation points Microsoft Employee Moderator
2023-09-04T14:21:07.29+00:00

I understand the issue started a week before, is this issue confined only to accessing this aozora*??????*_1F.jpg file name or any .jpg images?

 You may leverage App Service diagnostics from Azure Portal> Navigate to your App Service app in the Azure Portal. (screenshot below)

 In the left navigation, click on Diagnose and solve problems - Review and run –“Configuration and Management”  and “Availability and Performance”.

Enable and review logs to fetch more details about the error -here - Access log files - to fetch more info about the error.

If you haven't done this already, restart your WebApp and then check if it helps.

App Service diagnostics*User's image

Kindly let us know, I'll follow-up with you further.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.