emanzione / PATCH

The PATCH repository for issues tracking, wiki and shared material.
https://assetstore.unity.com/packages/tools/utilities/p-a-t-c-h-ultimate-patching-system-41417
MIT License
47 stars 6 forks source link

The locally built web service and the problem of 404 has been displayed. #20

Closed Robintjhb closed 5 years ago

Robintjhb commented 5 years ago

I use a locally built web service for testing, and it always shows 404 problems. Please help solve them. Thank you. my url: http://127.0.0.1/patch/patches/versions.txt http://127.0.0.1/patch/patches/ http://127.0.0.1/patch/builds/

image Error: System.Net.WebException: The remote server returned an error: (404) Not Found. at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in :0 at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in :0 UnityEngine.Debug:LogError(Object)

c__AnonStorey2D:<>m__35(ActionThread) (at Assets/MHLab/PATCH/Source/Core/Utilities/Threading/UnityThreadHelper.cs:118) UnityThreading.ActionThread:Do() (at Assets/MHLab/PATCH/Source/Core/Utilities/Threading/Thread.cs:326) UnityThreading.ThreadBase:DoInternal() (at Assets/MHLab/PATCH/Source/Core/Utilities/Threading/Thread.cs:231)
Robintjhb commented 5 years ago

The solution has been found: Add MIME type file extension set to: . And add as application/octet-stream, can download the file without extension.