text:
Getting DB login error when calling plugin-test

I am plagued by a problem:
When calling the plugin Testmdoules I always encounter a DB login problem:
pytest -v lemur/plugins/lemur_digicert/tests/test_digicert.py
gives (among others):
platform linux -- Python 3.7.7, pytest-6.0.2, py-1.9.0, pluggy-0.13.1 -- /opt/lemur/lemur/bin/python
cachedir: .pytest_cache
rootdir: /opt/lemur, configfile: setup.cfg
plugins: celery-4.4.2, Faker-4.1.3, requests-mock-1.8.0
collected 9 items
lemur/plugins/lemur_digicert/tests/test_digicert.py::test_determine_validity_years PASSED [ 11%]
lemur/plugins/lemur_digicert/tests/test_digicert.py::test_determine_end_date PASSED       [ 22%]
lemur/plugins/lemur_digicert/tests/test_digicert.py::test_map_fields_with_validity_years PASSED [ 33%]
lemur/plugins/lemur_digicert/tests/test_digicert.py::test_map_fields_with_validity_end_and_start PASSED [ 44%]
lemur/plugins/lemur_digicert/tests/test_digicert.py::test_map_cis_fields_with_validity_years ERROR [ 55%]
lemur/plugins/lemur_digicert/tests/test_digicert.py::test_map_cis_fields_with_validity_end_and_start ERROR [ 66%]
lemur/plugins/lemur_digicert/tests/test_digicert.py::test_signature_hash PASSED           [ 77%]
lemur/plugins/lemur_digicert/tests/test_digicert.py::test_issuer_plugin_create_certificate PASSED [ 88%]
lemur/plugins/lemur_digicert/tests/test_digicert.py::test_cancel_ordered_certificate PASSED [100%]
============================================ ERRORS =============================================
___________________ ERROR at setup of test_map_cis_fields_with_validity_years ___________________
Traceback (most recent call last):
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 2285, in _wrap_pool_connect
return fn()
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 363, in connect
return _ConnectionFairy._checkout(self)
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 773, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 492, in checkout
rec = pool._do_get()
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/pool/impl.py", line 139, in _do_get
self.dec_overflow()
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/util/langhelpers.py", line 69, in exit
exc_value, with_traceback=exc_tb,
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/util/compat.py", line 178, in raise
raise exception
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/pool/impl.py", line 136, in _do_get
return self._create_connection()
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 308, in _create_connection
return _ConnectionRecord(self)
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 437, in init
self.__connect(first_connect_check=True)
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 657, in _connect
pool.logger.debug("Error on connect(): %s", e)
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/util/langhelpers.py", line 69, in exit
exc_value, with_traceback=exc_tb,
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/util/compat.py", line 178, in raise
raise exception
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 652, in __connect
connection = pool._invoke_creator(self)
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 490, in connect
return self.dbapi.connect(*cargs, **cparams)
File "/opt/lemur/lemur/lib/python3.7/site-packages/psycopg2/init.py", line 127, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: FATAL:  password authentication failed for user "lemur"
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/lemur/lemur/tests/conftest.py", line 78, in db
_db.drop_all()
File "/opt/lemur/lemur/lib/python3.7/site-packages/flask_sqlalchemy/init.py", line 1047, in drop_all
self._execute_for_all_tables(app, bind, 'drop_all')
File "/opt/lemur/lemur/lib/python3.7/site-packages/flask_sqlalchemy/init.py", line 1031, in _execute_for_all_tables
op(bind=self.get_engine(app, bind), **extra)
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/sql/schema.py", line 4347, in drop_all
ddl.SchemaDropper, self, checkfirst=checkfirst, tables=tables
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 2057, in _run_visitor
with self._optional_conn_ctx_manager(connection) as conn:
File "/usr/local/lib/python3.7/contextlib.py", line 112, in enter
return next(self.gen)
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 2049, in _optional_conn_ctx_manager
with self._contextual_connect() as conn:
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 2251, in _contextual_connect
self._wrap_pool_connect(self.pool.connect, None),
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 2289, in wrap_pool_connect
e, dialect, self
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1555, in handle_dbapi_exception_noconnection
sqlalchemy_exception, with_traceback=exc_info[2], from=e
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/util/compat.py", line 178, in raise
raise exception
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 2285, in _wrap_pool_connect
return fn()
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 363, in connect
return _ConnectionFairy._checkout(self)
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 773, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 492, in checkout
rec = pool._do_get()
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/pool/impl.py", line 139, in _do_get
self.dec_overflow()
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/util/langhelpers.py", line 69, in exit
exc_value, with_traceback=exc_tb,
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/util/compat.py", line 178, in raise
raise exception
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/pool/impl.py", line 136, in _do_get
return self._create_connection()
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 308, in _create_connection
return _ConnectionRecord(self)
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 437, in init
self.__connect(first_connect_check=True)
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 657, in _connect
pool.logger.debug("Error on connect(): %s", e)
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/util/langhelpers.py", line 69, in exit
exc_value, with_traceback=exc_tb,
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/util/compat.py", line 178, in raise
raise exception
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 652, in __connect
connection = pool._invoke_creator(self)
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/engine/strategies.py", line 114, in connect
return dialect.connect(*cargs, **cparams)
File "/opt/lemur/lemur/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 490, in connect
return self.dbapi.connect(*cargs, **cparams)
File "/opt/lemur/lemur/lib/python3.7/site-packages/psycopg2/init.py", line 127, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) FATAL:  password authentication failed for user "lemur"
(Background on this error at: http://sqlalche.me/e/e3q8)
<...further similar messages from other modules ommitted)

your db might be busted
https://github.com/Netflix/lemur/blob/master/Makefile#L41-L49
To be able to run all tests via make test you need to install Postgres locally. make reset-db should ideally create the DB environment required for the testing, but is it currently assumed Postgres is installed and has the superuser lemur.
# macOS
brew services start postgresql
psql lemur -c "CREATE USER lemur with PASSWORD 'lemur';"
psql lemur -c "ALTER USER lemur with superuser;"
psql lemur -c "create extension pg_trgm;"

# Ubuntu
service postgresql status # Verify postgresql is running
service postgresql start # To start if it not running
sudo -u postgres -i
createdb lemur
psql
CREATE USER lemur with PASSWORD 'lemur';
ALTER USER lemur with superuser;
create extension pg_trgm;

@hosseinsh Thank you for the explanation. With the default password it works !

authors: hosseinsh sirferl

repo: Netflix/lemur


text:
Use cab_compliant option instead of authority name list

Removed PUBLIC_CA_AUTHORITY_NAMES and instead using option cab_compliant for authorities ( introduced in #3188 )

Coverage increased (+0.02%) to 58.677% when pulling 32c0c5fb003cbf2f59486cb9b3bc8e9c1b7f0a0b on charhate:cab_compliant into cd29b2b870ae7bc89be5bf92491cea0641b48b1b on Netflix:master.

source: gharchive/pull-request

authors: charhate coveralls

license_type: permissive

license_source: bigquery


text:
Support for SNS Expiration Notifications

This change adds support for expiration notifications sent via AWS SNS. Topics are configured on a per-notification basis. Owner/security notifications will still be sent via email.

Coverage increased (+0.4%) to 59.595% when pulling 4f552cb636252c77054879cc736555321084ff8c on jtschladen:sns into ea33fe997941cd3dd208a7b82a75f58a62ad4188 on Netflix:master.

authors: coveralls jtschladen


text:
Fixing two policy diff cases.

If provided with a string, json.loads() is used, which often means
strings in the extracted structure are of type unicode.  If the same
structure is also provided as a dict, there will often be problems where
a str and a unicode are seen as different objects.  To fix, we simply dump
any datastructures and read them back in with the json lib.

The lib was not properly handling null values and was ignoring them entirely
in the output.

Coverage decreased (-0.03%) to 51.67% when pulling 49f7cabdd4af51368e1283c46eb14f9395194a4f on policydiff_fix into a088c7ecfc66ad9b82902ace5f91650c284cba58 on develop.

authors: coveralls monkeysecurity


text:
Preconditions takes a formatted string

Preconditions excepts a formatted string so that BasicTag will not create a new string unless there is an exception

LGTM. Thanks!

authors: brharrington robertroeser

repo: Netflix/servo


text:
Use different GRPC Channel per client connector

So we are not limited to connecting always to the same server type. For example we may connect to TitusFederation to get jobs/tasks, but when fetching agent data we have to call TitusGateway directly as the agent management API is not exposed via TitusFederation.

probably worth noting that this will only work for single-cell stacks

authors: fabiokung tbak

repo: Netflix/titus-control-plane

license_source: github-api


text:
411 Content Length required issue

For some reason, my home ISP throws 411 Content length required error when I try to post something to the cloud rest endpoint thru locally running zuul proxy.
So I tried setting content-length header manually from a custom filter like:
ctx.addZuulRequestHeader("content-length", ctx.getRequest().getHeader("Content-Length"));
But it throws
com.netflix.zuul.exception.ZuulException: Forwarding error...
Caused by: org.apache.http.ProtocolException: Content-Length header already present
    at org.apache.http.protocol.RequestContent.process(RequestContent.java:95)
    at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:131)
    at org.apache.http.protocol.HttpRequestExecutor.preProcess(HttpRequestExecutor.java:165)
    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:485)
    at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)

I'm using Zuul 1.0.28. Am I doing anything wrong? I'm not even sure if the original problem would disappear if I manage to set this header manually. Any suggestion, anything would be very much appreciated.
p.s: ISP allows my post request when its done thru Feign.

You should not need to set the Content-Length header in a filter because apache httpclient should be setting it itself. And as you found out, it will throw an error if you try to set it yourself.
So we need to find out if for some reason the header is not getting sent from Zuul. So can you try either:

Enable apache httpclient debug logging (log4j.logger.org.apache.http=DEBUG - https://hc.apache.org/httpcomponents-client-ga/logging.html), which will then log exactly what headers are being sent over the wire. And therefore see if Content-Length is being sent.
Configure zuul to proxy to http://httpbin.org/post and then see if it is receiving the Content-Length header.

I am getting this error too with the latest zuul com.netflix.zuul:zuul-core:1.2.0, with the scripts in master. But it only happens when proxying under certain conditions. @beku8 did you get to solve it?

@kerumai Thanks for the tip. I'm using spring cloud, which provides a "trace" endpoint.
Here's the request from browser to the server:
info: {
  method: "PUT",
  path: "/api/core/rest/location/amarbayasgalant",
  headers: {
    request: {
      host: "localhost:9000",
      connection: "keep-alive",
      content-length: "663",
      pragma: "no-cache",
      cache-control: "no-cache",
      authorization: "...authorization omitted",
      accept: "application/json, text/plain, */*",
      origin: "http://localhost:9000",
      user-agent: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.63 Safari/537.36",
      content-type: "application/json;charset=UTF-8",
      referer: "http://localhost:9000/manage/mn/reference/location",
      accept-encoding: "gzip, deflate, sdch",
      accept-language: "en-US,en;q=0.8,bg;q=0.6,ru;q=0.4",
      cookie: "....cookie values omitted..."
    },
    response: {...response omitted...}
  }
}

Well it this point browser sends the content-length properly, but from zuul server to the microservice, content-length is not being sent.
info: {
  method: "PUT",
  path: "/rest/location/amarbayasgalant",
  query: "?_t=mn",
  remote: true,
  proxy: "api/core",
  headers: {
    request: {
      accept: "application/json, text/plain, */*",
      origin: "http://localhost:9000",
      user-agent: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.63 Safari/537.36",
      content-type: "application/json;charset=UTF-8",
      referer: "http://localhost:9000/manage/mn/reference/location",
      accept-language: "en-US,en;q=0.8,bg;q=0.6,ru;q=0.4",
      authorization: "...Bearer token omitted",
      x-forwarded-host: "localhost",
      x-forwarded-proto: "http",
      x-forwarded-prefix: "/api/core",
      x-forwarded-port: "9000",
      x-forwarded-for: "127.0.0.1",
      Accept-Encoding: "gzip"
    },
    response: {
      Server: "httppd",
      Date: "Wed, 15 Jun 2016 11:30:35 GMT",
      Content-Type: "text/html",
      Content-Length: "3892",
      Connection: "close",
      status: "411"
    }
  },
  body: "... json body omitted"
}

I'm using spring cloud project which configures zuul under the hood, its probably a problem with spring cloud?

I just created a very simple demo app https://github.com/beku8/zuul-411 here, which just posts empty body to a httpbin.org using zuul. Simple spring-boot/cloud app you can run maven or eclipse. if you checkout out the /trace endpoint: same issue, no content-length being set.
I think because most of the ISPs don't "require" content-length, this issue was not looked at before.

Thanks for taking the time to make that https://github.com/beku8/zuul-411 repo @beku8 . That made it a lot easier for me to debug.
But when I run it, the Content-Type header does get sent according to httpbin. Here's the output from me doing a curl against your zuul-411 project:
$ curl -X PUT --data-ascii "blah" -H "Content-Type: text/plain" http://localhost:8080/api/httpbin/put
{
  "args": {},
  "data": "blah",
  "files": {},
  "form": {},
  "headers": {
    "Accept": "*/*",
    "Accept-Encoding": "gzip",
    "Content-Length": "4",
    "Content-Type": "text/plain",
    "Host": "httpbin.org",
    "User-Agent": "curl/7.48.0",
    "X-Forwarded-Host": "localhost",
    "X-Forwarded-Prefix": "/api/httpbin"
  },
  "json": null,
  "origin": "0:0:0:0:0:0:0:1, 50.152.174.195",
  "url": "http://localhost/put"
}

I think the reason that the Content-Length is not being shown in the spring cloud trace endpoint, is because at the point trace records the request - the header is not yet added - it only gets added later on once httpclient start processing it (and therefore hidden from the Zuul and Spring Cloud code).
Also, when I ran your sample app, I got the wire-level logging in stdout, which shows exactly what httpclient has sent over the wire too, eg:
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.headers                  : http-outgoing-3 >> PUT /put HTTP/1.1
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.headers                  : http-outgoing-3 >> user-agent: curl/7.48.0
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.headers                  : http-outgoing-3 >> accept: */*
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.headers                  : http-outgoing-3 >> content-type: text/plain
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.headers                  : http-outgoing-3 >> x-forwarded-host: localhost
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.headers                  : http-outgoing-3 >> x-forwarded-proto: http
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.headers                  : http-outgoing-3 >> x-forwarded-prefix: /api/httpbin
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.headers                  : http-outgoing-3 >> x-forwarded-port: 8080
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.headers                  : http-outgoing-3 >> x-forwarded-for: 0:0:0:0:0:0:0:1
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.headers                  : http-outgoing-3 >> Accept-Encoding: gzip
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.headers                  : http-outgoing-3 >> Content-Length: 4
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.headers                  : http-outgoing-3 >> Host: httpbin.org
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.headers                  : http-outgoing-3 >> Connection: Keep-Alive
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.wire                     : http-outgoing-3 >> "PUT /put HTTP/1.1[\r][\n]"
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.wire                     : http-outgoing-3 >> "user-agent: curl/7.48.0[\r][\n]"
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.wire                     : http-outgoing-3 >> "accept: */*[\r][\n]"
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.wire                     : http-outgoing-3 >> "content-type: text/plain[\r][\n]"
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.wire                     : http-outgoing-3 >> "x-forwarded-host: localhost[\r][\n]"
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.wire                     : http-outgoing-3 >> "x-forwarded-proto: http[\r][\n]"
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.wire                     : http-outgoing-3 >> "x-forwarded-prefix: /api/httpbin[\r][\n]"
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.wire                     : http-outgoing-3 >> "x-forwarded-port: 8080[\r][\n]"
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.wire                     : http-outgoing-3 >> "x-forwarded-for: 0:0:0:0:0:0:0:1[\r][\n]"
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.wire                     : http-outgoing-3 >> "Accept-Encoding: gzip[\r][\n]"
2016-06-21 23:17:08.407 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.wire                     : http-outgoing-3 >> "Content-Length: 4[\r][\n]"
2016-06-21 23:17:08.408 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.wire                     : http-outgoing-3 >> "Host: httpbin.org[\r][\n]"
2016-06-21 23:17:08.408 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.wire                     : http-outgoing-3 >> "Connection: Keep-Alive[\r][\n]"
2016-06-21 23:17:08.408 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.wire                     : http-outgoing-3 >> "[\r][\n]"
2016-06-21 23:17:08.408 DEBUG 26197 --- [nio-8080-exec-9] org.apache.http.wire                     : http-outgoing-3 >> "blah"

So could you if the Content-Length (or if maybe a "Transfer-Encoding: chunked" header) is appearing in the org.apache.http.wire logging when you run your app through your ISP?

Hello @kerumai thanks for your time. You are right, trace endpoint was not accurate. There was no issue proxying to httpbin.org. However there was an issue with the between zuul & eureka clients.
This turned out to be an issue not related to zuul per se, but a problem jersey library. com.sun.jersey.core.impl.provider.entity.InputStreamProvider.
    @Override
    public long getSize(InputStream t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) {
        if (t instanceof ByteArrayInputStream)
            return ((ByteArrayInputStream)t).available();
        else
            return -1;
    }

t is an instance of class com.netflix.zuul.http.ServletInputStreamWrapper not ByteArrayInputStream, therefore it returns -1.
Thanks again for your advice how to debug, it helped to pinpoint the issue. Spring cloud had a way around it and committed a fix.

@beku8 do you have a link to the fix/workaround, or how can we pull it into our project?
We still keep getting "Transfer-Encoding: chunked" with spring-cloud-netflix:1.3.0.M1

It turned out to be a spring cloud issue
https://github.com/spring-cloud/spring-cloud-netflix/issues/1042
On Tue, Jan 31, 2017 at 7:42 PM, mjsobremonte notifications@github.com
wrote:

@beku8 https://github.com/beku8 do you have a link to the
fix/workaround, or how can we pull it into our project?
We still keep getting "Transfer-Encoding: chunked" with
spring-cloud-netflix:1.3.0.M1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Netflix/zuul/issues/223#issuecomment-276342423, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABCnoSn6CTjVqh7oJlcGSz4wvelvAHEAks5rXx4tgaJpZM4Ij-SH
.

source: gharchive/issue

authors: beku8 kerumai mjsobremonte txomon

repo: Netflix/zuul


text:
Plexon overflow fix

Fix #1366

heroic!

Tests will fail until #1494 is merged.

@h-mayorquin  : I propose to merge this because the failing is because plexon2 and here you fix plexon1

It seems that we just needed to merge the latest changes from master. I don't see the button in the web interface, do you guys see it? I did not know that was a collaborator perk.

It seems that we just needed to merge the latest changes from master. I don't see the button in the web interface, do you guys see it? I did not know that was a collaborator perk.

It's not a perk. I think it is something you have to configure. I never see it on Neo, but I don't know how to configure it.... I always just do it manually.

Well, so it was that, it can be merge now : )

authors: h-mayorquin samuelgarcia zm711

repo: NeuralEnsemble/python-neo


text:
fix some python 3 incompatibilities in axonio

Some values need to be converted to ints in order to work as indices
Some strings need to have .decode() called, not str(), or they have a spurious "b" at the start.

Coverage remained the same at 53.227% when pulling 9d09df4dfd7a66bd5502f69e10ffc5f57a26da7d on melizalab:master into 799fc69d8bf06242ca796372662d1beb1f674ddd on NeuralEnsemble:master.

@dmezila Please could you add your name and affiliation to doc/source/authors.rst

Sure, will do.

authors: apdavison coveralls dmeliza


text:
Example issue team 11

This is an example issue for a class

hello world.

authors: mitharuka phd-dtchen

license: MIT


text:
trying to solve problems

am i doing this right?

Yeah - this is it!

authors: arokem hughesdy


text:
Create new content

We've included what we think is a basic, yet thorough introduction to EEG in EEG 101. However, we're always open to new content and remixing of old stuff.
The app is composed of scenes, each of which has a graphic (either an image, animation, or EEG visualization) and one to several blocks of writing. Each block of writing has a subtitle and some text. Swiping to the left advances to the next block (graphic up above is unchanged). High-level info can be linked to with pop-up windows triggered by selecting certain highlighted sections of text
Here's an example:

Title: Introduction
Subtitle: Your brain produces electricity
Text: Using the EEG...
Pop-up link: EEG

Selecting the pop-up link leads to something like this. This is where we can include 'undergraduate-level' information:

All current lesson text for the app can be found in this document

Here's a template for a new scene:

# Title

> Description of what image or graphic might be present. Current EEG options are raw EEG, filtered EEG, or PSD graph.

---
## Subtitle 1

Body text for first block. !This text will lead to pop-up 1!

> Pop-up 1 Title
> Pop 1 body text explaining something

---
## Subtitle 2

Body text for second block. !This text will lead to pop-up 2!. We can create as many swipeable blocks and pop-ups as are necessary

> Pop-up 2 Title
> We can also add images to pop-ups. They'll go above the title
----

ERPs will be next, closing this for now

license: isc


text:
[Enhancement]: Change "File Path" header to "Path to SpikeGLX ap.bin or lf.bin file"

What would you like to see added to the NWB GUIDE?
On the source data page for SpikeGLX Converter and Recording, there is a description below the file selector box:

In my personal experience and experience observing the user tests, people click the box and are briefly confused before reading the smaller gray text below the box (and sometimes they don't even read that text - the gray makes it look like it is not particularly important and the fact that it is after the box suggests it is not relevant to the action of clicking the box). The headers "Folder Path" and "File Path" are generic and not very useful. I suggest that if the description exists, it replaces the header instead of being text after the box, or there is a new field per interface that provides a more descriptive replacement of the header. This affects only the handful of interfaces that have a description.
Do you have any interest in helping implement the feature?
No.
Code of Conduct
Yes
Did you confirm this feature was not already reported?
Yes

In general, I wonder whether the gray description should be moved above the text box / input field.

These were all updated on the NeuroConv side

authors: CodyCBakerPhD rly

repo: NeurodataWithoutBorders/nwb-guide


text:
fix: parsing success/error reponse version field fixed

Hi, thank you for your great package!
I've build the example app and have got an error in success response parser. The version field which comes from API is now integer and not String.
Because we don't really need that field I've just used toString() method instead of changing types of the response

Hello! LGTM. I will merge it and update the version and changelog accordingly

authors: NedoPrograMax OlegNovosad

repo: Newgarden-Solutions/liqpay


text:
Help I dont get why this is not working..

I dont udnerstand... It tells me no element was found.. But in my Controller i have:
(function(angular) {
  var app = angular.module('ForumApp');

  app.controller('authDescCtrl', ["$scope", "$mdDialog", "$state", "$firebaseObject","refService","currentAuth",authDescCtrl])

  function authDescCtrl($scope, $mdDialog, $state, $firebaseObject,refService,currentAuth){

      $scope.topic = $firebaseObject(refService.ref().child("Topics"))

    $scope.goToPerson = function(person, event) {
      $mdDialog.show(
        $mdDialog.alert()
        .title('Navigating')
        .textContent('Inspect ' + person)
        .ariaLabel('Person inspect demo')
        .ok('Neat!')
        .targetEvent(event)
      );
    };

    $scope.goToTopic = function(avatar, date, email, title, uid, username, value) {
      $state.go("authHome.topic", {
        "AVATAR": avatar,
        "DATE": date,
        "EMAIL": email,
        "TITLE": title,
        "UID": uid,
        "USERNAME": username,
        "VALUE": value
      })

    }

  }

  new SimpleMDE({
			element: document.getElementById("demo2"),
			spellChecker: true,
			autosave: {
				enabled: true,
				unique_id: "demo2",
		},
	});

})(angular);

And in my HTML I have:

  <head>
	<link rel="stylesheet" type="text/css" href="stylesheets/normalize.css" media="screen">
	<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
  </head>
  <body>

<textarea id="demo2">
# This one autosaves!
By default, it saves every 10 seconds, but this can be changed. When this textarea is included
in a form, it will automatically forget the saved value when the form is submitted.
</textarea>

  </body>

And ofcourse included the stuff in index.html.. Im confused.
It would be so awesome if we can talk about it here: https://ide.c9.io/amanuel2/fourm2 ... The project im working on is there, and yes just quickly sign up to cloud9 if you didnt with your git... or google, etc..
Im putting it in a ui-view... AngularJS
http://stackoverflow.com/questions/37399541/element-not-found

Nvm solved it

repo: NextStepWebs/simplemde-markdown-editor

license: mit


text:
Curl rpc commands give empty response

Im not sure if this is a bug, or if external RPC calls have been removed in favor of the new API interface being implemented, but I have run into an issue.
OS Info
Ubuntu 18.04, and 16.04
nexus LLL-TAO  master repo 3.0.4rc3
Background
Most legacy wallets, including bitcoin, I can use an external source (such as curl) to access the rpc interface commands like dumpprivkey, getinfo, etc, without having to call the actual nexus binary with ./nexus. This is used often in pool software frontends and other web based applications like block explorers.
My Goal
Im attempting to add sk1024 algorithm into "Node-Open-Mining-Portal" open source pool software to allow community members to run their own pools. ( I have already spoken with multiple team members about this goal) After which I will attempt to add it to the popular YIIMP pool software aswell for further mining decentralization.
The Issue and replicating it

In .Nexus/nexus.conf set "llpallowip=127.0.0.1:9325", "mining=1", "daemon=1", "server=1"
Run the LLL-TAO Linux core and allow to sync.
attempt a basic curl connection "curl -v http://RPCUSER:RPCPASS@127.0.0.1:9325" and get:
`

Trying 127.0.0.1...
Connected to 127.0.0.1 (127.0.0.1) port 9325 (#0)
Server auth using Basic with user "x"  <---- changed for posting
GET / HTTP/1.1
Host: 127.0.0.1:9325
Authorization: Basic x   <---- changed for posting
User-Agent: curl/7.47.0
Accept: /
Empty reply from server
Connection #0 to host 127.0.0.1 left intact
curl: (52) Empty reply from server
`

Also tried the standard:
curl --data-binary '{"jsonrpc":"1.0","id":"curltext","method":"getinfo","params":[]}' -H 'content-type:text/plain;' http://RPCUSER:RPCPASS@127.0.0.1:9325

when running the frontend of Node-Open-Mining-Portal I am getting these errors due to the blank response from the nexus core daemon:

2019-08-16 19:36:49 [Website]       [nexus] Could not dumpprivkey for nexus {"type":"request error","message":"socket hang up"}
2019-08-16 19:36:49 [Payments]      [nexus] Error with payment processing daemon {"type":"request error","message":"socket hang up"}
2019-08-16 19:37:20 [Pool]  [nexus] (Thread 1) Could not start pool, error with init batch RPC call: {"type":"request error","message":"socket hang up"}
2019-08-16 19:37:21 [Pool]  [nexus] (Thread 2) Could not start pool, error with init batch RPC call: {"type":"request error","message":"socket hang up"}

Closing, user error...

repo: Nexusoft/LLL-TAO


text:
Let's encrypt auto generate certificate does not work

Checklist

Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?

Yes

Are you sure you're not using someone else's docker image?

Yes

Have you searched for similar issues (both open and closed)?

Yes

Describe the bug
When creating a certificate with Let's encrypt the following invalid operation is thrown
Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-12" --agree-tos --authenticator webroot --email "h@gmail.com" --preferred-challenges "dns,http" --domains "blabla.tk"
Saving debug log to /var/log/letsencrypt/letsencrypt.log
An unexpected error occurred:
OSError: [Errno 95] Operation not supported: '../../archive/npm-12/cert1.pem' -> '/etc/letsencrypt/live/npm-12/cert.pem'
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

    at ChildProcess.exithandler (node:child_process:399:12)
    at ChildProcess.emit (node:events:526:28)
    at maybeClose (node:internal/child_process:1092:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)

Nginx Proxy Manager Version
v2.9.18
To Reproduce
Steps to reproduce the behavior:

Go to 'SSL Certificates'
Click on 'Add SSL Certificate'
Fill information
See error

Expected behavior
To create an ssl certificate
Screenshots

Operating System
given image from docker compose

confirmed on my end too

I am having a similar issue here. I could create a cert using udm-le.sh, and then pull from UDM Pro to my NPM and it worked. But I can't get CloudFlare DNS Challenge to work in NPM.
`Error: Command failed: pip install certbot-dns-cloudflare==$(certbot --version | grep -Eo '0-9+') cloudflare
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [124 lines of output]
Collecting setuptools!=60.9.0,>=40.6.0
Using cached setuptools-65.3.0-py3-none-any.whl (1.2 MB)
Collecting wheel
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting cffi>=1.12
Downloading cffi-1.15.1.tar.gz (508 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 508.5/508.5 KB 3.2 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting setuptools-rust>=0.11.4
Downloading setuptools_rust-1.5.2-py3-none-any.whl (23 kB)
Collecting pycparser
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 KB 1.7 MB/s eta 0:00:00
Collecting typing-extensions>=3.7.4.3
Downloading typing_extensions-4.3.0-py3-none-any.whl (25 kB)
Collecting semantic-version<3,>=2.8.2
Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Building wheels for collected packages: cffi
Building wheel for cffi (setup.py): started
Building wheel for cffi (setup.py): finished with status 'error'
error: subprocess-exited-with-error
    × python setup.py bdist_wheel did not run successfully.
    │ exit code: 1
    ╰─> [36 lines of output]
        running bdist_wheel
        running build
        running build_py
        creating build
        creating build/lib.linux-armv7l-3.7
        creating build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi
        running build_ext
        building '_cffi_backend' extension
        creating build/temp.linux-armv7l-3.7
        creating build/temp.linux-armv7l-3.7/c
        arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o
        c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
         #include
                  ^~~~~~~~~~
        compilation terminated.
        error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
        [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for cffi
    Running setup.py clean for cffi
  Failed to build cffi
  Installing collected packages: wheel, typing-extensions, setuptools, semantic-version, pycparser, setuptools-rust, cffi
    Running setup.py install for cffi: started
    Running setup.py install for cffi: finished with status 'error'
    error: subprocess-exited-with-error

    × Running setup.py install for cffi did not run successfully.
    │ exit code: 1
    ╰─> [36 lines of output]
        running install
        running build
        running build_py
        creating build
        creating build/lib.linux-armv7l-3.7
        creating build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi
        running build_ext
        building '_cffi_backend' extension
        creating build/temp.linux-armv7l-3.7
        creating build/temp.linux-armv7l-3.7/c
        arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o
        c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
         #include
                  ^~~~~~~~~~
        compilation terminated.
        error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
        [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: legacy-install-failure

  × Encountered error while trying to install package.
  ╰─> cffi

  note: This is an issue with the package mentioned above, not pip.
  hint: See above for output from the failure.
  WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available.
  You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
at ChildProcess.exithandler (node:child_process:399:12)
at ChildProcess.emit (node:events:526:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)`

Are you using Clouflare Dynamic DNS ?

No. I was using the DNS Challenge with the Authentication token.
Sent from Yahoo Mail for iPhone
On Sunday, September 25, 2022, 3:45 AM, Anh Hoang Tuan @.***> wrote:
Are you using Clouflare Dynamic DNS ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

I am having a similar issue here. I could create a cert using udm-le.sh, and then pull from UDM Pro to my NPM and it worked. But I can't get CloudFlare DNS Challenge to work in NPM.
`Error: Command failed: pip install certbot-dns-cloudflare==$(certbot --version | grep -Eo '0-9+') cloudflare error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [124 lines of output] Collecting setuptools!=60.9.0,>=40.6.0 Using cached setuptools-65.3.0-py3-none-any.whl (1.2 MB) Collecting wheel Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB) Collecting cffi>=1.12 Downloading cffi-1.15.1.tar.gz (508 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 508.5/508.5 KB 3.2 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting setuptools-rust>=0.11.4 Downloading setuptools_rust-1.5.2-py3-none-any.whl (23 kB) Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 KB 1.7 MB/s eta 0:00:00 Collecting typing-extensions>=3.7.4.3 Downloading typing_extensions-4.3.0-py3-none-any.whl (25 kB) Collecting semantic-version<3,>=2.8.2 Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Building wheels for collected packages: cffi Building wheel for cffi (setup.py): started Building wheel for cffi (setup.py): finished with status 'error' error: subprocess-exited-with-error
    × python setup.py bdist_wheel did not run successfully.
    │ exit code: 1
    ╰─> [36 lines of output]
        running bdist_wheel
        running build
        running build_py
        creating build
        creating build/lib.linux-armv7l-3.7
        creating build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi
        running build_ext
        building '_cffi_backend' extension
        creating build/temp.linux-armv7l-3.7
        creating build/temp.linux-armv7l-3.7/c
        arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o
        c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
         #include
                  ^~~~~~~~~~
        compilation terminated.
        error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
        [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for cffi
    Running setup.py clean for cffi
  Failed to build cffi
  Installing collected packages: wheel, typing-extensions, setuptools, semantic-version, pycparser, setuptools-rust, cffi
    Running setup.py install for cffi: started
    Running setup.py install for cffi: finished with status 'error'
    error: subprocess-exited-with-error

    × Running setup.py install for cffi did not run successfully.
    │ exit code: 1
    ╰─> [36 lines of output]
        running install
        running build
        running build_py
        creating build
        creating build/lib.linux-armv7l-3.7
        creating build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi
        running build_ext
        building '_cffi_backend' extension
        creating build/temp.linux-armv7l-3.7
        creating build/temp.linux-armv7l-3.7/c
        arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o
        c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
         #include
                  ^~~~~~~~~~
        compilation terminated.
        error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
        [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: legacy-install-failure

  × Encountered error while trying to install package.
  ╰─> cffi

  note: This is an issue with the package mentioned above, not pip.
  hint: See above for output from the failure.
  WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available.
  You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
at ChildProcess.exithandler (node:child_process:399:12)
at ChildProcess.emit (node:events:526:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)`

Your problem is related to this issue https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1769
downgrade your NginxProxyManager and u ll be able to work with certs

I think mine is related to #2190, actually. Apologies for the confusion!

I am having a similar issue here. I could create a cert using udm-le.sh, and then pull from UDM Pro to my NPM and it worked. But I can't get CloudFlare DNS Challenge to work in NPM.
`Error: Command failed: pip install certbot-dns-cloudflare==$(certbot --version | grep -Eo '0-9+') cloudflare error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [124 lines of output] Collecting setuptools!=60.9.0,>=40.6.0 Using cached setuptools-65.3.0-py3-none-any.whl (1.2 MB) Collecting wheel Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB) Collecting cffi>=1.12 Downloading cffi-1.15.1.tar.gz (508 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 508.5/508.5 KB 3.2 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting setuptools-rust>=0.11.4 Downloading setuptools_rust-1.5.2-py3-none-any.whl (23 kB) Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 KB 1.7 MB/s eta 0:00:00 Collecting typing-extensions>=3.7.4.3 Downloading typing_extensions-4.3.0-py3-none-any.whl (25 kB) Collecting semantic-version<3,>=2.8.2 Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Building wheels for collected packages: cffi Building wheel for cffi (setup.py): started Building wheel for cffi (setup.py): finished with status 'error' error: subprocess-exited-with-error
    × python setup.py bdist_wheel did not run successfully.
    │ exit code: 1
    ╰─> [36 lines of output]
        running bdist_wheel
        running build
        running build_py
        creating build
        creating build/lib.linux-armv7l-3.7
        creating build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi
        running build_ext
        building '_cffi_backend' extension
        creating build/temp.linux-armv7l-3.7
        creating build/temp.linux-armv7l-3.7/c
        arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o
        c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
         #include
                  ^~~~~~~~~~
        compilation terminated.
        error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
        [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for cffi
    Running setup.py clean for cffi
  Failed to build cffi
  Installing collected packages: wheel, typing-extensions, setuptools, semantic-version, pycparser, setuptools-rust, cffi
    Running setup.py install for cffi: started
    Running setup.py install for cffi: finished with status 'error'
    error: subprocess-exited-with-error

    × Running setup.py install for cffi did not run successfully.
    │ exit code: 1
    ╰─> [36 lines of output]
        running install
        running build
        running build_py
        creating build
        creating build/lib.linux-armv7l-3.7
        creating build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_gen.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/model.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/error.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/pkgconfig.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/commontypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cparser.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/__init__.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/lock.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/recompiler.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/api.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/verifier.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/ffiplatform.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_include.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/parse_c_type.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_embedding.h -> build/lib.linux-armv7l-3.7/cffi
        copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-3.7/cffi
        running build_ext
        building '_cffi_backend' extension
        creating build/temp.linux-armv7l-3.7
        creating build/temp.linux-armv7l-3.7/c
        arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.7/c/_cffi_backend.o
        c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
         #include
                  ^~~~~~~~~~
        compilation terminated.
        error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
        [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: legacy-install-failure

  × Encountered error while trying to install package.
  ╰─> cffi

  note: This is an issue with the package mentioned above, not pip.
  hint: See above for output from the failure.
  WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available.
  You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
at ChildProcess.exithandler (node:child_process:399:12)
at ChildProcess.emit (node:events:526:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)`

Your problem is related to this issue #1769
downgrade your NginxProxyManager and u ll be able to work with certs

Any guidance on how to downgrade NPM when it is being used as a docker on unRaid?

repo: NginxProxyManager/nginx-proxy-manager


text:
ApplyTemplate

Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with MINIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file?
[ ] If applicable, have you updated the NOTICE file?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

@calebj With this merged into your PR you will see the failure and we can document it.

GitHub isn't seeing the cherry-pick, but I've added this to the branch.

authors: calebj phrocker

repo: NiFiLocal/nifi-minifi-cpp


text:
Is import datetime and import glob necessary?

Is it necessary to import and install datetime and glob modules? They should be in the base distro.

They are used but do not need to be imported.


text:
🛑 cedro is down

In 57993a3, cedro (https://www.cedro.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: cedro is back up in 9851129.

repo: NicolasAbihaggle/serviciosestados


text:
Create a timeline

Add a list of all your activities, achievements, work experience. Add as much info as you can remember. In case you don't have working experience tell about your pet-projects or student projects.

As a student and at the beginning of my career I won first place in a programming contest, I participated for two semesters in a row in the mathematics olympics organized by my university along with other universities. I made mobile and web development projects, which were presented as a representation of the university in events such as "UNIMINUTO open doors". Participate in a research seedbed of the university called Kepler, during both semesters of the year 2021. Thanks to the university I managed to participate in development courses in Java (mobile development) and Python (OOP, databases, data structures, etc.) which I successfully completed and of which I have the certificates. Finally, and at the present time I am doing my internship in the financial sector company "Banco de Bogota".


text:
Create New Page for Liked Products

Is your feature request related to a problem? Please describe.
Currently, the application lacks a dedicated route for users to see the products they have liked. Implementing a favorites route will enhance user experience by providing easy access to their preferred items without navigating through the entire product catalog.
Describe the solution you'd like

Backend Implementation:

Introduce a new endpoint /favorites in our backend API.
Implement logic to retrieve liked products for the current user from the database.
Ensure the endpoint returns a JSON response containing relevant product information (e.g., ID, name, image URL, price).

Frontend Integration:

Create a new route /favorites in our frontend application that triggers a request to the backend /favorites endpoint.
Display the list of liked products in a user-friendly manner, such as a grid or list view.
Each product should include at least basic information (name, image, price) and a link to view more details.
I would like to work on this feature under SSOC.

same as wishlist feature


text:
Send API Exception Metrics to SignalFx

If SignalFx reporting is enabled, send API Exception metrics.

Coverage decreased (-0.5%) to 57.622% when pulling 5699f13e0162c888e1939b258bff1fff726906d7 on feature/add_api_exception_metrics into f1303e3f6d9dfe380d67b3175ce4708478aad878 on master.

authors: coveralls sdford

repo: Nike-Inc/cerberus-management-service


text:
fix: typos in documentation files

This pull request contains changes to improve clarity, correctness and structure.
Description correction:
Corrected putted to put
Deleted extra table in the sentence.
Please review the changes and let me know if any additional changes are needed.

@AndreyMlashkin Hi! Apologies for the inconvenience. I just wanted to check if there’s anything I can improve in my pull request. Please feel free to ask any questions or let me know if any changes are needed to meet the project's merge requirements. I’m happy to make adjustments!

repo: NilFoundation/zkllvm-blueprint


text:
Minimum Difficulty of a Job Schedule

Problem Link
https://leetcode.com/problems/minimum-difficulty-of-a-job-schedule/
Coding platform
Leetcode
Programming language

[ ] C
[ ] C++
[ ] Java
[ ] Python

Additional context (OPTIONAL)
I want to solve it in Java

Hi @Nivedita967
I would like to solve it in Python. Please assign it to me.

@Nivedita967 I can do in C++.

@Nivedita967 I want to solve it in C
Please assign it to me

@Nivedita967 Please check my pull request

Please check my pull request


text:
"font" search results

When i search for "font", i get much less results (191) than the current search (365).
https://search.nixos.org/packages?query=font&from=45&size=15&sort=relevance&channel=unstable
https://nixos.org/nixos/packages.html?channel=nixpkgs-unstable&query=font

I don't know what the issue is, but maybe it can be figured out with those terms:
For literacy:

https://nixos.org/nixos/packages.html?channel=nixpkgs-unstable&query=literacy
https://search.nixos.org/packages?query=literacy&from=0&size=15&sort=alpha_asc&channel=unstable

For Unicode-compliant:

https://nixos.org/nixos/packages.html?channel=nixpkgs-unstable&query=Unicode-compliant
https://search.nixos.org/packages?query=Unicode-compliant&from=0&size=15&sort=alpha_asc&channel=unstable

Both are a 1-result search for the andika font. The package is indexed:

https://nixos.org/nixos/packages.html?channel=nixpkgs-unstable&query=andika
https://search.nixos.org/packages?show=andika&query=andika&from=0&size=15&sort=alpha_asc&channel=unstable

So it's not simply a question of something missing from the index.

The search results don't return "andika" for one of the test:
For Unicode-compliant:

https://nixos.org/nixos/packages.html?channel=nixpkgs-unstable&query=Unicode-compliant
https://search.nixos.org/packages?query=Unicode-compliant&from=0&size=15&sort=alpha_asc&channel=unstable

Going from the results for the single word compliant,  it looks like the long description might not be used properly? clightning is a result for compliant in the old search, while not in the new search; which is too only found in the long description field.
(It is okay to split this off into a new issue if it's rude to re-open, though strictly speaking, it's part of this issue AFAICT)

authors: davidak samueldr

repo: NixOS/nixos-search


text:
veracrypt: Add formatting tools like exfat-utils to PATH

I think the veracrypt package should depend on e.g. exfat-utils and similar so that creation of such file systems from the GUI works out of the box, instead of requiring that they are on the user's PATH.
CC @chpatrick

Still relevant

repo: NixOS/nixpkgs


text:
nixos/noXlibs breaks gtk2 / gtk3 / gtk4

:EDIT:
I changed the title from noXlibs breaks gtk ... to noXlibs breaks jre since the real problem is that once noXlibs is enabled, it seems one cannot have any form of jre anymore.
Describe the bug
When building a nixos profile with
{
  config.environment.noXlibs = true;
  config.environment.systemPackages = [ pkgs.gtk2 ];
}

You get a failing builder with:
configure: error: Package requirements (cairo-xlib >= 1.6) were not met:

No package 'cairo-xlib' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables CAIRO_BACKEND_CFLAGS
and CAIRO_BACKEND_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
builder for '/nix/store/97p47bwvg0x8wgf7a9ri0blcc5yq9p04-gtk+-2.24.32.drv' failed with exit code 1
error: build of '/nix/store/97p47bwvg0x8wgf7a9ri0blcc5yq9p04-gtk+-2.24.32.drv' on 'ssh://builder' failed: builder for '/nix/store/97p47bwvg0x8wgf7a9ri0blcc5yq9p04-gtk+-2.24.32.drv' failed with exit code 1
builder for '/nix/store/97p47bwvg0x8wgf7a9ri0blcc5yq9p04-gtk+-2.24.32.drv' failed with exit code 1
cannot build derivation '/nix/store/1j2vbnrcxdjz9m5jdr53fssv6jsfcil5-system-path.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/inzihrq5b385g1yj7fw24c99bd8jzxfl-nixos-system-unifi-21.05pre-git.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/3lysliyhi5ffaiwq6qfllmhrajr0ygbm-morph.drv': 1 dependencies couldn't be built
error: build of '/nix/store/3lysliyhi5ffaiwq6qfllmhrajr0ygbm-morph.drv' failed
Error while running `/run/current-system/sw/bin/nix-build /run/user/1000/morph-977101554/morph/eval-machines.nix -A machines --arg networkExpr /home/dminuoso/private/network/network.nix --argstr argsFile /run/user/1000/morph-726395305/morph-args.json --out-link /run/user/1000/morph-726395305/result --option max-jobs 0 ...`: See above.%

Similar errors for gtk3 and gtk4.
This is somewhat annoying since I generally like <nixpkgs/nixos/modules/profiles/minimal.nix> for my servers, but gtk is a dependency of openjdk that I need for some things.
Steps To Reproduce
Steps to reproduce the behavior:
See above.
Notify maintainers
@lopsided98 (introduced the cairo modification in no-x-libs)
@lovek323 @7c6f434c (gtk maintainers)

Metadata
N/A
This happens on 21.05 or on nixos-unstable.
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
  - gtk2
  - gtk3
  - gtk4
# a list of nixos modules affected by the problem
module:

adoptopenjdk-bin uses autoPatchelfHook to link X11 libraries.  We may able to use patchelf --remove-needed to tell autoPatchelfHook not requireing X11, or just ignore errors by autoPatchelfIgnoreMissingDeps.  adoptopenjdk-bin works just fine without X11 libraries unless classes using X11 is used.

We are barking up the wrong tree here. After a good nights sleep I realized that it's just gtk3 that's failing. So all we need to do is remove the GTK dependency from the bootstrap JDK, and use a headless jre, and all seems well.
  jre8_trueHeadless = (pkgs.openjdk8.override
    { openjdk8-bootstrap = pkgs.openjdk8-bootstrap.override { gtkSupport = false; };
      headless = true;
      enableGnome2 = false;
    }).jre;

Seems to do the job. @edwtjo is it sensible to disable gtkSupport on the bootstrap JDK? I don't fully understand what the bootstrap JDK needs to be able to do. Is this just needed for building OpenJDK?

This is currently preventing me from updating my NixOS boxes as well. 4 different machines actually which share similar configs.
gtk4 basically hangs. nix dumps logs griping about meson and ninja ( perhaps a battle tested build system might be more suitable for a project like gtk 😡 ).
I doubt this is a Nix issue. My guess based on the logs is that ninja attempts rm -r $PWD or a similar directory deletion which has open file descriptors.

This is currently preventing me from updating my NixOS boxes as well. 4 different machines actually which share similar configs.
gtk4 basically hangs. nix dumps logs griping about meson and ninja ( perhaps a battle tested build system might be more suitable for a project like gtk 😡 ).
I doubt this is a Nix issue. My guess based on the logs is that ninja attempts rm -r $PWD or a similar directory deletion which has open file descriptors.

Of you really think this is the same issue couldn't you just disable noXLibs? And why does this only occur since a recent update? I think the issue mentioned here exists since forever.

This is currently preventing me from updating my NixOS boxes as well. 4 different machines actually which share similar configs.
gtk4 basically hangs. nix dumps logs griping about meson and ninja ( perhaps a battle tested build system might be more suitable for a project like gtk rage ).
I doubt this is a Nix issue. My guess based on the logs is that ninja attempts rm -r $PWD or a similar directory deletion which has open file descriptors.

Of you really think this is the same issue couldn't you just disable noXLibs? And why does this only occur since a recent update? I think the issue mentioned here exists since forever.

You're right my issue is different. The debug output has a lot of similarities so this popped up in my search results; likely just because it's the most recent NixOS + gtkX issue.

I don't fully understand what the bootstrap JDK needs to be able to do. Is this just needed for building OpenJDK?

Yeah the bootstrap jdk (nowerdays called boot jdk) is needed to build the jdk itself.
see https://github.com/openjdk/jdk17u/blob/master/doc/building.md#boot-jdk-requirements

This is still a problem stale bot

I also don't like this but I think this is more or less "intended" behaviour and probably not easily fixable.

Yes and I personally stumbled over this option a couple of times and rather would remove it to reduce unexpected build failures in containers.

It also breaks nixos-rebuild build-vm, for some reason. I don't see why an option of the guest system would affect the build of the VM on the host, but it does. To reproduce it's enough to do:
imports = [ (modulesPath + "/profiles/minimal.nix") ];

and nixos-rebuild build-vm.

There are mixed different problems into this issue, hence I am closing it to untangle them.
That GTK is not working without x11 or on a headless system, is acceptable in my opinion as it is a pure GUI library and already disabled in multiple places in noXlibs.
That the openjdk bootstrapping breaks with it, is unrelated to the original issue and I would suggest to just booststrap without GUI which would also speed the build process up.
Also the build-vm comment above this one is probably a totally separate issue not belonging into this one.

Also the build-vm comment above this one is probably a totally separate issue not belonging into this one.

Maybe, but the build fails with exactly the same error reported here.

@SuperSandro2000
These two issues are precisely related. It is because the bootstrap JDK induces an (unneeded) gnome dependency that config.environment.noXlibs conflicts with the presence of a JRE.
I've made a proposal that went unnoticed by the maintainer.

We are barking up the wrong tree here. After a good nights sleep I realized that it's just gtk3 that's failing. So all we need to do is remove the GTK dependency from the bootstrap JDK, and use a headless jre, and all seems well.
  jre8_trueHeadless = (pkgs.openjdk8.override
    { openjdk8-bootstrap = pkgs.openjdk8-bootstrap.override { gtkSupport = false; };
      headless = true;
      enableGnome2 = false;
    }).jre;

Seems to do the job. @edwtjo is it sensible to disable gtkSupport on the bootstrap JDK? I don't fully understand what the bootstrap JDK needs to be able to do. Is this just needed for building OpenJDK?

I think I fixed that with #213812