Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
9 views

Buffered HTTP streaming server sends previous frame instead of current frame

I'm developing an HTTP streaming server in Python that serves MJPEG frames. The server is supposed to stream frames from a buffer to connected clients. However, I noticed that the displayed frame is ...
BlackCatCoder's user avatar
0 votes
0 answers
30 views

c# why does HttpListener require admin rights (or run netsh as admin) but ASP.Net doesn't?

When starting an HttpListener in Windows 10, an HttpListenerException is thrown if the address is not "localhost:xxxx". This can be circumvented by running the command netsh http add urlacl ...
Verfin's user avatar
  • 13
0 votes
0 answers
16 views

Change run location of a github project using npm run dev

I am using this github project: https://suno.gcui.ai/ and it defaults to running locally on localhost:3000. I am running this in a webserver, not on my local machine, so I want it to run on the ...
Mr. Man's user avatar
  • 84
0 votes
0 answers
20 views

HTTP POST (or PUT) requests longer after response in ESP32

I'm making project like RC car on coupled STM32 and ESP32 as co-processor. Now I'm trying to use POST/PUT requests of HTTP to turn on/off LEDs on my module, but I have problem with analysing and ...
All All's user avatar
0 votes
1 answer
31 views

Browser doesn't get response header from my inherited http.server.SimpleHTTPRequestHandler

I am trying to build a HTTP server by inheriting http.server.SimpleHTTPRequestHandler. It works fine and unless that the browser just doesn't know my server is trying to send HTML data, and keep ...
Limina102's user avatar
  • 1,001
1 vote
3 answers
84 views

How to set up a simple git server?

I have a program written in Go which runs Git to connect to GitHub. I'm trying to write a (unit) test for this program, hence I want to set up my own HTTP server inside the test to mock out GitHub. ...
Jordan Barrett's user avatar
0 votes
0 answers
31 views

Blocked by CORS policy: No 'Access-Control-Allow-Origin' header error nodejs

Whenever I try to establish a socket connection (from client) with my server (writen in nodejs), I get a cors error Access to XMLHttpRequest at 'https://example.onrender.com/socket.io/?EIO=4&...
noah.'s user avatar
  • 1
2 votes
1 answer
89 views

Go file server doesn't serve folder

I am building a website with Golang, HTML, JS and CSS. Here is my folder structure: /data (Go files that contain data initialization) /handler (Go files for HTTP handling) /model (Go files ...
Seyit Ahmet Gökçe's user avatar
1 vote
0 answers
34 views

Browser closes connection on chunked data after recieving 6 chunks

I want to send images, videos, audio through TCP in chunks. I wrote this function but for some reason every Browser I use closes the connection after recieving only a few chunks of data. Is there a ...
NunjaUwU's user avatar
0 votes
1 answer
20 views

Unable to upload images to server in Flutter. returning URL as url/filename.octet-stream"

I am able to get the images I need from the device, but when I try to upload it it returns an octet-stream, which I found out is for arbitrary data. I don't really know what that means. Below are my ...
Nicholas Ekubi's user avatar
0 votes
0 answers
22 views

API controller - No HTTP resource was found that matches the request URI

This happened after I changed project name in the solution explore.(renamed from "MyFirstQuestion0513" to "Flora_Assignment1") I saw the error line in one cs file and opened it ...
Flora Jiang's user avatar
0 votes
1 answer
20 views

URL rewrite is not functioning in Apache Server properly

We are experiencing an issue with a URL rewrite that is not functioning correctly. The rule is as follows: RewriteRule ^/?$ "https://%{HTTP_HOST}/xx/xxx#/login" [R=301,L] However, the URL is ...
jonnee_l's user avatar
0 votes
0 answers
12 views

My port is always stuck in the old project

Long story short, I once worked on a project using port 8000. Now I want to create a new project with Laravel but when using PHP Artisan Server, my browser always redirects to the old project that was ...
Vin_'s user avatar
  • 11
1 vote
1 answer
24 views

Running node server.js results in the following error: Route.post() requires a callback function but got a [object Undefined] at Route.<computed>

Like the tittle says, im making a boilerplate to use for multiple projects. Syntax wise evrything looks fine, in my onw attempt to solve the problem I ddint find any solutions for my problem even ...
Edward Akande's user avatar
0 votes
0 answers
39 views

what to do when i get error: origin server did not find a current representation for the target resource or is not willing to disclose that one exists

HTTP Status 404 – Not Found Type Status Report Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. Apache Tomcat/...
Rahul Shakya's user avatar

15 30 50 per page
1
2 3 4 5
70