connection lost

LDAP works very well without SSL. When enabling SSL, i can search successfully the Directory from an Ubuntu 17 Laptop, an Ubuntu 16.04 Server (Docker Host) but not from phpLDAPadmin (or from  inside the phpLDAPadmin Container) and not via a Nextcloud Installation on this Server.
The errors are:
ldapsearch -H ldaps://ldap.example.com:9519 -b dc=ldap,dc=example,dc=com -D "cn=admin,dc=ldap,dc=example,dc=com" -w xxx -v

ldap_initialize( ldaps://ldap.example.com:9519/??base )
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

The Log of LDAP Server gives:
5afac80f conn=1014 fd=12 ACCEPT from IP=<IP_ADDRESS>:55090 (IP=<IP_ADDRESS>:636)
5afac80f conn=1014 fd=12 TLS established tls_ssf=256 ssf=256
5afac80f conn=1014 fd=12 closed (connection lost)

This is the Run Command:
docker run \
        --detach \
        --env LDAP_ORGANISATION="xxx" \
        --env LDAP_DOMAIN="ldap.example.com" \
        --env LDAP_ADMIN_PASSWORD="xxx" \
        --env LDAP_TLS_VERIFY_CLIENT=never \
        --env LDAP_TLS_REQCERT=try \
        --env LDAP_TLS_REQ_CERT=try \
        --env LDAP_TLS_CRT_FILENAME=cert.pem \
        --env LDAP_TLS_KEY_FILENAME=privkey.pem \
        --env LDAP_TLS_CA_CRT_FILENAME=fullchain.pem \
        --hostname ldap.example.com \
        --name ldap.example.com \
        --publish 9518:389 \
        --publish 9519:636 \
        --restart always \
        --volume /srv/docker/ldap.example.com/etc/ldap/slapd.d:/etc/ldap/slapd.d \
        --volume /srv/docker/ldap.example.com/var/lib/ldap:/var/lib/ldap \
        --volume /etc/letsencrypt:/container/service/slapd/assets/certs \
        --volume /etc/letsencrypt/archive/ldap.example.com/fullchain5.pem:/container/service/slapd/assets/certs/fullchain.pem \
        --volume /etc/letsencrypt/archive/ldap.example.com/cert5.pem:/container/service/slapd/assets/certs/cert.pem \
        --volume /etc/letsencrypt/archive/ldap.example.com/privkey5.pem:/container/service/slapd/assets/certs/privkey.pem \
        osixia/openldap:1.2.0 --copy-service

This is the Output of openssl s_client -connect ldap.example.com:9519 -verify 5 which has succeeded:
verify depth is 5
CONNECTED(00000003)
depth=2 O = Digital Signature Trust Co., CN = DST Root CA X3
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
verify return:1
depth=0 CN = ldap.example.com
verify return:1
---
Certificate chain
 0 s:/CN=ldap.example.com
   i:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
 1 s:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
   i:/O=Digital Signature Trust Co./CN=DST Root CA X3
---
Server certificate
-----BEGIN CERTIFICATE-----
[...]
-----END CERTIFICATE-----
subject=/CN=ldap.example.com
issuer=/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
---
No client certificate CA names sent
Peer signing digest: SHA512
Server Temp Key: ECDH, P-256, 256 bits
---
SSL handshake has read 3745 bytes and written 431 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-GCM-SHA384
Server public key is 4096 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-AES256-GCM-SHA384
    Session-ID: ADE4A4B499FDB4F2498618C42CEDAF599539F33CA5E8748C7C8459656EB72F33
    Session-ID-ctx:
    Master-Key: A911C0967F55E6848B7438F3D88485DB88E162242204288B82B18778B093567412FB29E31A9CCA8F04CE66003F10B9E4
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time:<PHONE_NUMBER>
    Timeout   : 300 (sec)
    Verify return code: 0 (ok)
---

The Output of the failed machine:
verify depth is 5
CONNECTED(00000003)
depth=2 O = Digital Signature Trust Co., CN = DST Root CA X3
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
verify return:1
depth=0 CN = ldap.example.com
verify return:1
---
Certificate chain
 0 s:/CN=ldap.example.com
   i:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
 1 s:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
   i:/O=Digital Signature Trust Co./CN=DST Root CA X3
---
Server certificate
-----BEGIN CERTIFICATE-----
[...]
-----END CERTIFICATE-----
subject=/CN=ldap.example.com
issuer=/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
---
No client certificate CA names sent
Peer signing digest: SHA512
Server Temp Key: ECDH, P-256, 256 bits
---
SSL handshake has read 3749 bytes and written 302 bytes
Verification: OK
---
New, TLSv1.2, Cipher is ECDHE-RSA-AES256-GCM-SHA384
Server public key is 4096 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-AES256-GCM-SHA384
    Session-ID: 81E7FB7B79BA7348990E22CCB5826A1F8C293B2573F31808DDACE34FDF896E98
    Session-ID-ctx:
    Master-Key: 9363D3652DF5ADF2FD4B4D3BA16547958C3A5BAE175E02AE6393734AB77313A2CBE4C31739EC3ADD5348FC430E418C82
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time:<PHONE_NUMBER>
    Timeout   : 7200 (sec)
    Verify return code: 0 (ok)
    Extended master secret: yes
---

the same issue occured for me also, can you please let me know did you get that issue fixed ?

While debugging another issue, I noticed that in the above config it seems that TLS is used which usually runs on port 389.


feat: update appservice plan name

Add minor change to trigger workflow and deploy app to vm

Great job! I could see your changes.

I'm glad the nginx is working as expected now.


[chore] Update contributing guidelines

Updates the CONTRIBUTING.md to with the following, using opentelemetry-go as a template.

Update links to community calendar, SIG notes doc and Slack channel
Updates PR section to better describe fork and clone steps, approval workflow and link to approvers/maintainers
Add Approvers and Maintainers section with current members

Closes the following issue:

Closes #21

Blocked by:

#135

Related to the following PR to update maintainers link:

#133


Add CmiPuts wrapper around CmiPrintf for charm4py

Since this is just for Charm4py, maybe can put inside the existing CMK_CHARMPY blocks, if we feel this is not needed for other cases. But I'm fine with this.


Submit SLURM job arrays instead of separate jobs?

Hi, I'm not sure if this package is still being actively developed, but I was wondering if you could make the SlurmExecutor capable of submitting job arrays instead of individual jobs. Or, if you have advice on how I could go about implementing that feature. Basically, I'd want to be able to use the map function to submit a job array of a designated size (e.g. --array=1-100), and then map the separate function executions to those workers. The simplest case of requiring the array size to be equal to the number of function evaluations would be sufficient for my applications, e.g. for a for loop over an array of length 100, it always submits a job array with 100 individual jobs, each $SLURM_ARRAY_TASK_ID is mapped to a single value from the array.
Anyway, thanks for developing this!

Sounds cool! Happy to merge a PR, but as I no longer have access to a Slurm cluster, I can't implement it myself. (And I'm afraid I don't remember enough about Slurm to have recommendations for how to implement it… but yeah, I like the idea of submitting jobs in "chunks" like you suggest.)

I think I got it to work for functions that take a single argument, which is all I need for now, but I'll have to spend more time to make it compatible with functions with variable positional/key word arguments (i.e. using *args, **kwargs in the SlurmExecutor.submit_array function I wrote): https://github.com/Aman-A/clusterfutures/commit/19ebb9958e6e17636448efeb974b66e57dcf552c#diff-8ec507c811d69d6164ca569b3458debd21770c0b0a0dc6f29c9bf5f69d14fde6

Neato. Nice work! Feel free to put together a PR if you ever feel like it.

Thanks! I just added another feature allowing for batching the function evaluations within each job, so e.g. you can map N inputs to M jobs which each serially compute N/M of the function evaluations. The cluster IT people at my university want us to submit jobs that take at least 10 min each, so this is useful to avoid a ton of short jobs.
It seems to work so far for my applications, but getting it to work was a little hacky, so I'd hesitate to push it to the master branch in case it doesn't work for others. Maybe you can create a branch and I can create a PR for that? My changes were all done in the slurm_array branch. Otherwise, happy to do it on the master, whichever you prefer

Sure thing! Just made a batch branch: https://github.com/sampsyo/clusterfutures/tree/batch

For your info:
We are planning to implement something slightly related, that is, making a new SlurmExecutor.map() method that executes N tasks by only submitting M<=N SLURM jobs. For instance we may want to execute 100 tasks by batching them in 20 SLURM jobs of 5 tasks each (this should be doable with multiple srun commands and with the appropriate SLURM options like ntasks). The main reason is to avoid hitting job-submission limits in some of our use cases - where we'd like to execute ~400 tasks but we are not allowed to submit 400 SLURM jobs at the same time.
We are still at some very preliminary stage - see https://github.com/fractal-analytics-platform/fractal-server/issues/493.
I guess that we'll end up with a very custom implementation, and probably it won't make sense to contribute it back to clusterfutures - but I'd like to leave a trace here about this related (planned) work.


k8s allow specifying orchest fqdn

Adds a --fqdn option to the orchest install CLI command.
Keen to know your opinion about the wording of the newly introduces messages, since FQDN/host and playing around with /etc/hosts might get confusing for users.

looks good


Fix for issues 105, 106 & 109

Resolved issue 105 as proposed in the issue text

Resolves issue 106 as proposed in the issue text - this is needed for SqlServer and SqlAnywhere type inference.
This can be observed on HavingWithMinDateShouldReturnCorrectRow and HavingWithMaxDateShouldReturnCorrectRow where the DateTime value parameter is actually passed the DBMS as AnsiString:-
exec sp_executesql N'select [dbo].[GroupTestMaster].[Id],[dbo].[GroupTestMaster].[Name] from [dbo].[GroupTestMaster]  JOIN [dbo].[GroupTestDetail] ON ([dbo].[GroupTestMaster].[Id] = [dbo].[GroupTestDetail].[MasterId]) GROUP BY [dbo].[GroupTestMaster].[Id],[dbo].[GroupTestMaster].[Name] HAVING Min([dbo].[GroupTestDetail].[Date]) >= @p1',N'@p1 varchar(19)',@p1='01/01/2000 00:00:00'

Resolves issue 109 by adding a check for null in ProcedureExecutor.  Since this would never be null in existing code this has no impact on the current codebase, but makes way for the unexpected behaviour of other ADO.net providers (namely SqlAnywhere!)

Closes #105
Closes #106
Closes #109


Different ports per node in an ensemble?

I'm trying to run Exhibitor within Mesos, and when I use "host" mode (e.g. mapping ports 2181, 2888, 3888 on the host to the container) this works fine.
However this means only one Zookeeper instance can run per server, which whilst this isn't a blocker, it isn't ideal either as in dev environments these instances are tiny.
In an attempt to work around this, I have tried to dynamically assign the Zookeeper ports, which may look something like;
ZK1 -
Client: 30011
Connect: 30012
Election: 30013
ZK2 -
Client: 30021
Connect: 30022
Election: 30023
ZK3 -
Client: 30031
Connect: 30032
Election: 30033
And my config looks like;
zookeeper-data-directory=${ZK_HOME}/data
cleanup-period-ms=200000
zookeeper-install-directory=${ZK_HOME}
check-ms=2000
client-port=${PORT0:-2181}
cleanup-max-files=10
connect-port=${PORT2:-2888}
observer-threshold=3
election-port=${PORT3:-3888}
zoo-cfg-extra=syncLimit\=5&tickTime\=2000&initLimit\=10
auto-manage-instances-settling-period-ms=10000
auto-manage-instances=1

${PORTx} being the ports defined above.
I can connect directly on all of these ports, so basic TCP connectivity is fine, however when I go to the exhibitor dashboard I only ever see one instance registered, and when I check the shared config in S3, I can only see one node registering;
#Auto-generated by Exhibitor gst-aeu-mi03
#Thu Oct 27 09:52:43 UTC 2016
com.netflix.exhibitor-rolling-hostnames=
com.netflix.exhibitor-rolling.zookeeper-data-directory=/zookeeper/data
com.netflix.exhibitor-rolling.servers-spec=305\:gst-aeu-mi03
com.netflix.exhibitor.java-environment=
com.netflix.exhibitor.zookeeper-data-directory=/zookeeper/data
com.netflix.exhibitor-rolling-hostnames-index=0
com.netflix.exhibitor-rolling.java-environment=
com.netflix.exhibitor-rolling.observer-threshold=3
com.netflix.exhibitor.servers-spec=305\:gst-aeu-mi03
com.netflix.exhibitor.cleanup-period-ms=200000
com.netflix.exhibitor.auto-manage-instances-fixed-ensemble-size=0
com.netflix.exhibitor.zookeeper-install-directory=/zookeeper
com.netflix.exhibitor.check-ms=2000
com.netflix.exhibitor.zookeeper-log-directory=
com.netflix.exhibitor-rolling.auto-manage-instances=1
com.netflix.exhibitor-rolling.cleanup-period-ms=200000
com.netflix.exhibitor-rolling.auto-manage-instances-settling-period-ms=10000
com.netflix.exhibitor-rolling.check-ms=2000
com.netflix.exhibitor.log-index-directory=
com.netflix.exhibitor-rolling.log-index-directory=
com.netflix.exhibitor.backup-period-ms=60000
com.netflix.exhibitor-rolling.connect-port=30032
com.netflix.exhibitor-rolling.election-port=30033
com.netflix.exhibitor-rolling.backup-extra=
com.netflix.exhibitor.client-port=30031
com.netflix.exhibitor-rolling.zoo-cfg-extra=syncLimit\=5&tickTime\=2000&initLimit\=10
com.netflix.exhibitor-rolling.zookeeper-install-directory=/zookeeper
com.netflix.exhibitor.cleanup-max-files=10
com.netflix.exhibitor-rolling.auto-manage-instances-fixed-ensemble-size=0
com.netflix.exhibitor-rolling.backup-period-ms=60000
com.netflix.exhibitor-rolling.client-port=30031
com.netflix.exhibitor.backup-max-store-ms=86400000
com.netflix.exhibitor-rolling.cleanup-max-files=10
com.netflix.exhibitor-rolling.backup-max-store-ms=86400000
com.netflix.exhibitor.connect-port=30032
com.netflix.exhibitor.backup-extra=
com.netflix.exhibitor.observer-threshold=3
com.netflix.exhibitor.log4j-properties=
com.netflix.exhibitor.auto-manage-instances-apply-all-at-once=1
com.netflix.exhibitor.election-port=30033
com.netflix.exhibitor-rolling.auto-manage-instances-apply-all-at-once=1
com.netflix.exhibitor.zoo-cfg-extra=syncLimit\=5&tickTime\=2000&initLimit\=10
com.netflix.exhibitor-rolling.zookeeper-log-directory=
com.netflix.exhibitor.auto-manage-instances-settling-period-ms=10000
com.netflix.exhibitor-rolling.log4j-properties=
com.netflix.exhibitor.auto-manage-instances=1

It looks like Exhibitor overrides the *port settings in the shared config for all nodes so ZK3 tries to connect to ZK1 on the same port as it's listening on itself and fails.
Is it possible to set different client, connect and election ports per node in an ensemble?

@JamieCressey by design, the shared config assumes you'll have identical settings across all your instances - not only ports, but also the local data directories, etc.
This indeed makes it hard to test with multiple instances on a single node.
I'm not sure what the effort to separate these configurations would be, as it has implications from UI all the way to how these are passed to the actual zookeeper processes  (I can think of more than one way to doing it).
This said, my local "distributed" setup involves two tiny VMs and a local process that I usually start from IDEA so I could do the actual dev with debug support, etc. It's not trivial to set manually

Sorry, my trackpad has been playing tricks, didn't mean to close this (reopened)


socket.gaierror while running the "generate dockerfile" example

Summary
When I run the example
run --rm kaczmarj/neurodocker:v0.3.1 generate -b ubuntu:16.04 -p apt --ants version=2.2.0
I got into the socket.gaierror
Any ideas on what causes this error?
Thank you
Platform details:
Ubuntu 16.04 ( inside VMbox )
###Error details

sudo docker run --rm kaczmarj/neurodocker:v0.3.1 generate -b ubuntu:16.04 -p apt --ants version=2.2.0
Unable to find image 'kaczmarj/neurodocker:v0.3.1' locally
v0.3.1: Pulling from kaczmarj/neurodocker
88286f41530e: Pull complete
cbf6c3c6bd80: Pull complete
2592e13ad4e6: Pull complete
Digest: sha256:d5acfc788c670f0d597e34e60d78fb93c276e2cd803a31b5ddbf225981c1ae83
Status: Downloaded newer image for kaczmarj/neurodocker:v0.3.1
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/urllib3/connection.py", line 141, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3.6/site-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 743, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 850, in _validate_conn
    conn.connect()
  File "/usr/lib/python3.6/site-packages/urllib3/connection.py", line 284, in connect
    conn = self._new_conn()
  File "/usr/lib/python3.6/site-packages/urllib3/connection.py", line 150, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f2dda72ccc0>: Failed to establish a new connection: [Errno -3] Try again

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 440, in send
    timeout=timeout
  File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3.6/site-packages/urllib3/util/retry.py", line 388, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='dl.dropbox.com', port=443): Max retries exceeded with url: /s/2f4sui1z6lcgyek/ANTs-Linux-centos5_x86_64-v2.2.0-0740f91.tar.gz (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2dda72ccc0>: Failed to establish a new connection: [Errno -3] Try again',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/neurodocker", line 11, in <module>
    load_entry_point('neurodocker', 'console_scripts', 'neurodocker')()
  File "/opt/neurodocker/neurodocker/neurodocker.py", line 278, in main
    subparser_functions[namespace.subparser_name](namespace)
  File "/opt/neurodocker/neurodocker/neurodocker.py", line 225, in generate
    df = Dockerfile(specs)
  File "/opt/neurodocker/neurodocker/generate.py", line 456, in __init__
    self.cmd = self._create_cmd()
  File "/opt/neurodocker/neurodocker/generate.py", line 477, in _create_cmd
    chunks = _get_dockerfile_chunks(self.specs)
  File "/opt/neurodocker/neurodocker/generate.py", line 435, in _get_dockerfile_chunks
    chunk = _get_dockerfile_chunk(instruction, options, specs)
  File "/opt/neurodocker/neurodocker/generate.py", line 413, in _get_dockerfile_chunk
    chunk = callable_(**options).cmd
  File "/opt/neurodocker/neurodocker/interfaces/ants.py", line 74, in __init__
    self.cmd = self._create_cmd()
  File "/opt/neurodocker/neurodocker/interfaces/ants.py", line 83, in _create_cmd
    chunks = [comment, self.install_binaries()]
  File "/opt/neurodocker/neurodocker/interfaces/ants.py", line 98, in install_binaries
    check_url(url)
  File "/opt/neurodocker/neurodocker/utils.py", line 141, in check_url
    request = requests.head(url, timeout=timeout, **kwargs)
  File "/usr/lib/python3.6/site-packages/requests/api.py", line 98, in head
    return request('head', url, **kwargs)
  File "/usr/lib/python3.6/site-packages/requests/api.py", line 58, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 508, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 618, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 508, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='dl.dropbox.com', port=443): Max retries exceeded with url: /s/2f4sui1z6lcgyek/ANTs-Linux-centos5_x86_64-v2.2.0-0740f91.tar.gz (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f2dda72ccc0>: Failed to establish a new connection: [Errno -3] Try again',))

hi @athanell - are you connected to the internet while running this command? neurodocker will check that urls are reachable by default and will raise an error like the one you described if there is no internet connection. you can disable this check with the option --no-check-urls (see below). i will add some logic to display a more useful error message if there is no internet connection.
docker run --rm kaczmarj/neurodocker:v0.3.1 generate -b ubuntu:16.04 -p apt --ants version=2.2.0 --no-check-urls

Hello @kaczmarj , I believe that I had an active internet connection but I will redo the process when I am certain about the connection and I will keep you posted if the error persists
Thank you

Hello @kaczmarj ,
I do have an active Internet connection but I think that the problem is that I am behind a firewall. My docker is configured to run behind a proxy using guidelines I found in
https://stackoverflow.com/questions/26550360/docker-ubuntu-behind-proxy and I can pull any image I want, though neurodocker does fail with the error mentioned above .
Running the example in a system that is not behind a firewall completed without any errors.

Hi @athanell - thanks for the information. did you try with the neurodocker generate option --no-check-urls? if it fails with that option, there is a bug.

Hi @kaczmarj ,
Yes while running it with the option --no-check-urls, as you proposed there is no error and the dockerfile is created normally for my system which is behind a firewall.
Thank you for your assistance


Character turn actions: (move.(attack+switch_weapon))

Replace the current ((move+switch_weapon).attack) turn actions by (move.(attack+switch_weapon)).

Having to sacrifice movement to switch weapons is annoying when you move your characters as a pack.
The current system makes the enemy markers unreliable: if they switch weapons, they might actually have an attack range bigger than what was shown.

It is done.


Getting error when trying send variable

Trying to send ${{commit.ref }} but getting an error, no such variable.
Unrecognized named-value: 'commit'
Is it possible to send commit message via telegram?

    - name: send message useing with
      uses: appleboy/telegram-action@master
      with:
        to: ${{ secrets.TELEGRAM_TO }}
        token: ${{ secrets.TELEGRAM_TOKEN }}
        message: |
          The ${{ github.event_name }} event triggered second step.
          show the github varable ref: ${{ github.ref }}
          show the github varable commit: ${{ github.sha }}
          show the github varable ref: {{ commit.ref }}
          show the github varable commit: {{ commit.sha }}

https://github.com/appleboy/telegram-action/blob/abd0142ad907b74d838aefeea5ce21e300003ea6/.github/workflows/ci.yml#L17-L27


improving css on chat page

This is to make chat page look better. I am planning to work on this project, this is also for a testing purpose, but improves UI.


CommandRouteGenerator Urls are different from BladeRouteGenerator

Hey,
I am using v1.4.6 and ran into a weird issue today. At first I was wondering why my route('login') would return a "https:" url, which had the effect that I could not login or logout, etc on my local dev system without https.
Then I started digging around what would be the issue because as far as I can see ziggy pretends to use the app.url for route generation. For testing purposes I changed my app.url to xxx.test and it seems this is only reflected in the ziggy.js created by the CommandRouteGenerator. The BladeRouteGenerator in the directive still returns "patdbv2.test" as url and I have no clue where this even comes from, its not present in my .env file, cache is cleared etc.

Anyone ran into a similar issue?
Edit:
when I explicitly use the app.url via an the api endpoint like documented it works
Route::get('ziggy', fn () => response()->json(new Ziggy(null, config('app.url'))));
just calling the class will revert to something else
Route::get('ziggy', fn () => response()->json(new Ziggy));
Edit 2:
it seems the change with app.url was reverted a while ago. So this make a little bit more sense now, but the question remains why does it generate https urls when https is not used / available and why is the result of both generators different?

The generated JS file and the JS in the browser are different because the console command uses your APP_URL environment variable and the Blade directive uses the current request URL.
I'm not sure about the http/https thing though... what is your APP_URL and what is the actual full URL in your browser on that page? Are you serving your site with Valet?

Thanks for the reply. Yes I am using valet without https for this site and my app url is just "xxx.test" (as shown in the Screenshot) for testing around with this issue, the url in the browser is "http://patdbv2.test". So even the console command is turning my app.url into https.

Your APP_URL environment variable is set to exactly xxx.test? If so does setting it to http://xxx.test fix this? Run php artisan view:clear too and check.

Yeah it was set for testing purposes to http://xxx.test. Given patdbv2.test as app_url etc like the default setup its the same:

Sorry just to be super clear—does your APP_URL environment variable include http://? It's a complete, valid URL, not just a domain?

yes it is, please have a look at my screenshot, I added everything in there.

Sorry, completely missed that 🤦🏻 thanks.

What does config('app.url') display if you echo it from that Blade template or run it in Tinker?

Basically the same as above:

I'm having the exact same problem, I cannot get the URLs to change from HTTP to https when I'm deploying my application to production, even though I have it working as https locally.... but locally I can't change the URL at all either.

Any updates on this? Any ideas how to get ziggy to recognise the correct URL with https?

@coatesjonathan as a workaround you could "upgrade" your request to https via the Webserver and leave the urls untouched with http

I'll spend some time looking into this tomorrow.
@twdnhfr can you share your original screenshot with the app URL and routes Blade directive with one additional line, url('/')? Thanks.

@coatesjonathan in production, are you using any kind of proxy or load balancer? If so you'll need to configure your trusted proxies to get Ziggy to recognize that and use HTTPS, see https://github.com/tighten/ziggy/issues/410#issuecomment-814485042

@twdnhfr I can't reproduce any part of this locally, any additional info you can provide would be great—any other relevant environment variables or configurations, etc. Other questions I can think of (some of them are basic I know but I'm pretty stumped here):

Is the entire, exact command you're running to generate the file php artisan ziggy:generate?
Are you setting any ziggy.* config values anywhere (in a config/ziggy.php file, a service provider, a middleware, etc)?
What exactly is the 'url' value being set to in your config/app.php?
Does the issue persist if you restart Valet and clear your route cache, and view cache, and app cache?
Are you doing anything to the app or request URL in a middleware that could possibly be causing this?
Do you only see this locally, or in any other environment too? Any other sites?
Did this start happening after your upgraded to a specific version of Ziggy? If you downgrade does that fix it?

Of course, if you're able to provide an example repo or reproduce this in a fresh site that would be even better 😂


npm run serve  error

all create link can't access
http://localhost:8080/#/products/create
http://localhost:8080/#/categories/create

DataTable.vue   find an error
:to="'/rest/'
      <b-btn class="mr-2" :to="'/rest/' + resourceUri + '/create'" variant="secondary" v-if="_.get(actions,'toolbar.create') !== false">

Have these problems been solved?


Change logger

remove spinner
using logrus
verbose option

e.g

level 1 : show only found query (stdout)
level 2: show all log (stderr)

url , sxss mode
[*] Using single target mode
[*] Target URL: https://~~~~
[*] Vaild target [ code:200 / size:65323 ]
[*] Start parameter analysis.. 🔍
[*] Start static analysis.. 🔍
[I] Content-Type is text/html; charset=utf-8
[I] Reflected DA param => inHTML[1]   [  +  =  -  {  :  `  }  ;  ]  |  .  $  ,
    79 line:  var param_da = "SBCDalfox
[*] Generate XSS payload and optimization.Optimization.. 🛠
[*] Start XSS Scanning.. with 290 queries 🗡
[*] Finish :D

file pipe mode
Like httpx? Must friendly a little more pipeline
What should be included in the output of stdout and '-o' options?
=> only result(found?)


DG-1735 | Add retry while fetching auth policies

Change description
There were few cases reported where changes shown in audit logs for the policies created on a new connection creation where not reflecting while policies were fetched. This adds retries attempt with some delay to incorporate possible delay in ES sync with Cassandra.
Type of change

[x] Bug fix (fixes an issue)
[ ] New feature (adds functionality)

Related issues

Fix #1

Checklists
Development

[ ] Lint rules pass locally
[x] Application changes have been tested thoroughly
[x] Automated tests covering modified code pass

Security

[x] Security impact of change has been considered
[ ] Code follows company security practices and guidelines

Code review

[x] Pull request has a descriptive title and context useful to a reviewer. Screenshots or screencasts are attached as necessary
[ ] "Ready for review" label attached and reviewers assigned
[ ] Changes have been reviewed by at least one other contributor
[x] Pull request linked to task tracker where applicable

Closing this in favor of #3490 3490
Context: https://atlanhq.slack.com/archives/C04V2SY5Y07/p1725545468059419?thread_ts=1723125152.921809&cid=C04V2SY5Y07


Kafka Consumer not consuming from random topics abruptly

Question / Bug?
I am currently running 2 set ups:
A) 9 servers sharing the 9 partitions
B) 2 servers consuming from 9 partitions each
I am running one consumer to consumer from multiple topics on each server.
My observation is that setup A is very stable and it doesn't have any missing messages nor does it have any incident where it stops consuming messages.
While for setup B, there is a possibility that messages from a few topics are not being consumed anymore, causing a break in the data flow. However, messages from other topics are being consumed normally.
There were no errors reported (thus no logs) and the consumer just silently stop consuming from a few random topics.
Would appreciate a response if anyone have any idea or require more information.
Thank you!
Environment

Node version: v6.9.1

Kafka-node version: v2.2.3

Kafka version: v<IP_ADDRESS>

Cloud VMs running on RHEL 7.2

Number of Brokers: 3

Number partitions for topic: 9

There has been some fixes related to recovery. Could you test again using the latest version?


ValueError: Unable to identify Cloudflare IUAM Javascript on website.

Version:
In [11]: !pip install -U cfscrape
Requirement already up-to-date: cfscrape in ./bin/miniconda/envs/SCRAP/lib/python3.7/site-packages (2.1.1)
Requirement already satisfied, skipping upgrade: requests>=2.23.0 in ./bin/miniconda/envs/SCRAP/lib/python3.7/site-packages (from cfscrape) (2.24.0)
Requirement already satisfied, skipping upgrade: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in ./bin/miniconda/envs/SCRAP/lib/python3.7/site-packages (from requests>=2.23.0->cfscrape) (1.25.8)
Requirement already satisfied, skipping upgrade: chardet<4,>=3.0.2 in ./bin/miniconda/envs/SCRAP/lib/python3.7/site-packages (from requests>=2.23.0->cfscrape) (3.0.4)
Requirement already satisfied, skipping upgrade: idna<3,>=2.5 in ./bin/miniconda/envs/SCRAP/lib/python3.7/site-packages (from requests>=2.23.0->cfscrape) (2.9)
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in ./bin/miniconda/envs/SCRAP/lib/python3.7/site-packages (from requests>=2.23.0->cfscrape) (2020.6.20)

Code:
from cfscrape import create_scraper

url = 'https://soap2day.to'   # also tried: 'https://www.soap2day.to'

sc = create_scraper(url).content

Error:
ValueError: Unable to identify Cloudflare IUAM Javascript on website. Cloudflare may have changed their technique, or there may be a bug in the script.

Please read https://github.com/Anorov/cloudflare-scrape#updates, then file a bug report at https://github.com/Anorov/cloudflare-scrape/issues."

@spfeifer222, did you find any solution? Or new package / library that works?

@spfeifer222, did you find any solution? Or new package / library that works?

I went for splash and use it that way: https://github.com/scrapy-plugins/scrapy-splash/issues/92#issuecomment-680050082


Add LS support for .clone() built-in function

Purpose

Add LS support for .clone() built in function

Related PR

https://github.com/ballerina-platform/ballerina-lang/pull/11465

Please don't merge until #11465 getting merged!


(WIP) Refactor pending state to live in pane instead of items

:construction: WIP :construction:

New public API workspace.setItemNotPending that
packages can use to set an item to set an item to not pending
(e.g. when the user interacts with the item)
Pending state for newly opened items with {pending: true}
is now tracked by Pane instead of the item, and packages like
tabs that query this information now get it from the Pane.

See corresponding changes:

https://github.com/atom/tabs/pull/268
https://github.com/atom/tree-view/pull/741

This is still a WIP, but would love to get some early feedback on aspects of this from @atom/core.
Previously, the pending state of an item was owned by the item itself; if packages like tabs or tree-view wanted to mark an item as being permanent, it would call item.terminatePendingState?(). Additionally, items needed to implement isPending() and onDidTerminatePendingState(callback) to properly support having a pending state — meaning that items had to fully opt in to a specific, implicit interface in order to ever be set as pending.
┌─────────────────────────────────────────────────────────────┐
│                                                             │
│                     tabs/tree-view/etc.                     │
│                                                             │
└──┬──────────┬────────────────▲──────────────────────────────┘
   │          │                │
   │     (on double-click)     │
   │  terminatePendingState()  │
   │          │                │
   │          │           ┌────┘
isPending()   │           │
   │          │     (when item thinks it shouldn't
   │          │          be pending any more)
   │          │           │
┌──▼──────────▼───────────┴───┐ ┌─────────────────────────────┐
│                             │ │                             │
│            Item             │ │                             │
│         #isPending          │ │            Item             │
│   #terminatePendingState    │ │    (no pending support)     │
│ #onDidTerminatePendingState │ │                             │
│                             │ │                             │
└─────┬──────────────▲────────┘ └─────────────────────────────┘
      │              │
      (on interaction)
   terminatePendingState()
      │              │
      │              │
      └──────────────┘

For this reason, openers that add non-TextEditor items to panes created items that were never set as pending (e.g. atom/tabs#266).
This PR moves the pending state off the item and into its containing Pane. When an item is opened with {pending: true}, the Pane keeps track of whether or not the item is pending. When a package wants to change the item to be permanent, it can call into a new method to clear the pending state.
This means that all items support being pending (because Atom manages that state upon adding the item to a Panel), and items can optionally enhance the notion of what it means to be pending or not (e.g. TextEditors stop being pending when you type in them).
┌───────────────────────────────────────────────┐
│                                               │
│              tabs/tree-view/etc.              │
│                                               │
└──────┬──────────────────────────────────┬─────┘
       │                        (on double-click)
isItemPending(item)            clearPendingItem()
───────┼──────────────────────────────────┼──────
       │                                  │
       │                                  │
┌──────▼──────────────────────────────────▼─────┐
│                                               │
│                     Pane                      │
│                                               │
└───────────────────────────────────────▲───────┘
                                        │
                              clearPendingItem()
    ┌────(on interaction)──────┐        │
    │   clearPendingItem()     │        │
    │                          │        │
┌───┴─────────────────┐ │ ┌────▼────────┴───────┐
│                     │ │ │                     │
│        Item         │ │ │      Workspace      │
│                     │ │ │                     │
└─────────────────────┘ │ └─────────────────────┘

One big question I have is around the new API for clearing the pending state for an item; to get this idea moving, we implemented it on Workspace (Workspace#setItemNotPending(item)), but I think this could probably be better. I wonder if it's more reasonable to allow an item to figure out which pane it's in, and call a method on Pane, e.g.
myPane = atom.workspace.getPaneForItem(this)
myPane.clearPendingItem() if myPane.getPendingItem() == this

Naming-wise, I still like something like terminateItemPendingState(item). Or something to make it clearer that the verb is operating on the "pendingness" of the item rather than the item itself.
Adding a pass-through method on the workspace itself does seem to make this more usable, because you don't have to care about the item's pane. Obviously it's two methods instead of one though, so that's a downside. Some changes we're contemplating to the view system could potentially open up the ability for the same item instance to appear in multiple panes in the distant future, but this could deal with that pretty gracefully.

Does this break people's expectations of things that should not be pending? Examples:

Markdown Preview (for that matter PDF preview, ASCIIdoc preview, perldoc preview, etc)
Find In Project results
More?

@lee-dohm If I understand your question, you can still open those items as non-pending if you'd like (you have to pass {pending: true} in the options for Workspace#open or Pane#addItem for an item to be pending, just as before)

@BinaryMuse Thanks, that answers my question :grinning:

Please hold off on merging this until we talk. I'm not sure it's a good idea due to some realizations @maxbrunsfeld and I are having about TextEditor.

Specs have been updated, and along with atom/tabs#268 and atom/tree-view#741 wraps up the refactor for this feature. Happy to get more :eyes:/opinions from @atom/core, otherwise I'll merge later today.


Artifact writer

These are changes I have made while working on building a ForensicArtifact server (more details soon).
I have heard there may be a lot of changes to this library coming soon so I wanted to get this up for initial review.  I still need to work out testing for the ArtifactWriter classes.
This PR fixes: https://github.com/ForensicArtifacts/artifacts/issues/171
This PR is related to: https://github.com/ForensicArtifacts/artifacts/issues/175
I was actually going to implement the exact solution in the referenced PR and then found it was already waiting in a PR so I just left it at my minimal necessary changes for reference. Being able to add additional types would also be extremely useful, but at a minimum I need a list of valid types for data storage/searching in the artifact server.
I also made changes to ArtifactReader that allow overriding the definitions for similar reasons of being able to easily extend labels.

This change is

I'll split this PR in 2
I'll merge the fixes, but will leave some comments in this PR what I have changed

Being able to add additional types would also be extremely useful, but at a minimum I need a list of valid types for data storage/searching in the artifact server.

Know that this will break portability of the artifact type. The reason for adding it will be that tools can implement their own for testing purposes. It is highly recommended that the artifact type is added to the main project.

ArtifactReader split out and ArtifactWriter updated

Can you elaborate what goal are you trying to accomplish with the writer?

Currently the main purpose I use the writer for is exporting artifacts from the Artificer server in YAML format, but the general idea is being able to take an ArtifactDefinition that has been read from some arbitrary source and validated and write it back in an arbitrary format (typically YAML for file and JSON for API)

Also using the Label/OS/etc tag filtering mentioned on Reader, but that is all still work in progress.

Let me give some thought on how to address your use case.

As an additional note, from one of the other discussions, having an ArtifactWriter could make it easier to deal sorting artifacts into their appropriate files, particularly as the collection grows.

I think I got everything corrected now.

Reviewed 2 of 2 files at r3.
Review status: all files reviewed at latest revision, 22 unresolved discussions.

artifacts/artifact.py, line 90 [r3] (raw file):

    return source_object

  def CopyToDict(self):

Lets call it AsDict
I think this can be replaced by calling dict or vars() on each source object and the top level object.
You also need to add a test to make sure this can convert every artifact in the repo.

Comments from Reviewable

Review status: 1 of 2 files reviewed at latest revision, 22 unresolved discussions.

artifacts/artifact.py, line 90 [r3] (raw file):
Previously, destijl (Greg) wrote…
> Lets call it AsDict
>
> I think this can be replaced by calling __dict__ or vars() on each source object and the top level object.
>
> You also need to add a test to make sure this can convert every artifact in the repo.

I can change all of the CopyToDict to AsDict if that is what everyone likes.  I think AsDict might be a better name too.
The main problem with the conversion is separators.  I don't want to have an artifact that doesn't define a separator come out defining a separator so I ignore the separator on each source CopyToDict if it is already the default value.
On the subject of tests, what all tests should be written and how would I test that each artifact converts correctly?

Comments from Reviewable

Review status: 1 of 2 files reviewed at latest revision, 22 unresolved discussions.

artifacts/artifact.py, line 90 [r3] (raw file):
Previously, pidydx (Sean Gillespie) wrote…
> I can change all of the CopyToDict to AsDict if that is what everyone likes.  I think AsDict might be a better name too.
>
> The main problem with the conversion is separators.  I don't want to have an artifact that doesn't define a separator come out defining a separator so I ignore the separator on each source CopyToDict if it is already the default value.
>
> On the subject of tests, what all tests should be written and how would I test that each artifact converts correctly?

"CopyTo" is a commonly used convention in other code bases: https://msdn.microsoft.com/en-us/library/t69dktcd(v=vs.110).aspx
"As" should be fine as fine.
"dict or vars() on each source object and the top level object"
I opt the keep the conversion explicit instead of relying on Python object internal behavior. Easier to maintain, less surprises if the internal behavior changes.

Comments from Reviewable

Review status: 1 of 2 files reviewed at latest revision, 22 unresolved discussions.

artifacts/artifact.py, line 90 [r3] (raw file):
Previously, joachimmetz (Joachim Metz) wrote…
> "CopyTo" is a commonly used convention in other code bases: https://msdn.microsoft.com/en-us/library/t69dktcd(v=vs.110).aspx
>
> "As" should be fine as fine.
>
> "dict or vars() on each source object and the top level object"
> I opt the keep the conversion explicit instead of relying on Python object internal behavior. Easier to maintain, less surprises if the internal behavior changes.
>
>

Don't mind too much about the name,  we use asdict in GRR so it seems more familiar.
Two tests:
convert all artifacts in the repo to dict without raising
convert the test artifacts and compare to a golden dict (either defined in code or json)

Comments from Reviewable

This should be good for review, but it will need some fixes after https://github.com/ForensicArtifacts/artifacts/pull/180 gets merged.

@pidydx left some comment, all the check for python 2 versus 3 looks very fragile at the moment. These can be solved in different ways by checking the data at hand not the python version.

This should be mostly cleaned up now.  I need some feedback on the UnicodeDecodeError issue, but the rest of it should be correct now.

Everything here should be ready now.

@destijl Good call on exercising the file write.  The juggling on writing changes introduced an error in py3.  Latest commit fixes that and uses tempfile for testing the Yamlwriter.  The JSON stuff doesn't need the io/file stuff and there is no JsonArtifactReader to really properly test reading from a json file anyways.
This should be ready now.  Let me know if there are any other necessary changes.

LGTM. I don't see anything outstanding from @joachimmetz so I'm going to merge.


Mailbox configurable size

Hi, would you consider adding a method for instantiating Owner with an explicit channel buffer size?

Hi,
What do you think about this PR?
https://github.com/wc3tools/flo-state/pull/2


added ups query

What is this Pull Request About?
added ups search query, mentioned in issue #61
What will this Pull Request Affect?
will affect init.py file.
Any additional information?

I've left some changes but otherwise perfect. Tell me when done and i'll merge

I think we can remove the &index=1 as it would work without it, and let's fully capitalize the UPS. Otherwise LGTM!


Unable to 'Unshare' a shared link via update.

[X] I have checked that the SDK documentation doesn't solve my issue.
[X] I have checked that the API documentation doesn't solve my issue.
[X] I have searched the Box Developer Forums and my issue isn't already reported (or if it has been reported, I have attached a link to it, for reference).
[X] I have searched Issues in this repo and my issue isn't already reported.

Description of the Issue
We are unable to issue the following command via the CLI in order to remove a shared link expiry date
 box files:shared-links:update <file_id> --unshared-at="null"
Cannot parse date format "null"

 box files:shared-links:update <file_id> --unshared-at=null
Cannot parse date format "null"

This however works.
box request https://api.box.com/2.0/files/<file-id> -X PUT --body '{"shared_link": {"unshared_at": null}}'
Steps to Reproduce
Issue commands as above
Expected Behavior
allow the unshared-at to use null as an option
Error Message, Including Stack Trace
Screenshots
Versions Used
Box CLI: 2.8
Operating System: macOS Catalina

@jacquesvandermerwe The command box files:unshare should be used to unshare i.e. delete a shared-link.

@sujaygarlanka the idea is not to delete the shared link but to remove the expiry date of the existing shared link

+1
The Box CLI currently has no way to remove the expiration date of a shared link.
While this is not a fatal bug, I am having trouble with it as well.


Ad skip-by-year button to date selection widget

Right now you can only skip ahead or back one month at a time. This gets old. Hopefully we can find a widget that supports skipping in 12-month increments too.

If you click on the year or the month, you can actually select them. I didn't see this at first, but it's a much better option now that I know it's there.


Heading update (new default level and updated docs)

This draft pull request attempts to address the comments mentioned in issue #694:

Change Heading to default to h2 so users don't accidentally use multiple h1s
Update the docs to be clear on how to choose a different heading level

The Heading component now defaults to using an h2 instead of h1. It also includes prop type validation for the as prop. This may not be necessary, but it attempts to restrict the html elements to only h1-h6 (please let me know if this is inappropriate). The docs page was also updated to make sure the user is aware that the default heading value is h2. It also updates the component props to include the as prop (similar to the TabNav component).
Finally, I wanted to verify that this is a major version change and that package.json should be updated accordingly (version 17.0.0 as of this pull request).
Closes #694
Screenshots
Please provide before/after screenshots for any visual changes
Merge checklist

[x] Added or updated TypeScript definitions (index.d.ts) if necessary
[x] Added/updated tests
[x] Added/updated documentation
[ ] Tested in Chrome
[ ] Tested in Firefox
[ ] Tested in Safari
[ ] Tested in Edge

Take a look at the What we look for in reviews section of the contibuting guidelines for more infomation on how we review PRs.

Thank you for taking a look @emplums! Apologies for missing the type definition 🤦♂! I pushed an update, but would welcome extra review since I'm still new to TypeScript.
Additionally, it seems like I should update src/__tests__/Heading.js as well. The first test renders <h1> by default would now fail (Line 35).
There is also an invalid prop of i being used on line 97 to test the fontStyle prop - I could simply remove that expect block if i is definitely no longer a valid html element.

Tested manually and merged into release branch. Thanks again!

Thank you! Happy to help!


[suggestion] access the wrapped component inline

Sometimes, I want to access the wrapped component's vm inline. For example as followed:
<comp>

...

</comp>

If we want to do something according to comp's invalid value, we have to rewrite the comp to receive an oninvalid function property (or watch the property by the comp's context) and create a property invalid on their common vm.
<comp oninvalid="{{oninvalid}}"> // oninvalid = invalid => this.invalid = invalid

...

</comp>

So I think should vue support the feature as followed?
<comp v-ref="comp">

{{$.comp.invalid}}

</comp>

or
<comp>
<v-inline as="$inline"> // element directive to create an anonymous component like v-repeat with a $meta property $inline.

{{$inline.value}}

</v-inline>
</comp>

or
<comp>

{{component.value}}

</comp>

In 1.0.0 you will be able to do this:
<comp ref="comp">

{{$.comp.invalid}}

</comp>


bump: :emacs vc

Doom configs that use the :emacs vc module are broken due to this issue

P.S.: Closed in favor of #5665


Making export file not required - Azure Container Instances

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

Codecov Report

Merging #6462 into dev will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff         @@
##           dev   #6462   +/-   ##
===================================
  Coverage    0%      0%
===================================
  Files       11      11
  Lines      133     133
  Branches     9       9
===================================
  Misses     133     133

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c2fa315...1ecccd5. Read the comment docs.

I will begin prototyping add a yaml output format to the CLI, which you can leverage for your output.

That sounds good. Let me know if there's anything I can help with.

I opened a PR to introduce YAML output format for the entire CLI. https://github.com/Azure/azure-cli/pull/6911

@samkreter I'm closing this PR because the YAML is now an official output type of CLI.


chore: upgrade to otel core stable v1.0.1 and experimental v0.0.27

Upgraded OTEL versions to 0.27

One last small request, the supported version is also stated in the README of the repo.
We should also update the version there, from v0.26.0 to v0.27.0


Add an option to choose the behavior when HDF5 file or dataset already exists

There should be an option to choose what should happen when data is already present (error, warning, override, etc.)

In GitLab by @ksiero on May 27, 2021, 14:35
mentioned in commit 8ac83d2c58b02433fdeafc84df192a3150343e72

In GitLab by @ksiero on May 20, 2021, 12:16
mentioned in commit 451baa61e032a54c293a9086b6cdddb87fa92006

In GitLab by @ksiero on May 27, 2021, 14:34
mentioned in commit 78717bcba5e74f37bad7e3c30e470acdb9d56853

In GitLab by @ksiero on May 26, 2021, 13:11
mentioned in commit 3f4eafebd93aa7632af899d04133acc26f4ae01f

In GitLab by @ksiero on Jul 20, 2021, 12:10
mentioned in commit 94539c4f790e0a80d7b7995fd72f87d22e2ee24f


preset: support bframes for H264 videos

It would be great to be able to set bframes on the presets for H264 video.

Fixed in #293


Unable to build with clone of master

When cloning master and trying to run make build I get the following output.
jsloyer@librenms:~$ cd unifi-poller/
jsloyer@librenms:~/unifi-poller$ make
for p in `find ./cmd -mindepth 1 -maxdepth 1 -type d`; do rm -f `echo ${p}|cut -d/ -f3`{,.1,.1.gz}; done
script/build_manpages.sh ./
Creating Man Page: cmd/unifi-poller/README.md -> ./unifi-poller.1.gz
for p in `find ./cmd -mindepth 1 -maxdepth 1 -type d`; do go build -ldflags "-w -s" ${p}; done
# _/home/jsloyer/unifi-poller/cmd/unifi-poller
cmd/unifi-poller/main.go:30:21: undefined: unifi.GetController
cmd/unifi-poller/main.go:105:43: not enough arguments in call to controller.GetClients
	have ()
	want ([]unifi.Site)
cmd/unifi-poller/main.go:107:50: not enough arguments in call to controller.GetDevices
	have ()
	want ([]unifi.Site)
Makefile:10: recipe for target 'build' failed
make: *** [build] Error 2

This may due to some inconsistencies with the upstream unifi library. I'll get this worked out shortly.

I think, if you use dep, make deps will fix this. Maybe....

I merged a few things.  You should be good to go. Lemme know!

I've merged a couple dozen commits to master and created two more releases. Pretty sure this issue is closed. Let me know if I can help out any more!


Move depth first order numbering of CFG nodes to codepropertygraph repo.

This is a preparation step to avoid calculation the depth first order
numbering multiple times.

Ok, let's merge it once we need it.


error "synchronize.go:554: WARN: disconnecting from peer <IP_ADDRESS>:9981 because IBD failed: Stream reset by peer with error 4"

when i build a sia testnet, i got this error,i dont know where is wrong.

My guess is that you are connecting to the peers on mainnet, because right now the peer handshake has no way of detecting if you are talking to someone on the same network. There's a PR open right now to fix this (#1641), should be merged in 1-2 weeks.

closing since we have switched to smux


Run a scheduled task on remote server

I'd like to see ASP.NET C# example of how to run a scheduled task on a remote server using the task scheduler.

Does this help you in the meantime? https://github.com/dahall/TaskScheduler/issues/534

thanks for the reply.
No, this doesn’t really help.  I’m not having any access denied issues.  I just need to know how to start the scheduled task.  It has a time/date trigger, but the users would like to run it at will from a web page.
we don’t want to use PsExec.
thanks again.
Michael
From: David Hall<EMAIL_ADDRESS>Sent: Wednesday, September 12, 2018 10:41 AM
To: dahall/TaskScheduler<EMAIL_ADDRESS>Cc: mcourter<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dahall/TaskScheduler] Run a scheduled task on remote server (#783)
Does this help you in the meantime? #534 https://github.com/dahall/TaskScheduler/issues/534
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dahall/TaskScheduler/issues/783#issuecomment-420673187 , or mute the thread https://github.com/notifications/unsubscribe-auth/ACo2J9Z6NFTGrmGTn66AbzgPJEzKaDpcks5uaRzlgaJpZM4WlQTG .  https://github.com/notifications/beacon/ACo2J_4jU3SvJvtV5GzAEle-k0IWjbX-ks5uaRzlgaJpZM4WlQTG.gif

If you can get an instance of the remote task, then you should be able to run it.
// No error checking!!
public static void RunRemoteTask(string server, WindowsIdentity user, string taskPath, string[] runParams)
{
   var context = user.Impersonate();
   using (var ts = new TaskService(server))
      ts.GetTask(taskPath)?.Run(runParams);
   context?.Undo();
}

You may need the RunEx command that let's you specify conditions and a user when in that remote context.

thanks much!
will try tomorrow morning.
From: David Hall<EMAIL_ADDRESS>Sent: Wednesday, September 12, 2018 1:31 PM
To: dahall/TaskScheduler<EMAIL_ADDRESS>Cc: mcourter<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dahall/TaskScheduler] Run a scheduled task on remote server (#783)
If you can get an instance of the remote task, then you should be able to run it.
// No error checking!!
public static void RunRemoteTask(string server, WindowsIdentity user, string taskPath, string[] runParams)
{
var context = user.Impersonate();
using (var ts = new TaskService(server))
ts.GetTask(taskPath)?.Run(runParams);
context?.Undo();
}
You may need the RunEx command that let's you specify conditions and a user when in that remote context.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dahall/TaskScheduler/issues/783#issuecomment-420732553 , or mute the thread https://github.com/notifications/unsubscribe-auth/ACo2J35cYIiBMsyeZlehin-bZNM9gP6Jks5uaUTpgaJpZM4WlQTG .  https://github.com/notifications/beacon/ACo2J3bpIvDHIx8xc1QU4cujlbw7_Dkrks5uaUTpgaJpZM4WlQTG.gif

I see why you referred to the link in your previous email.  Need the Impersonate() method.
From: David Hall<EMAIL_ADDRESS>Sent: Wednesday, September 12, 2018 1:31 PM
To: dahall/TaskScheduler<EMAIL_ADDRESS>Cc: mcourter<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dahall/TaskScheduler] Run a scheduled task on remote server (#783)
If you can get an instance of the remote task, then you should be able to run it.
// No error checking!!
public static void RunRemoteTask(string server, WindowsIdentity user, string taskPath, string[] runParams)
{
var context = user.Impersonate();
using (var ts = new TaskService(server))
ts.GetTask(taskPath)?.Run(runParams);
context?.Undo();
}
You may need the RunEx command that let's you specify conditions and a user when in that remote context.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dahall/TaskScheduler/issues/783#issuecomment-420732553 , or mute the thread https://github.com/notifications/unsubscribe-auth/ACo2J35cYIiBMsyeZlehin-bZNM9gP6Jks5uaUTpgaJpZM4WlQTG .  https://github.com/notifications/beacon/ACo2J3bpIvDHIx8xc1QU4cujlbw7_Dkrks5uaUTpgaJpZM4WlQTG.gif

Can I assume you got it to work?

sorry, not yet.
several JIRA tickets popped in front of the queue this morning…heh
will let you know.
thanks for follow up.
From: David Hall<EMAIL_ADDRESS>Sent: Thursday, September 13, 2018 10:55 AM
To: dahall/TaskScheduler<EMAIL_ADDRESS>Cc: mcourter<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dahall/TaskScheduler] Run a scheduled task on remote server (#783)
Can I assume you got it to work?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dahall/TaskScheduler/issues/783#issuecomment-421036278 , or mute the thread https://github.com/notifications/unsubscribe-auth/ACo2J4QvupaYwJw7mKeZtH3oS9Ajs7mOks5uanG-gaJpZM4WlQTG .  https://github.com/notifications/beacon/ACo2J2yQigVPFqa7k_L_XQg1RfVWuSd0ks5uanG-gaJpZM4WlQTG.gif

well I don’t think I’m going to be able to use C# 6 without a fuss around here…
From: David Hall<EMAIL_ADDRESS>Sent: Thursday, September 13, 2018 10:55 AM
To: dahall/TaskScheduler<EMAIL_ADDRESS>Cc: mcourter<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dahall/TaskScheduler] Run a scheduled task on remote server (#783)
Can I assume you got it to work?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dahall/TaskScheduler/issues/783#issuecomment-421036278 , or mute the thread https://github.com/notifications/unsubscribe-auth/ACo2J4QvupaYwJw7mKeZtH3oS9Ajs7mOks5uanG-gaJpZM4WlQTG .  https://github.com/notifications/beacon/ACo2J2yQigVPFqa7k_L_XQg1RfVWuSd0ks5uanG-gaJpZM4WlQTG.gif

not sure of the syntax?  I get a "Object reference not set to an instance of an object." error.
    using (TaskService ts = new TaskService(@"\\<myServer>”, "myUser", "myDomain", "myPassword"))

    {

        try

        {

ts.GetTask("C:\Windows\System32\schtasks.exe").Run("/S  /U  /P  /run /TN myTaskName");
From: David Hall<EMAIL_ADDRESS>Sent: Wednesday, September 12, 2018 1:31 PM
To: dahall/TaskScheduler<EMAIL_ADDRESS>Cc: mcourter<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dahall/TaskScheduler] Run a scheduled task on remote server (#783)
If you can get an instance of the remote task, then you should be able to run it.
// No error checking!!
public static void RunRemoteTask(string server, WindowsIdentity user, string taskPath, string[] runParams)
{
var context = user.Impersonate();
using (var ts = new TaskService(server))
ts.GetTask(taskPath)?.Run(runParams);
context?.Undo();
}
You may need the RunEx command that let's you specify conditions and a user when in that remote context.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dahall/TaskScheduler/issues/783#issuecomment-420732553 , or mute the thread https://github.com/notifications/unsubscribe-auth/ACo2J35cYIiBMsyeZlehin-bZNM9gP6Jks5uaUTpgaJpZM4WlQTG .  https://github.com/notifications/beacon/ACo2J3bpIvDHIx8xc1QU4cujlbw7_Dkrks5uaUTpgaJpZM4WlQTG.gif

Why do you need C# 6? There is nothing in the sample code that cannot be translated to C# 2. Calling the function I posted would look like:
RunRemoteTask("MYSERVER", new WindowsIdentity("john@mydomain.com"), "MyCom\\MyTask", null);

I just realized I don’t.  just removed the null checker ‘?’
I sent another email.  I’m not sure what to feed the gettask call.
no luck with:
ts.GetTask("C:\Windows\System32\schtasks.exe").Run(ts.RootFolder.Tasks["vatsMonthlyStatements - Marquette"].ToString());
From: David Hall<EMAIL_ADDRESS>Sent: Thursday, September 13, 2018 3:52 PM
To: dahall/TaskScheduler<EMAIL_ADDRESS>Cc: mcourter<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dahall/TaskScheduler] Run a scheduled task on remote server (#783)
Why do you need C# 6? There is nothing in the sample code that cannot be translated to C# 2. Calling the function I posted would look like:
RunRemoteTask("MYSERVER", new<EMAIL_ADDRESS><EMAIL_ADDRESS>"), "MyCom\MyTask", null);
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dahall/TaskScheduler/issues/783#issuecomment-421131628 , or mute the thread https://github.com/notifications/unsubscribe-auth/ACo2J2I-p2Dau_DQnEgkYXekASkNWHYAks5uard7gaJpZM4WlQTG .  https://github.com/notifications/beacon/ACo2J-lJCEsCh3BsEPaFPfSdUWQc3xkWks5uard7gaJpZM4WlQTG.gif

The name of the task path inside the Task Scheduler. See my example. If it is in a folder, then specify the folder hierarchy separated with '' with no backslash on the front. Then the name of the task. For example, a task you may have in the root folder would be "BitLocker Reminder". A task you might see in a folder would be @"Microsoft\Windows\Bluetooth\UninstallDeviceTask".
Also, the parameters after the first in the TaskService constructor should be null. The parameters to the Run method is a string array (e.g. new string[] { "value1", "value2" }) or null. Most of the time it is null. Please refer to my sample code (first and later posts).

Full code with example and error checking: https://dotnetfiddle.net/YNTQva

System.TypeInitializationException
HResult=0x80131534
Message=The type initializer for 'Microsoft.Win32.TaskScheduler.TaskService' threw an exception.
Source=Microsoft.Win32.TaskScheduler
StackTrace:
at Microsoft.Win32.TaskScheduler.TaskService.GetLibraryVersionFromLocalOS()
at Microsoft.Win32.TaskScheduler.TaskService.ResetHighestSupportedVersion()
at Microsoft.Win32.TaskScheduler.TaskService.ResetUnsetProperties()
at Microsoft.Win32.TaskScheduler.TaskService.Connect()
at Microsoft.Win32.TaskScheduler.TaskService.set_TargetServer(String value)
at Microsoft.Win32.TaskScheduler.TaskService..ctor(String targetServer, String userName, String accountDomain, String password, Boolean forceV1)
at main_printletters.RunRemoteTask(String server, WindowsIdentity user, String taskPath, String[] runParams) in c:\Users\mcourter.RPS\Source\repos\vatsDashboardWebForms\main\printletters.aspx.cs:line 410
at main_printletters.btnGenerateMonthlyStatements_Click(Object sender, EventArgs e) in c:\Users\mcourter.RPS\Source\repos\vatsDashboardWebForms\main\printletters.aspx.cs:line 162
Inner Exception 1:
NotSupportedException: The Task Scheduler library version for this system cannot be determined.
From: David Hall<EMAIL_ADDRESS>Sent: Thursday, September 13, 2018 4:39 PM
To: dahall/TaskScheduler<EMAIL_ADDRESS>Cc: mcourter<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dahall/TaskScheduler] Run a scheduled task on remote server (#783)
Full code with example and error checking: https://dotnetfiddle.net/YNTQva
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dahall/TaskScheduler/issues/783#issuecomment-421145312 , or mute the thread https://github.com/notifications/unsubscribe-auth/ACo2J91N9tQIGTlvg52BHPr5uOZjVHWnks5uasJugaJpZM4WlQTG .  https://github.com/notifications/beacon/ACo2J1YqK-IjCqurF9jkVUP0n4bWExd6ks5uasJugaJpZM4WlQTG.gif

The error message I sent to you is new.  I tried again with my old code which was at least able to create the task service and it is getting this new error.
From: David Hall<EMAIL_ADDRESS>Sent: Thursday, September 13, 2018 4:39 PM
To: dahall/TaskScheduler<EMAIL_ADDRESS>Cc: mcourter<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dahall/TaskScheduler] Run a scheduled task on remote server (#783)
Full code with example and error checking: https://dotnetfiddle.net/YNTQva
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dahall/TaskScheduler/issues/783#issuecomment-421145312 , or mute the thread https://github.com/notifications/unsubscribe-auth/ACo2J91N9tQIGTlvg52BHPr5uOZjVHWnks5uasJugaJpZM4WlQTG .  https://github.com/notifications/beacon/ACo2J1YqK-IjCqurF9jkVUP0n4bWExd6ks5uasJugaJpZM4WlQTG.gif

I have it working in a console app using a server on our network.
now I am trying to make it work with an Azure server.
I receive this error
System.Runtime.InteropServices.COMException
HResult=0x80070032
Message=The request is not supported. (Exception from HRESULT: 0x80070032)
Source=
StackTrace:

does the interop service need something different for Azure?
From: David Hall<EMAIL_ADDRESS>Sent: Thursday, September 13, 2018 4:39 PM
To: dahall/TaskScheduler<EMAIL_ADDRESS>Cc: mcourter<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dahall/TaskScheduler] Run a scheduled task on remote server (#783)
Full code with example and error checking: https://dotnetfiddle.net/YNTQva
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dahall/TaskScheduler/issues/783#issuecomment-421145312 , or mute the thread https://github.com/notifications/unsubscribe-auth/ACo2J91N9tQIGTlvg52BHPr5uOZjVHWnks5uasJugaJpZM4WlQTG .  https://github.com/notifications/beacon/ACo2J1YqK-IjCqurF9jkVUP0n4bWExd6ks5uasJugaJpZM4WlQTG.gif

looks like there is no interop service in Azure.
From: David Hall<EMAIL_ADDRESS>Sent: Thursday, September 13, 2018 4:39 PM
To: dahall/TaskScheduler<EMAIL_ADDRESS>Cc: mcourter<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dahall/TaskScheduler] Run a scheduled task on remote server (#783)
Full code with example and error checking: https://dotnetfiddle.net/YNTQva
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dahall/TaskScheduler/issues/783#issuecomment-421145312 , or mute the thread https://github.com/notifications/unsubscribe-auth/ACo2J91N9tQIGTlvg52BHPr5uOZjVHWnks5uasJugaJpZM4WlQTG .  https://github.com/notifications/beacon/ACo2J1YqK-IjCqurF9jkVUP0n4bWExd6ks5uasJugaJpZM4WlQTG.gif

If Azure is running a full version of Windows, then it should be there. If only a partial or if this is just a service, then it will not. I'm looking into that method that threw the TypeInitializationException exception. I think there is a minor bug there. I should have more data shortly.

I found a bug that may (or may not) be related to the error you're seeing. I have fixed it in release 2.5.8 which is now available. Please update your NuGet package and let me know if the exception persists.

with new NuGet
UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {0F87369F-A4E5-4CFC-BD3E-73E6154572DD} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
From: David Hall<EMAIL_ADDRESS>Sent: Monday, September 17, 2018 9:03 PM
To: dahall/TaskScheduler<EMAIL_ADDRESS>Cc: mcourter<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dahall/TaskScheduler] Run a scheduled task on remote server (#783)
I found a bug that may (or may not) be related to the error you're seeing. I have fixed it in release 2.5.8 which is now available. Please update your NuGet package and let me know if the exception persists.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dahall/TaskScheduler/issues/783#issuecomment-422219035 , or mute the thread https://github.com/notifications/unsubscribe-auth/ACo2J68sMRrkYJXJvltApsCLeiEk81tlks5ucEYngaJpZM4WlQTG .  https://github.com/notifications/beacon/ACo2J40XQUE5ovDfW9ouXnLiZdjUVSLnks5ucEYngaJpZM4WlQTG.gif

Access denied can happen a two places during the connection:

When trying to access the COM server.
When trying to connect to the remote task service.

Both topics are covered in the Wiki: https://github.com/dahall/TaskScheduler/wiki/TaskSecurity

I wasn’t getting that error before.  I was able to create the task scheduler object, but didn’t know how to run it.  Now I cant create the object using the same code that was working.
From: David Hall<EMAIL_ADDRESS>Sent: Tuesday, September 18, 2018 9:56 AM
To: dahall/TaskScheduler<EMAIL_ADDRESS>Cc: mcourter<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dahall/TaskScheduler] Run a scheduled task on remote server (#783)
Access denied can happen a two places during the connection:

When trying to access the COM server.
When trying to connect to the remote task service.

Both topics are covered in the Wiki: https://github.com/dahall/TaskScheduler/wiki/TaskSecurity
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dahall/TaskScheduler/issues/783#issuecomment-422402894 , or mute the thread https://github.com/notifications/unsubscribe-auth/ACo2J7FwEJqlNKi7XcezhVjBgFjJhYRhks5ucPt2gaJpZM4WlQTG .  https://github.com/notifications/beacon/ACo2J9AbSX22OUCFUOxdAy2XK_tvq4bTks5ucPt2gaJpZM4WlQTG.gif

Please reopen if you want me to continue to investigate.


DVT is failing with a "NotImplementedError: Oracle type <cx_Oracle.DbType DB_TYPE_LONG_RAW> is not supported" (Oracle to AlloyDB)

I'm running DVT with Oracle source system and AlloyDB (postgres) destination system. For a few of the tables, DVT is not running and giving the error NotImplementedError: Oracle type <cx_Oracle.DbType DB_TYPE_LONG_RAW> is not supported. I have confirmed that table exists in both the source and destination databases. The paths are also correct because DVT is running well for most of the other tables in the schema.
The table contains a string column and a column which contains Long Raw (oracle)/Binary data (alloydb). As per the the PostgreSQL documentation, DB_TYPE_LONG_RAW seems to be related to Binary data.
Can you please help with the issue and give a direction as to what DVT requires in order to handle raw/binary data type?
Table schema (oracle)

Table schema (alloydb)

Snapshot of the error log when running the DVT command

Hi @violetautumn, thank you for all the details you provided, it helps us a lot to address your problem!
@nj1973 could you please also take a look at this? I'll check this datatype support on Ibis versions.

@violetautumn Hi, we opened a PR to fix this issue, but could you please test this changes with your data to confirm our current approach works?
You'll need to clone our repo, checkout to this specific branch issue1904-oracle-dbtype-longraw-not-supported, create a virtual Python env if you don't have one already, activate it and then execute pip install .
Let us know your outcomes, thank you!

Hello @helensilva14, sure, I'll try it out and let you know, thanks for the fix!

Hello @helensilva14, the PR works! Just tested the tables with DB_TYPE_LONG_RAW for schema_validation and it works.

Thanks @helensilva14 and @nj1973 for the quick fix, this helps a lot!


[Feature] : Adding Issue template for bug

@roshan1337d I would like to work on this issue under gssoc'23

Go ahead, assigned this to you 👍