33,397 questions
0
votes
1
answer
50
views
ASP.NET Core site can't find Default route on startup
I add a route named default with the pattern
{controller=Assets}/{action=Index}/{id?}
but I get an http 404 "Not Found" error.
If I type in /Assets in the browser, it finds the view, it's ...
3
votes
1
answer
109
views
Rails8/Devise custom action found in routes, but 404 when called
I'm extending the Devise invitations controller to lookup the email of the invitee to pre-populate the registration form. I'm getting an error:
#<AbstractController::ActionNotFound: "Could not ...
2
votes
2
answers
135
views
No route to host Error 65: Python not able to fetch frame from Reolink IP camera
I would appreciate it if someone could take a look at this issue:
I am using a Reolink IP camera to regularly query a still image via Python. The camera is connected to a TP Link switch via a LAN ...
1
vote
2
answers
109
views
Update Excel formulas between a path in local folder and owncloud in another computer
I have a lot of Excel archives with lots of formulas which reference other Excel files, all in the path H:\Fold\Data\physics on a computer, and at the same time, on another computer, I have an ...
0
votes
1
answer
91
views
OSRM Indian map extraction fails on 32GB RAM system, partitioned zones still can’t create cross-zone routes
I’m trying to set up OSRM with the latest India map (india-latest.osm.pbf). My system specs are:
RAM: 32 GB
CPU: Intel i7 11th Gen (8 cores / 16 threads)
When I try to extract the map (osrm-extract), ...
1
vote
1
answer
73
views
How to directly test ActionController::RoutingError for an invalid path in Ruby-on-Rails-7.1?
In Rails Controller tests of an invalid route, this used to work before Rails-7.1 (in Minitest):
assert_raises(ActionController::RoutingError){ get "/non_existent" }
In Rails-7.1 (or later),...
1
vote
1
answer
131
views
Migrating from vanilla html to Astro: keep route name legacy
I built a site manually, without the help of any framework.
Each page is a html file, so the routes end with html, such as https://example.com/location.html
I am currently migrating it to Astro. But ...
2
votes
1
answer
61
views
how to create a function that recieves a path compatible with the resolve fn
I'm creating a component that will receive several RouteId and create links
I want to use the resolve fn to validate them
see: https://svelte.dev/docs/kit/$app-paths#resolve
If I declare a prop (or a ...
0
votes
0
answers
104
views
ASP.NET Core Web API returns 404 on all endpoints despite correct routing and configuration
##Program.cs
```
app.UseHttpsRedirection();
app.UseRouting();
app.UseAuthentication();
app.UseAuthorization();
app.MapControllers();
app.MapGet("/", () => "API is alive");
````
...
1
vote
2
answers
56
views
How to synchronously read route data in AppComponent before first render
In our Angular application, our AppComponent template decides whether to show the full app layout (topbar, banner, ) or a standalone login screen.
Roughly, the template looks like this:
<ng-...
0
votes
1
answer
130
views
How to redirect requests locally from one domain to another on mac
I need to test accepting requests from a custom domain to my local web server.
The idea is I have a main app domain
main-app.com
I provide a subdomain for users
user-1.main-app.com
Then the user can ...
1
vote
1
answer
93
views
Angular Module Export Not Recognized
I am creating a new website in Angular V20. I have created a new module and added a new component to the module declarations and exports. I am exporting the component in its script. When I attempt to ...
0
votes
0
answers
23
views
On Apisix, my API request doesn't reach the target, but the http-logger plugin does. Why?
I am new on APISIX. I am struggling configuring a basic route.
I have configured an API target 192.168.224.130:3637 (which is an EAI waiting for HTTP request).
I have also configured a http-logger ...
0
votes
2
answers
48
views
Why is _cp_dispatch not routing to another method?
I have this CherryPy object to process some simple REST API, but I fail to understand how _cp_dispatch is supposed to work.
class Products(object):
def __init__(self, product_database):
...
-1
votes
1
answer
64
views
Docker build error => ERROR [ai-agent-service builder 5/6] COPY pyproject.toml poetry.lock* ./
There something is not correct either in Dockerfile of services, or docker-compose.yml, on one builds it builds the images successfully, and for second time build fails with below error, then when I ...
4
votes
2
answers
161
views
Why does @mapbox/polyline decode differently than Google’s Routes API polyline decoder?
I have an encoded polyline string:
ivgfAw_}bNaAfMwBjZk@IUrCGlC?jBFjCDbAV~B^xBVdAJFbB~EpApClAzBfC~DfAbBvDxGFZvDxGtAzBpDbHp@hAbDdG|EhH@d@bEbGlDnFl\fi@lIfN~OlWvFbJ|BpDg@~x@bDdFtHfMvZ~f@hDvF|EzHhDxFxTj^...
2
votes
1
answer
62
views
(only) URL doesn't update after navigation
I have recently updated my angular app from 18.x.x to 19.2.14.
I updated the angular version, so i could test my spec files.
The routing was working perfectly in the older version but i encountered a ...
0
votes
0
answers
87
views
Blazor AuthorizeRouteView not showing Authorizing Layout
I have a .NET 9 Blazor Maui hybrid application.
In my Routes.razor i have this:
<CascadingAuthenticationState>
<Router AppAssembly="typeof(MainLayout).Assembly">
<...
0
votes
0
answers
64
views
How to create a route with parameters only, while still retaining predefined routes
I am attempting to create a very flexible routing system that allows users to configure their own publishable url paths to their own content pages, sort of like a CMS. To achieve this, I created a ...
0
votes
1
answer
48
views
The ocp application service cannot be connected correctly
The route is set and the pod is started.
But when you enter https://www.test.gov.tw/my-apps
an error page will appear.
ocp error page
The following issues have already been checked:
The Service is not ...
0
votes
0
answers
55
views
ASSERTION ERROR: NgModule '_App' is not a subtype of 'NgModuleType'
I am having an Angular project with native federation and I have some problems here. I have error here. When I config routes to make shell connect to all components in a remote I have errors
ERROR ...
0
votes
0
answers
72
views
How can I get an Apache2.4 reverse proxy working on my Synology NAS for an Angular Single Page Application
I'm working on a personal-use-only Angular application which retrieves data and images from 3rd party servers and displays it in a format useful to myself.
Question:
How can I enable a Reverse Proxy ...
1
vote
2
answers
593
views
error NG0203: The `InjectionToken router duplicate forRoot guard` token injection failed
I am doing micro frontend project with angular and native federation and I have some problems here.
I have a host app with two remote apps. The first remote app I config and It works with both ...
2
votes
2
answers
92
views
Join controller and action with colon instead of the default slash
I'd like my API to be able to understand such URLs as
/api/workflows:sync
but by default it obviously only builds them like
/api/workflows/:sync
So, is there a way in ASP.NET Core to override the ...
0
votes
2
answers
290
views
Issue with Next.js 15.13 with promises and params
Writing a dynamic api route for page that accepts [slug] params.
export async function GET(request: NextRequest, { params }: { params: Promise<{ slug: string}> }) {
const {slug} = await ...
0
votes
1
answer
64
views
Python-Flet_Routing: pass variables between Views(pages)
I have a Python script, Flet multipages based using flet_routing module. I would like to know if is there a way, when changing page using 'page.go('/new_page'), to pass variables from first page to ...
0
votes
1
answer
49
views
Configure route for dynamic query in API Express
I'm working in this API where I can access data for many queries, but I'm having problems to retrieve data for a query by name containing (like:%data%), with dynamic data. I think it might just be a ...
1
vote
1
answer
82
views
How to eliminate a Detailed Error log for Azure Application Service?
My site is hosted on Azure at .azurewebsites.net, with various custom domains mapped to it. Like most sites, I suspect, there are lots of probing requests for typical .php files etc that all return ...
0
votes
0
answers
16
views
How to recreate a route from a Google Maps shared directions link with an API call?
I want to create an app where a users shares the directions link from the Google Maps app and the app generates a GPX file that can be used in a different navigation app.
For example, this short ...
1
vote
1
answer
127
views
Angular 19 - NG04002: Cannot match any routes. URL Segment: 'company-create'
I've been researching this all morning and can't seem to figure this out. I keep getting this error but followed (what I thought) the fix from others. I'm new to routing within a nav component. I'm ...
0
votes
0
answers
34
views
I'm trying to use the firebase auth with phone number but Im struglling with a function in my react-expo mobile app
import { Router, Request, Response } from 'express';
import { deleteOtp, generateOtp, verifyOtp } from '../services/otp.services';
import { sendOtp } from '../utils/sendOtp';
const router = Router();
...
2
votes
0
answers
89
views
Astro + S3 + CloudFront: Clicking navigation link causes redirect to wrong path (/WEBSITE/pricing)
I'm deploying an Astro static site to S3 and serving it via CloudFront. Here's my deploy script:
"deploy": "npm run build && aws s3 sync dist s3://mybucket/WEBSITE --delete"...
0
votes
1
answer
70
views
How can I dynamically generate load functions for multiple routes in SvelteKit without repeating code?
I have multiple routes that fetch data from different API endpoints, but the structure of the fetch logic is nearly identical. I want to avoid duplicating this logic across all +page.ts files.
I tried ...
0
votes
1
answer
47
views
middleware doesn't recognize session when using server actions
after some work i found out that when using server actions to hit some route handler the session will be undefined because server actions run on the server without a request context from the browser, ...
0
votes
1
answer
140
views
GCP load balancer url re-writing and backend-mapping not happening the way I'd expect
I am using a classic application load balancer with two backends. I want my main backend to handle most requests and my auth backend to handle requests to /auth/*. I've been playing around with ...
0
votes
0
answers
39
views
OpenTripPlanner returns invalid tripId values not matching the requested service date
I'm using OpenTripPlanner 2 (OTP2) as the backend for a JavaFX-based transit map application. The GTFS data is loaded correctly, and routing works, but I encountered a serious issue.
Problem:
When ...
0
votes
0
answers
34
views
Next.JS middleware & front-end cookie synchronization
My team and I are building a web app with Next.JS, and we are mainly working on Front-end. The back-end was already implemented with another language because it's shared with our mobile apps.
Now I'm ...
0
votes
1
answer
80
views
How to add a function to my routes in a php framework?
Currently my routes are defined as
['GET', '/user/create', UserController::class]
But because of this controller file is a mess with if 'route' => $this->method
I'm struggling to find a way to ...
1
vote
1
answer
212
views
Angular Library Routing Not Working When Used Inside Angular 19 App
I'm working on an Angular 19 app that uses a custom Angular library, and I'm having trouble getting the routing inside the library to work properly.
The app is a legacy app and all the components are ...
0
votes
0
answers
55
views
Issue with InteractiveServer in web app mixing Blazor, Razor and MVC pages in web app
I have .net 9 web app mixing Blazor, Razor and MVC pages. When I use URL with two segments, the InteractiveServer is not working.
Following code displays: Server | true
@page "/blazor"
@...
-1
votes
1
answer
76
views
Tests Do Not Detect Routes - Laravel
I created a route that functions OK, but my tests are unable to detect it. Since the test is of type feature, all Laravel features should be included.
I recently updated both my Composer and npm ...
0
votes
1
answer
112
views
route optimization api shipmentIndex undefined
I'm using the Route Optimization API, but I'm noticing that I'm not getting all my points and that the missing delivery doesn't have a shipmentIndex.
import { NextResponse } from 'next/server';
import ...
0
votes
0
answers
25
views
ASP.NET MVC Language coded url structure
My first goal is to get the id and code of the language when the user selects a language and keep it in the session. Because I will use the id for database queries and I want to be able to use the ...
1
vote
2
answers
73
views
Deployed app returns 404 instead redirect to specified component
I have configured my Angular 19 routes according to the angular.dev and it works as expected on localhost. However once I build and deploy my app behaviour of redirecting with wildcard is not working ...
0
votes
1
answer
96
views
Optional {locale} in routes messes up controller arguments (Laravel 11)
I have a project in laravel 11 and there are some issues with my config.
The site should support optional locale param to differentiate between default and custom language:
DE: https://example.com/...
0
votes
1
answer
51
views
Is my nested route configuration with authentication protection following best practices ? or anything i can do to improve for better practices [closed]
I've implemented a React application with React Router v6 featuring nested routes, authentication protection via AuthProvider and ProtectedRoute components, and various layout components. I'm ...
0
votes
0
answers
55
views
Why is my router-outlet not working when wrapped in a child component
In an angular 16 app I have a simple UI component which takes content and puts it into a draggable pane.
draggable-pane.component.html
<ion-apple-clips #paneContainer>
<ng-content></...
0
votes
1
answer
39
views
Unexpected Redirect to /home in Laravel Multi-Guard Auth - Route Not Working (302)
I'm facing an issue with my multi-guard authentication setup in Laravel involving impersonation. I have four guards defined: admin, distributor, customer, and user. My system allows a customer to ...
0
votes
1
answer
238
views
Hi i am using next.js (15.1.7) with react (19.0.0) for the file which is getting used for dynamic route when i create a build i get error
Here's my pacakge.json
{
"name": "complex-routing-app",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "...
0
votes
1
answer
76
views
Getting "Cannot GET /login" when accessing routed component in angular problem
I am trying to create a login/register for my Angular and spring project and I am having trouble routing my component. Whenever I go to localhost:4200/login, my login component does not get loaded up, ...