an internal problem in JSON RPC and an https error ,localhost is not found - asp.net

well,i work in visuel studio 2022 to developpe a website using mvc and asp.net6.0 ,but i have faced 2 main problems ,the first is i dont know how to fix the internal JSON problem,and also the https page is not found when i try to implement the project,keep in mind i use ISS express to do the implementation.
here is the screenshots of the error it giving:
json rpc error
local host error

Related

How to troubleshoot failed API calls to .NET project running over localhost?

I have an API in a .NET project that I'm running with Visual Studio Mac (8.4.3). I run it in release mode, and it opens a browser window with localhost:5000. The browser window says "ok". However, when I try to hit endpoints in that API, it fails very quickly. When I ran this API (ie. same code) from another server and accessed it via proxy, it ran fine. For example, when I ran it on a server whose IP was 162.250.198.98 and proxied into it, I would hit an endpoint like 162.250.198.98:3000/api/user and it would work, but now when I try to run localhost:5000/api/user, either from my app or from Postman, it fails almost instantaneously. When running it in Postman, I tried what it suggested by turning off 'SSL certificate verification' in Settings, but no change.
Can anyone advise me on how to approach troubleshooting this?
Wait, so You are saying that while trying to call API on 162.250.198.98:3000/api/user You are fine but while trying to do the same thing on localhost:5000/api/user You are getting an error? Would it might be possible You have Your API configured to receive calls at 3000? :)?
No, but really - please chech it out, maybe it is that simple, I'm couting on it :).
You can change/check it in Visual Studio: main project > Properties > Debug > App URL.

How to solve Error 503 Service Unavailable

I'm have problem with 503 Service Unavailable. My project is web application and it show data from 5 function by ajax and that function interval each 6 sec and sometime i get 503 error. i use firefox browser to run my application because i have to run autoplay audio too. Have anyone i have same project like me or have the same problem. Please share your solution to fix it. Thank you so much. I don't show my code because it's work fine and i think the problem is overloaded network. If you want to see the code please tell me.
The following list could be the resolve of your problem.
.NET CLR Version & Managed Pipeline Mode
Enable 32-Bit Applications
Also you can Log errors in Application_Error method of global.config.
The Limitation of Your Web Host
complete illustration could be found in the following code.
https://www.bisend.com/blog/resolve-503-error

Trouble installing Umbraco

This is my first time working with this CMS.
I uploaded the latest release of umbraco to my host and instead of the "installation wizard" i get the following error:
Internal server error - 500
There is a problem with the resource you are looking for and it cannot be displayed
Does this error indicate a error on the server-side or is this something that i can fix?
URL to the website
Thanks for all the help!
Regards
Hi c0ral 500 is a soft error which you will need to switch debug on in the web.config file to see the actual error. You might find your hosting partner doesn't support the required dependencies for umbraco to run like ASP.Net 4.5.
https://our.umbraco.org/documentation/Getting-Started/Setup/Requirements/

The page you are requesting cannot be served because of the extension configuration

Well this morning I woke up to see that my site hosted on Windows Azure was producing 50X errors and in general being incredibly slow (up to 60 seconds response time).
Now after looking through the DetailedErrors folder I see that the error received is:
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
I tried creating a new test website and host it and guess what? I receive the exact same error here as well.
What could be causing this?
I found this for you.
There were more errors related to local machine below these errors.I looked up the net and after some digging figured out the solution to the problem:
Run Visual Studio 2008 Command Prompt as “Administrator”.
Navigate to C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation.
Run this command servicemodelreg –i.
for more info

Why am I getting a Sending failed Error in AMFPHP/Flex

I am using remote object in flex to call a method in amfphp. I have project setup properly with a services-config.xml in d src, d end point uri pointing to the gateway.php. After testing on my localhost everything works fine but when I copied my files to a remote server repoint the uri in d servies-config and then recompiling the application gives a sending failed error. Can someone help please?
because of an error or warning on server side. php send's back to you that message, and amfphp don't know how cast it to amf format. so the problem is in your server side, that's for sure
one more thing, use zendamf, instead of amfphp, it's done by same developer and you don't need to install entire zend framework, only zendamf lib, it's small and doest the job perfectly :)
download and install charles proxy - helps you debug your application and get the exact error message from the server.

Resources