Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
53 views

I am struggling to send streamed response to the connected client. The code below is the example HttpServer used to respond to the client, the client code is also mentioned using a custom class to ...
Sameer Ahmed's user avatar
1 vote
1 answer
92 views

I’m running a simple test server to test out a few concepts. For testing purposes, I have a directory with a structure like this: data/ index.html images/ image1.png image2.png ...
Manngo's user avatar
  • 17.1k
0 votes
2 answers
191 views

I have a function that returns a response depending on the method and the path of the request. When I use strcmp(method, "GET") it gives me -67, even if the method is exactly the same (I ...
Solrojo's user avatar
  • 71
5 votes
2 answers
146 views

I have this parser, I want to use the size of the pointer (that is 8 bytes) in the function strncpy, I was able do it with the "method" part, why does it crash the "path" part ? It ...
Solrojo's user avatar
  • 71
0 votes
1 answer
47 views

I'm new to npm and I tried to start a new simple project. Initially it just had index.html with h1 Hello world. When I try to start a server using http-server ./index.html it works to some extent but ...
Heitor Shoiji Kimura's user avatar
1 vote
1 answer
181 views

I've recently implemented an async HTTP Server and Client based on C++ Boost Beast (V.1.83). I'm new to the io_context approach and even if it all seems to be working fine I'm not at all convinced of ...
Kite's user avatar
  • 429
0 votes
0 answers
38 views

I am encountering an issue with HttpServer from Apache HttpCore after upgrading the library from version 5.2.3 to 5.3. When client authentication (setNeedClientAuth(true)) is enabled and the ...
Jagdish Raika's user avatar
0 votes
0 answers
57 views

I'm working on a small com.sun.net.httpserver project where i want to show images a user has uploaded. I already managed to get the image and safe it onto the file system. Now i want to send the image ...
Bessarionis Zockiflocki's user avatar
-1 votes
2 answers
851 views

I get this error all the time tried everything switching JVMs and stuff changing code itself but nothing really works Chat GPT also doesn't help. If someone know what's the dead with this please help. ...
Lem's user avatar
  • 3
0 votes
1 answer
32 views

In my flutter application I've created a http server using dart io. I'm uploading file from web frontend using formdata using fetch api call. On the server side(flutter) how to get uploaded file?
Sivamani V's user avatar
-1 votes
1 answer
47 views

I can GET my html to render, but the console throws a SyntaxError: Uncaught SyntaxError: Unexpected token '<' (at index.js:1:1) The contents of my index.js file are: console.log('javascript loaded')...
emarg's user avatar
  • 1
0 votes
1 answer
96 views

I am trying to write a HTTP server in C. My code: Supports the connection of a client to a server Allows the server to read the HTTP request sent by the client. Parses the start line of the HTTP ...
Palaash Goel's user avatar
1 vote
1 answer
1k views

I have a problem. I need to build my angular application. I don’t mean just to start it. I mean to build it with ng build (in production) and then to start it to test it. It should be like a first ...
BurritoMan's user avatar
0 votes
1 answer
185 views

First, please refer to a similar but not exactly duplicate question. That question was solved by uninstalling a defective Windows update on Windows server, which is not my case at all (as I'm on ...
Jerry Dodge's user avatar
  • 27.4k
0 votes
0 answers
130 views

I am using angular 8 with ionic (mobile). I have problem when running the application, opened in chrome browser, in production mode, while there is no problem when opening in development mode. I ...
Eitan's user avatar
  • 1,436
0 votes
0 answers
173 views

I'm tryin to create a multithreaded HTTP server in Python 3.10 using ThreadingHTTPServer. However, ThreadingHTTPServer doesn't seem to be working multithreadedly - each GET request waits for the ...
Serg's user avatar
  • 1
1 vote
2 answers
99 views

I've created a simple TS project with the following file structure: dairyproducts.github.io/ ├── package.json ├── public/ │ ├── images/ │ ├── index.html ├── src/ │ └── index.ts ├── dist/ │ └── ...
dairy's user avatar
  • 181
0 votes
1 answer
96 views

Context I've defined an http server with a python script, this server is used to then make GET calls from NODE-RED and thus obtain information present on a configuration JSON file. The python server ...
breakfastea's user avatar
0 votes
1 answer
126 views

I am writing a simple HTTP server in C from the CodeCrafter challenge Build your Own HTTP server. The request i am addressing is the following: The tester will then send two HTTP requests to your ...
fraari's user avatar
  • 3
0 votes
1 answer
374 views

I have a spring reactive-based Microservice which is using Netty Server version 4.1.101.Final. It was working completely fine and processing all the HTTP requests that I fired. Now I want to catch ...
Satyam Pareek's user avatar
1 vote
0 answers
49 views

package main import ( "log" "log/slog" "neo-foci-web/handlers" "net/http" "os" "github.com/go-chi/chi/v5" &...
Ádám Hassan's user avatar
1 vote
0 answers
58 views

Have a python web server listening on port 8080, based on socketserver.TCPServer. But there are intermittent failures in the communication between the client and the server, esp. when the server sends ...
Qiang Xu's user avatar
  • 4,921
0 votes
1 answer
124 views

I am currently implementing http pipelining in my HTTP 1.1 server. The response order corresponds to the order in which the requests are received. But can/should the PROCESSING of the individual ...
SoulfreezerXP's user avatar
1 vote
1 answer
470 views

Given the following stack trace in a minimal base image with read-only filesystem it is not possible to start my micronaut application that uses e.g. HTTP endpoints. The problem is that the native JNI ...
IUnknown's user avatar
1 vote
3 answers
527 views

This runs without error: const app = express(); const server = app.listen(3900, '0.0.0.0', () => { console.log('listening...'); }); process.once('SIGINT', () => { console.log('got SIGINT.'...
Alexander Mills's user avatar
1 vote
0 answers
655 views

I'm experiencing "connection reset by peer" errors when making multiple concurrent requests to my Rust TCP server. The server seems to handle some requests successfully, but others result in ...
DevExodus's user avatar
  • 141
0 votes
0 answers
104 views

String baseUri = http://127.0.0.1:8080/abc HttpServer grizzlyServer = startServer(baseUri); while (grizzlyServer.isStarted()) { TimeUnit.SECONDS.sleep(1); loopCount++; loopCount = ...
simonalexander2005's user avatar
0 votes
1 answer
352 views

I'm writing an http server with self-update feature, the steps are: client post to the server with the new executable, as the http body server replace itself with the bytes server echos a string &...
aj3423's user avatar
  • 3,200
1 vote
1 answer
361 views

I would like to setup a DNS resolver so when a host in the upstream is not yet resolved (e.g. DNS server is up yet), the Nginx server will not crash. I am passing the URLs as environment variables. ...
Balint Laszlo's user avatar
0 votes
1 answer
257 views

As Golang documentation, stated, EnableFullDuplex() method on http.ResponseController permits handlers to continue to read from the request while concurrently writing the response. I want to write a ...
jim alef's user avatar
2 votes
1 answer
321 views

What is a default port range for server.port=0 in Spring Boot application? I'm using spring-boot 2.7 (with default tomcat server) and working with java 11. Or the range differs depending on OS?
makozaki's user avatar
  • 4,436
0 votes
0 answers
96 views

There are no error on the server side, but clients like Chrome and the application that needs the file can't download it. The server works with smaller files and it basically runs like this: package ...
boomcreeper11's user avatar
0 votes
1 answer
133 views

If have the following configuration for vite: import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import * as fs from 'fs'; // https://vitejs.dev/config/ export default ...
Frans Polman's user avatar
-3 votes
1 answer
365 views

I have a simple app that I expect to be a daemon that waits for connections, but it looks like it doesn't listen and I even can't find it in the process list. Code: package main import ( &...
user63898's user avatar
  • 31.1k
1 vote
1 answer
326 views

I am trying to migrate my react app from self-hosted on nginx to railway. Everything worked perfectly fine on nginx, but I am having issues on deploying it on railway using http-server. Nginx config ...
SPRK's user avatar
  • 21
0 votes
1 answer
2k views

I want to run locust tests on httpserver post API where the tests should continue to post the request to the service sequentially without waiting for a response from the pending posts. Let's say there ...
Maitreyi's user avatar
0 votes
1 answer
163 views

I have an ASP.NET web API app hosted on IIS 10, there are tons of Request_Cacnelled log appear in HTTPERR log. I suspect that may be due to some hang-on requests but after checking HTTP Service ...
Albert Feng's user avatar
0 votes
0 answers
357 views

I am trying to setup SAML based SSO using mod_auth_mellon on apache HTTP running RHEL 7.9, but getting these errors in apache logs. Can someone please help me here? I have all the libraries and ...
idlebrain's user avatar
1 vote
1 answer
339 views

I have a windows desktop app written in Delphi 11 that I am integrating with Xero accounting. The first step is complete, which is using ShellExecute to open a browser with a generated url that gives ...
Paul Coshott's user avatar
  • 1,099
0 votes
2 answers
98 views

I have a python http server implemented which only responds to get request to serve data plots to me remotely showing me what my photovoltaic system is doing at home. I have noticed some failed ...
Kenglaze's user avatar
0 votes
0 answers
81 views

I have implemented a TCP server using asyncio that receives data from the client at regular intervals, let's say every 30 seconds. Now, I aim to send data to the client on-demand. To achieve this, I ...
Muhammed's user avatar
0 votes
1 answer
116 views

For a minimalistic SimpleFileServer pseudocode below, how to disable directory listing? var server = HttpsServer.create(new InetSocketAddress(port), 2) server.createContext("/file", ...
Tugalsan Karabacak's user avatar
2 votes
2 answers
4k views

I have a local HTTP server where I'm hosting an MP4 file (about 50MB). I set up the following Composable in my app: @Composable private fun VideoItem( url: String, modifier: Modifier = ...
Sharp's user avatar
  • 1,399
1 vote
0 answers
60 views

I have been working on creating a Java HTTP server that serves a basic HTML page to a browser client. The server is hosted at http://127.0.0.1:8080/upload. However, I've encountered challenges when ...
KevinV's user avatar
  • 11
0 votes
0 answers
127 views

RFC 9110 defines the Content-Length ABNF rule like this: Content-Length = 1*DIGIT (i.e. 1 or more ASCII digits) The same also says this: a sender MUST NOT forward a message with a Content-Length ...
kenballus's user avatar
4 votes
1 answer
512 views

I have the following example code which starts built-in Java http server, issues a request to it using built-in Java http client and then tries to stop a server. The issue is: stop(delay) method ...
vbezhenar's user avatar
  • 12.5k
0 votes
1 answer
776 views

I am trying to serve the following http_server.js files on my virtual machine that I have set it up on digitalocean. Why am I getting this error message? this is my http_server.js file: // Import ...
Sar's user avatar
  • 1
0 votes
1 answer
92 views

I am creating resource booking system with server and client applications. Client application is simple command line tool that can be used to add and remove resources into and from the system and book ...
Afkaaja's user avatar
  • 135
1 vote
0 answers
643 views

I need to reply to an HTTP request in some steps (can't concatenate the output string and send it at once). To illustrate my needs, I do this with PHP on my PC to solve the same problem: <?php ...
pzn's user avatar
  • 502
1 vote
1 answer
2k views

I have been hosting a personal webserver for over a week now, and I have logged some suspicious requests. For my understanding these are automated scanning tools, vulnerability scanners, trying to ...
qubix00n's user avatar
  • 157

1
2 3 4 5
26