I am trying to test the frontend of a Django project and want to use the VS code simple browser to open the local hosted site. In doing so it gives me no output(while it works perfectly on chrome) and the terminal show me this output
"GET /1?vscodeBrowserReqId=1676305382720 HTTP/1.1" 200 176
I haven't found anything related to this issue on the net and was wondering if it a Django problem or VS code
Related
I have followed this guide in setting up my localtunnel:
https://www.hongkiat.com/blog/accessible-local-web-server/
however, when I run the following command lt –port 80 nothing is showing. I started looking for this solution since Facebook seems to have stopped localhost access to FB.iu() method for sharing content on their site.
I have tried running as admin while disabling firewall and McAfees Antivirus Scan. I have used ngrok before now too but Facebook rejects it for no clear reason.
Below is an image of the steps taken:
Managed to get my way around this localhost tunneling issue using ngrok.
I noticed I'm expected to add additional domain names under App Domains in Facebook APP settings. So I added ngrok.io as an additional APP Domain and WHALAH! everything started working for the FB.ui() method.
I have a Django project (it's a big project meanwhile) and I can only connect to it via localhost using one browser (Chrome, Opera, Firefox, it doesn't matter which browser I use). When I connect to it once, Django is "locked" in this browser. When I try to connect to Django using another browser, it gets timed out. When I restart it I can again choice which browser I would like to use. But then Django gets "locked" again in this browser.
Example:
Django Server starts; I use Chrome; I can't use Opera, Firefox or any other browser anymore.
Django Server restarts; I use Opera; I can't use Chrome, Firefox or any other browser anymore.
I know this isn't a question about code but I don't know where this question fits except for Stackoverflow.
Do you have any idea?
EDIT
I also have this strange behaviour when I use incognito.
EDIT 2
I tried to reset the middlewares but that didn't change anything.
my new created django project working fine with this information
Django version 2.1.7, using settings 'django_server_api.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
running fine
then i opened in one browser is loaded quickly working quickly.
but if i open same local host in another browser it is taking more than 5 minutes, i dont know what is the issues? may be django is like this? or do i need to change any config in the setting,py file ?
Some browsers (Firefox) has a problem browsing to localhost on some Windows machines.
You can solve it by switching off ipv6, which isn't really recommended.
Using 127.0.0.1 directly is another way round the problem.
Note : If there are heavy media is can also slow downs django
I have custom web browser which is build using COM and Active X control using C++ or MFC.
In custom web browser am passing the my URL/Page which is having code to load the recaptcha " " its not loading buts its working fine in normal browser.
https://www.google.com/recaptcha/api.js i can see in the fiddler this URL is redirecting to webworker.js, anchor.htm and bframe.htm.
but from custom web browser after this "https://www.google.com/recaptcha/api.js nothing happening i mean its not redirecting to webworker.js, anchor.htm and bframe.htm.
I have use the IDocHostUIHandler if want you can grow through the following links "https://msdn.microsoft.com/en-us/library/aa770041(v=vs.85).aspx#WebBrowser_Customization_Architecture"
I have enable the downloading in my custom Web Browser i can see the downloaded files such the script, theme, css or html page and also "recaptcha__en[1].js" in machine expect webworker.js, anchor.htm and bframe.htm.
Please Help me out.
Thanks and Regards
I set up a website in IIS 7.0 the same way I have done it many times elsewhere, but keep getting 404 errors externally. Internally, everything loads fine. I have tried to set up logging, but nothing goes through and it may very well be because I am less familiar with how the logging works or where to look for it. I can see the IIS page when typing in the host, but anything past that will return 404.
I have very limited knowledge on the subject and any articles I find have too much jargon. Does anyone have any ideas on what or where I can look?
I found the error: iis 7.5 Microsoft-WebDAV-MiniRedir/5.1.2600 404
But I have the WebDAV Publishing role turned off.