Quantcast
Channel: User mikyll98 - Stack Overflow
Browsing latest articles
Browse All 102 View Live
↧

Answer by mikyll98 for Flutter upgrade error: Unknown flutter tag

You need to call flutter upgrade from Flutter install directory.To find its location, you can use which command on Linux systems:mikyll@debian-EQPNRAP:~$ which...

View Article


Answer by mikyll98 for How to deactivate or override the Android "BACK"...

The selected answer is outdatedWillPopScope is now deprecated, and shouldn't be used anymore. Reference: Android Predictive BackTo support Android 14’s Predictive Back feature, a set of ahead-of-time...

View Article


Comment by mikyll98 on How can I install custom plugins in Kong using...

@Ôrel I don't know how, that's the issue :') Maybe I wasn't clear enough in my question

View Article

Answer by mikyll98 for Any way to detect SparcWorks on SunOS?

You could try to use both these macros:__SUNPRO_CC (for C++) or __SUNPRO_C (for C), which are macros typically defined by the SparcWorks compiler indicating the usage of Sun C/C++ compiler;__sun, which...

View Article

Kong Custom Plugin Development: is it possible to have a configuration field...

I'd like to know if it's possible to have a Kong custom plugin with a configuration field which can have one of these two different types: string or array. And in case it's possible, I'd like to know...

View Article


Answer by mikyll98 for Why isn't my Unity rotation check working?

I think the issue is in the last if condition: transform.rotation is aQuaternion,which is not directly comparable to the (I suppose) scalar value ofweapon.sweepingEdgeRange. Therefore, you should...

View Article

Image may be NSFW.
Clik here to view.

Answer by mikyll98 for Inspect Element Greyed out in Chrome

SolutionYou have to change the value of the Windows registry Software/Policies/Google/Chrome/DeveloperToolsDisabled from 1 to 0.NB: you need admin privileges to edit the registries.StepsCommand...

View Article

Comment by mikyll98 on Split string containing multiple jsons

@progNewbie I updated my answer (try putting the decoded output in a List<dynamic>)

View Article


Apisix on Kubernetes: is it possible to deploy Apisix without the Database...

TL;DRI'd like to know if it's possible to deploy Apisix on a Kubernetes cluster, without the Database support (etcd), via Helm.If it's possible, how do I need to configure the Helm chart values?Long...

View Article


Answer by mikyll98 for How to check if a regex string is PCRE-compliant?

Thanks to @InSync for the suggestion :) this gave me an insight on a possible solution.One can simply use a regex engine and pcall (~try-catch) the pattern creation block.Example using lrexlib-pcre...

View Article

How to check if a regex string is PCRE-compliant?

In Lua, is there a way to check if a string is a valid PCRE pattern?Examples:local function is_valid_regex(pattern) -- Check if the pattern is PCRE-compliantend-- Testprint(is_valid_regex(".*")) --...

View Article

Comment by mikyll98 on Kong API Gateway Open Source on docker with https

Have you tried adding the Kong HTTPS port to the admin listen environment variable? -e "KONG_ADMIN_LISTEN=0.0.0.0:8001, 0.0.0.0:8444 ssl"

View Article

Comment by mikyll98 on Kong API Gateway Open Source on docker with https

This. I think OP is overlooking some relevant information, because it's impossible to have the GUI not showing "Network Error" with that setup... Kong Manager Network Error

View Article


Comment by mikyll98 on Flutter commands is not working in my Windows 10

Please post code and errors as text, instead of images (see Why should I not upload images of code/data/errors?). What do you mean by "it is not running"? Is it stuck or does it return nothing?...

View Article

Comment by mikyll98 on...

I've tried reproducing your problem without success. I get the expected result (java.awt.Rectangle[x=0,y=0,width=1920,height=1080] and AffineTransform[[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]]) for both calls...

View Article


Comment by mikyll98 on I need to paste on x11 file

To extend what @Gerhardh said, if you write a "great question" (which means it's clear what the problem is, you don't omit important details, and is straightforward to reproduce) it's much more likely...

View Article

Answer by mikyll98 for how to use the APISIX to limit the upload file size

There are many methods to limit the size of requests in APISIX:using a built-in plugin, such as client-control;using APISIX configuration;making a custom plugin;Since you want to enable it on a...

View Article


Answer by mikyll98 for How to Upload a New Certificate to Kong Using decK?

When you use the declarative configuration, you must provide the ID along with certificate specifications.Example:certificates: - id: "my-certificate" cert: | -----BEGIN CERTIFICATE----- ...your...

View Article

Answer by mikyll98 for Integrate Python plugin in APISIX Instance

About the ErrorThe error you're facing, as stated in the log message, is due to bad indenting in the configuration file (config.yaml). Most likely you missed some space or tab, so you should look for...

View Article

Answer by mikyll98 for Kong request transformer - inject X-User-Id:...

You can't expect request-transformer plugin to magically✨ retrieve the JWT claims and store them in a header, that's just not what it does :)FactsAccording to the documentation page, you can use...

View Article

Comment by mikyll98 on Kong : {"message":"no Route matched with those values"}

Please report the exact steps you made to create the service and the route, or provide a MRE. Are Kong and the service running on Docker, are them standalone applications or something else? Is the...

View Article


Comment by mikyll98 on Kong Gateway: I got an error when I run docker-compose up

That doesn't seem to be an error, but a notice (globalpatches.lua), and as @AlexanderMashin said, you didn't include kong start in the docker run command

View Article


Comment by mikyll98 on Starlette/FastApi route path components with forward...

@hangc you need to include :path in the parameter, for it to work

View Article

Answer by mikyll98 for Apache APISIX in Standalone mode - route wildcards for...

Solution: radixtree_uri_with_parameterYou can enable router-radixtree with path parameters by setting apisix.router.http: radixtree_uri_with_parameter in conf/config.yaml:# [...]apisix: router: http:...

View Article

Kong Ingress Controller: How to remove a plugin entry from a configuration?

I'm learning Kong API Gateway, and I'm trying to configure it using the Kubernetes Ingress Controller.I've been able to add a service plugin, following this tutorial, but I cannot find anywhere how to...

View Article


Answer by mikyll98 for Docker compose for apisix, etcd, apisix-dashbaord

The error is in the file dashboard_conf/conf.yaml, specifically in this snippet: users: - username: admin - password: adminAppearently, this results in an empty list of users (see the configuration...

View Article

Comment by mikyll98 on apisix docker wont start

@user3090303 I'm glad to hear that :) if it helped solving your issue, please consider marking it as the accepted answer

View Article

Answer by mikyll98 for Prime Numbers In a given range in Java

As pointed out by Turamarth, you need to reset the flag at each iteration. I also suggest you to loop until i <= n2, otherwise you would miss the last number, and add an input check.public static...

View Article

Answer by mikyll98 for Flutter ThemeData: colorScheme is prioritized for...

MaterialStateProperty was deprecated after v3.19.0-0.3.pre.As noted in the breaking changes — see Breaking Changes | Rename MaterialState to WidgetState) — it has been renamed to WidgetStateProperty...

View Article



Comment by mikyll98 on How apisix disables proxy_buffering for a route

I'm also interested in this issue, could you provide a MRE? What did you test the buffering feature with?

View Article

Answer by mikyll98 for How to Externalize Lua Code in APISIX...

TL;DRYou can use loadfile() inside the serverless functions config parameter. This function allows you to load the content of a file, which you can call and execute afterwards, in case it's a...

View Article

Answer by mikyll98 for catch Android back button event on Flutter

WillPopScope is now deprecated, and shouldn't be used anymore. Reference: Android Predictive BackTo support Android 14’s Predictive Back feature, a set of ahead-of-time APIs have replaced just-in-time...

View Article

Answer by mikyll98 for apisix file logger, get body response in the log

You have to use $resp_body instead of $response_body.Example:"file-logger": {"path": "/usr/local/apisix/apisix_log/test.log", "log_format": {"ip_client": "$remote_addr","http_verb":...

View Article


Answer by mikyll98 for Getting 404 Error in Apache APISIX Docker container...

I'm pretty sure the problem is you are not passing the Host header.Your request should look like this:curl http://172.26.50.10:7011/api/cnam/test/18 -H "Host: 10.1.10.112"The host attribute in a route...

View Article

Comment by mikyll98 on Unable to construct Application instance: class...

Please do not post screenshots of code or errors, copy and paste it instead. Why should I not upload images of code/data/errors?

View Article

Answer by mikyll98 for Unable to load custom plugins in Apache Apisix

You're setting the plugin list for the dashboard but not for APISIX.You have to add the custom plugin in apisix_conf/config.yaml. Example:apisix: node_listen: 9080 # APISIX listening port enable_ipv6:...

View Article


APISIX cannot match routes containing %2F (encoded slash '/')

DisclaimerI'm tagging also NGiNX and OpenResty because I'm sure this issue is related to how NGiNX handles routes match, but I don't know if there's a better way to handle this, maybe via OpenResty's...

View Article


Answer by mikyll98 for APISIX Backup and Restore Steps 3.8.0 version

Typically you deploy APISIX in a Kubernetes cluster via Helm, so I suppose your setup is based on apisix/apisix (GitHub source) or bitnami/apisix (GitHub source), which are the most popular...

View Article

Answer by mikyll98 for Configure Multiple Global Rules in APISix Standalone Mode

From API7 Docs | Plugin Global Rules you can read:If the same plugin is configured in both objects, both instances of the plugin will be executed sequentially, rather than overwriting each other.I've...

View Article

Kong 502 Bad Gateway: "An invalid response was received from the upstream...

TL;DRI can't send HTTP request to local docker container (accessible via 127.0.0.1:4002) through Kong gateway.Kong Gateway components:Service test_service: url=http://127.0.0.1:4002;Route test_route:...

View Article
Browsing latest articles
Browse All 102 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>