Testing swipes not works for me

I've read all the features and I'm really excited about your script.
but sincerely I'm not able to make it work.
If you can kindly help me.
I attach my test files that I use in a localhost
thank you!
https://github.com/esseifforte/testSwupJS

@esseifforte  Probably it is not detecting the click on your link
Add this LINK_SELECTOR: '.swup-link' in swup options and add class .swup-link in your links
But other mistakes happened that I can not explain:

thank you Samuel! now this works.
I do not know if I missed something in the info of the plugin or I'm careless, but I had not really seen that a special link had to be put in the html.
The CORS you told me appeared to you, maybe it depends on your server setting, with MAMP everything works fine in all browsers.

let options = {
debugMode: true,
support: false,
LINK_SELECTOR: 'a[href^="' + window.location.origin + '"]:not([data-no-swup]), a[href^="/"]:not([data-no-swup]), a[href^="./"]:not([data-no-swup]), a[href^="#"]:not([data-no-swup])',
LINK_SELECTOR: '.swup-link',
animations: {
'homepage>*': {
in: function(next){
document.querySelector('#swup').style.opacity = 0;
TweenMax.to(document.querySelector('#swup'), 1, {opacity: 1, onComplete: next});
},
out: function(next){
            TweenMax.to(document.querySelector('#swup'), 1, {opacity: 0, onComplete: next});
        }
    },
}

}
const swupjs = new Swupjs(options);
/////
I followed the instructions (I have to do a particular animation from home to internal pages and another only between internal pages) but now only a lot of mistakes!:
Uncaught TypeError: Cannot read property 'out' of undefined
at r.t.exports [as getAnimation] (plugins.js:38)
at r.t.exports [as loadPage] (plugins.js:38)
at r.t (plugins.js:38)
at HTMLDocument. (plugins.js:38)
ps. I use plugin.js to collect all the plugins here. but the error comes precisely from swupjs.js

You go find a better documentation here: SWUP
The SWUPJS is diferent of SWUP only in animations possibilities.
Here is my actually configuration:
`const options = {
LINK_SELECTOR: '.js-link',
FORM_SELECTOR: '.js-form',
elements: [
'#main'
],
animations: {
'*': {
out: function(next){
TweenMax.to(document.querySelector('#main'), 0.5, {
x:"-100%",
onComplete: next
});
},
in: function(next){
TweenMax.fromTo(document.querySelector('#main'), 1, {
x:"100%"
}, {
opacity: 1,
x:"0%",
onComplete: next
});
}
},
},
cache: true,
pageClassPrefix: '',
scroll: false,
debugMode: true,
preload: true,
support: true,
skipPopStateHandling: function(event){
if (event.state && event.state.source == "swup") {
return false;
}
return true;
},
animateHistoryBrowsing: true,
}
const swup = new Swupjs(options);`

Hi,
swup by default works for links with the href attribute starting with / or current domain (like localhost, example.com...). The links in your demo don't start with either of those. Change your links or as @MartDSam suggested, changing the option and adding the class will help too.
Access to XMLHttpRequest at 'file:///D:/wamp/www/sites/testSwupJS-master/index.html
This refers to browser not being able to make a request. Making requests is not possible when simply opening a file in a browser (hence your url string with file:///). Running the page in a server environment like MAMP will solve this.
Cannot read property 'out' of undefined
Animation object (option) is missing the definition for * value. This is required as a fallback for any transitions not defined in the animation object.
animations: {
      '*': {
          // this needs to be defined
      },
      'homepage>*': {
          // this is optional
      },
  },

Thank you so much, I do not want to bother you or make you waste unnecessary time for my requests. but I would really like to understand and learn this script for my sites, as I really like it.
I would not just like a default animation, that thanks also to the help of @MartDSam I solved.
I try to explain myself better.
I have a site with 4 pages:
an index (homepage), about, music, contacts.
the home has no navigation but a slider with links to the 3 pages, while each page has an internal menu between the same three pages.
Now. from the homepage> to the about, music and contact pages I would like to do a kind of animation and then enter the menu.
while in the 3 pages by clicking on the menu we go around in the same 3 pages.
I hope to understand better as soon as possible and then do not bother you anymore! :)
thank you!

@esseifforte No worries, but I'm not quite sure I understand your issue.
I think we've covered how to do different animations for different page transitions and that it's no longer an issue for you, correct?
The issue you are describing rather sounds like a project description. If you want to know how to do some particular thing, I'm happy to help. If you have some wireframes or something to explain your intention closer, that would be awesome, but the question needs to be specific.
If your issue is that the menu is not there on one of the pages, it should be as simple as hiding the menu on the homepage with CSS, based on the class you assign to the <body> tag. However, navigation should be part of the page on all pages, and be only hidden with CSS.

Thank you very much @gmrchk . I hope to be able to learn well the mechanisms of your script (obviously in js) and then be able to exploit it in all my sites.
I created this animation to make you better understand what I had explained.
0. Of course I work everything with Gsap

every body has its own class (home, about, projects, contacts)
the fullpage.js block of the home comes alive at the entrance and when you click on the remaining buttons 'discover' there is an animation that lets everything out, while the logo remains and only the photo of the chosen page.
at each entry of the internal pages directly from the home, enter the menu, and the animation of the contents of each page.
the animations between the 3 pages about, projects and contacts is simple, the one you explained to me, while the logo and the menu are still.

I really hope I can understand this fantastic script !!!! :)

Nice demo! I would start step by step.
Fading away all the contents, displaying the menu based on the body class, excluding the main photo of the chosen page from fading away, fading in only the rest of the contents of the page on the pages about/project/contacts, without the main picture (so it looks like it never switched to the next page, even when it did)...
Based on your demo, I'm pretty sure you could achieve this even with swup (without swupjs). Could be more straightforward to implement based just on classes, but that depends on what you're more comfortable with.
Seems like you have it pretty figured out tho, so I'm not sure whether you need some more assistance from me. I'm going to close this, but feel free to open a new issue if you have some particular problem.

thank you!
however, it remains the problem that I can not understand which class I have to put in order to get what I did in the demo.
that is, the transition ONLY when we go to the other pages from the homepage:
animations: {
     '*': {
             out: function (next) {
                 TweenMax.fromTo (document.querySelector ('# swup'), 0.5, {x: '0%'}, {x: '- 100%', onComplete: next});

             },
             in: function (next) {
             TweenMax.fromTo (document.querySelector ('# swup'), 1, {x: '- 100%'}, {x: '0%', onComplete: next});
             }
          },
          'homepage> * about': {
             out: function (next) {TweenMax.fromTo (document.querySelector ('. container-fullpage'), 0.5, {opacity: 1}, {opacity: 0, onComplete: next});
             },
             in: function (next) {
             TweenMax.fromTo (document.querySelector ('. Container-fullpage'), 1, {opacity: 0}, {opacity: 1, onComplete: next});
             }
          },
forgive me, you can also close, maybe I open another post.

I think I see what you mean. Your definition for the animation page is wrong (homepage> * about is not valid animation name in swupjs). You can use any url (with the exception of homepage where the word 'homepage' is used instead, as there is no route). When using *, swup just assumes it can be any url. The animation that is the most "fitting" is chosen automatically, but your animation name has wrong format so it was assumed by swup as "not fitting" by default and the '*' animation was used instead.
animations: {
    'homepage>*': {
        // this is used for transition from homepage to any other page
    },
    '*': {
        // this is used for any other transition, between the subpages OR from subpage to homepage
    },
}


[do not merge] Adds v0 GOAT implementation

Motivation and Context
Corresponding habitat-lab branch: home-robot_goat_support

Changelog

How Has This Been Tested

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have made changes to existing documentation where needed.
[ ] I have added tests that show that the PR is functional.
[ ] I ran tests/hw_manual_test.py on hardware and observed that robot behavior looks normal.

@mukulkhanna @yvsriram What do you guys think is the best way to pre-build a semantic map and instance memory and evaluate instance matching against it? It seems like there's no easy way to do this right now. This would be super helpful to try different approaches to match goals against the memory offline.


[$250] Composer Markdown - Markedown is apllied while using triple markdown symbols

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v9.0.16-4
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:

Go to any chat
Type any text using 3 markdown symbols e.g Bold
Observe that markdown is still applied and the symbols are also shown

Expected Result:
Markdown should not have been applied and symbols should have been shown
Actual Result:
Both Markdown is applied and symbols are shown
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/6d0bf712-7394-4e11-8139-721db9c4d6b4

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~012fa185e25d8599dd
Upwork Job ID:<PHONE_NUMBER>678535796
Last Price Increase: 2024-08-09

Issue OwnerCurrent Issue Owner: @s77rt

We think this issue might be related to the #vip-vsb.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Providing 3 markdown symbols results in presenting markdown as well as styling applied.
What is the root cause of that problem?
Presence of first markdown itself applies the styles. Remaining characters are present as plain text.

For e.g. _ _ _ italic _ _ _ (without spaces) results in _ _ italic _ _
What changes do you think we should make in order to solve the problem?
providing the same in github results in italic
In here check explicitly for the markdown characters are apply custom styles like 3 markdowns.
src\pages\home\report\ReportActionCompose\ComposerWithSuggestions\ComposerWithSuggestions.tsx
const onChangeText = useCallback(
. . .

What alternative solutions did you explore? (Optional)
Do it in a more generic way by handling such cases inside RNTextInput component or AnimatedTextRef component.

I don't see why this is flagged as bug. Looks working as expected to me
🎀 👀 🎀 For confirmation

Yeah this works as expected - what's the regression test for this?

@s77rt / @thienlnam : As explained here is current behavior of markdown in composer. However, a triple markdown with * (asterik) or _ (underscore) is considered as all bold and italic by text fields like github comment box.
Reference doc: https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax
Aren't we expected to support a similar markdown style?

@kpadmanabhan That's just markdown flavor and we use a different one (ExpensiMark)

@s77rt : is the expectation that expensimark need an update?

@kpadmanabhan This is already working as expected. Nothing to update

@s77rt : thank you. Then I don't think there is any fix needed here.
@izarutskaya / @anmurali : fyi


Implement move,copy,delete.

It would be useful to move,copy and delete other worksheet,csv, files format to a worksheet. Would appreciate if can be implemented soon, and i am also ready/eager to help with it , during my part time.
Thanks

So was move ever implemented?


Compile out policy enforcement when unused

Even when no policies are loaded, we perform 4 map lookups (L3+L4, L4-only, L3-only, and allow-all) in the datapath on both ingress and egress to lookup policies. This is going to increase to 8 map lookups once #12716 is merged.
We should therefore compile out these map lookups and any preparatory work (maybe ipcache lookups to retrieve the source secID?) when no policies are loaded. Ideally we would detect this automatically to avoid additional configuration from users (+ if configured via an option, we'd likely have to disable it by default).

[ ] Figure out with what granularity we want to compile out policy enforcement (e.g., allow compiling out L3+L4, but not L4-only or L3-only).
[ ] Put appropriate policy enforcement code in datapath behind ENABLE_POLICY_XXX ifdefs. Same for code that is unnecessary once policy enforcement itself is compiled out (e.g., some ipcache lookups).
[ ] Regenerate endpoints with appropriate ENABLE_POLICY_XXX when policies are loaded.
[ ] If we detect this automatically, we might still need to have an opt-out flag in case of issues and for users who expect frequent policy changes and want to avoid the associated regenerations (even though our current templating mechanism should prevent full compilations most of the time).
[ ] Add tests. Maybe checking the header files in a couple of existing tests would be enough if this is enabled by default. Not sure what else we can check.

/cc @kkourt

Adding @joestringer to the discussion. We had this mode in the past (likely <1.5) where there were no map lookups if the policy didn't select that endpoint.
I think we switch to lookup based for 2 reasons, potentially others that's why I'm adding Joe:

Avoid endpoint bpf regeneration between policy and no-policy modes;
Know if the bpf programs can be compiled regardless of the endpoint being selected by a policy or not, where complexity changes between policy and no-policy, and it could be dangerous to see an endpoint failing to have its bpf regeneration failing at the time we are enforcing a policy.

Would it be possible to do a runtime check instead?
For example, maintaining a counter for the elements of the map and only doing a check when it is not zero could give us a lot of the performance benefits without the hassle of recompiling.
From a quick look, BPF maps do not seem to support an operation for getting the number of elements or even optimize for this case (e.g., not doing a lookup if the element count is zero) but I might be missing something. If indeed maps do not support this, maybe it's possible to maintain such a count externally?

From a quick look, BPF maps do not seem to support an operation for getting the number of elements or even optimize for this case (e.g., not doing a lookup if the element count is zero) but I might be missing something.

They don't as far as I know.

If indeed maps do not support this, maybe it's possible to maintain such a count externally?

That's an interesting idea. We could reduce 4/8 map lookups to only 2 when all maps but one are empty. The downside is that we would have one more (array) map lookup when all policy maps are non-empty, to store the count itself.

Also, do we now what the cost of doing a lookup on an empty map is? If not, maybe it's worth doing a micro-benchmark to measure it?  (does not sound too hard)

If we're driving decisions like this based on the number of map lookups, another direction to look at is how we can resolve the allow/deny maps in userspace first then only push down allow entries into the datapath. More up-front computation but lower per-packet cost. This would mean we don't need the extra four maps.

@joestringer That would be ideal, but don't we need at least port ranges to implement that without running into map size issues? Imagine if we have the following. The equivalent allow rule would require 65534 map entries.
a -> b:* allow
a -> b:22 deny

AFAICS, there's the same issue with IP addresses, although it might not be as bad.

Looking at the code, maybe it would be possible to avoid some lookups by using an LPM map? For example, for each pair of the 4 lookups that we do we:

lookup a key
zero sec_label part of the key, and lookup again.

If sec_label was at the end of the key, then maybe we can do an LPM lookup and then check if sec_label is set

I made some initial evaluations on this last week. I followed our new performance evaluation guide to compare Cilium without any policy enforcement (4 related map lookups compiled out) and vanilla Cilium without any policies loaded.
I couldn't see any meaningful differences in terms of pod2pod throughput at this stage. This is also confirmed by perf sampling: map lookups are visible as __htab_map_lookup_elem and lookup_nulls_elem_raw in the kernel. With policy enforcement compiled in, they account for around 1.76% and 1.40% of CPU cycles respectively. With policy enforcement compiled out, they account for 1.30% and 0.93%. So compiling out policy map lookups make a difference but it's small in comparison to other overheads.
I'll revisit this once we've taken care of larger overheads (then, it may make a difference). I'll also check if we could compile out some of the ipcache lookups as well, when policy enforcement is compiled out.


abi_checker.py: empty report but returns 1

Note: This is just a template, so feel free to use/remove the unnecessary things
Description

Type: Bug
Priority: Minor

I saw scripts/abi_check.py complain that it found issues and fail with the exit code 1, but it prints out an empty report.
 Observed on CI (https://jenkins-internal.mbed.com/job/mbed-crypto-pr/job/PR-131-head/6/execution/node/1263/log/) and reproduced locally. Also reproduced with the latest and greatest abi_checker.py from https://github.com/ARMmbed/mbedtls/pull/2661 . Note that with the old version there was no failure in cleanup.
Expected behavior, in general: the script either succeeds, or it reports at least one issue.
Expected behavior, in this specific case: the PR removes some obsolete functions. There was no parseable indications that the functions were obsolete, so I'd expect the script to complain about them.

Fixed by https://github.com/ARMmbed/mbedtls/pull/2675 in mbedtls, will make its way to mbed-crypto in the next merge from mbedtls.


Ensure tests are run using EN-US locale

Fixes https://github.com/microsoft/Power-Fx/issues/166

Great that this doesn't need to change Fx.Core anymore!

We can't move to .NET 5 here unfortunately

Fixed


Update label parameter definition when used in input

When we updated the label and input parameter definition, the label stopped showing when used in the input macro.
This PR removes unneeded specific parameter item declarations with the params object. Keys  are picked up by the label macro automacitally

actually this is solved by #267
closing


unable to retrieve credentials if docker config does not exist

When you helm push but do not have a ~/.docker/config.json it fails with "unable to retrieve credentials".
If also fails if ~/.docker/config.json exists but auths."https://index.docker.io/v1/" does not exist in the file.
This happens even when pushing to an unauthenticated registry.
Full line is:
helm push ./dotnetchart-0.1.0.tgz oci://registry.abcdef.localhost:5000/abcdef/ --plain-http

After running docker login to Docker Hub, the file is created and helm push works.
It seems to be from this line:
https://github.com/helm/helm/blob/1b260d0a796882a1e90f0fa3c832659dbe2e675c/pkg/registry/client.go#L144C39-L144C39
Output of helm version: version.BuildInfo{Version:"v3.13.0", GitCommit:"825e86f6a7a38cef1112bfa606e4127a706749b1", GitTreeState:"clean", GoVersion:"go1.20.8"}
Output of kubectl version:
Client Version: v1.28.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.27.4+k3s1

Cloud Provider/Platform (AKS, GKE, Minikube etc.): k3d (k3s).

I think this is the same as: https://github.com/helm/helm/issues/12423
Can you try with 3.12.x please. Or build from source (fixed in main).

@gjenkins8 I can't, I just tried with a version built from source but it doesn't support --plain-http, and this is a local unauthenticated registry.

@gjenkins8 I tried now building from main,  and got a different error:
Error: unable to retrieve credentials: error getting credentials - err: exit status 1, out: `GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files`

It fails if the config file does not exist and also if it exists but the auths."https://index.docker.io/v1/" section is missing.

The other thought I have, is that presumably credentials will be required overall? Since the registry (e.g. dockerhub here) won't allow anonymous / unauthenticated push access.
I also vaguely recollect (and could easily be wrong here). OCI repositories request that the client authenticates. If that is the flow, it would make sense for the client to error if it is unable to source credentials for the repository.

You can see on the example I posted that the registry is not docker hub, so having (or not having) auth information for docker hub is irrelevant.
It is especially incorrect behavior because docker hub auth won't be used at all, if it was checking for auth for the specific registry I'm using it would be less wrong, but still wrong as that registry does not demand auth.

actually, I was mistaken above. I think this is caused by: https://github.com/helm/helm/pull/12424

#12237 has been reverted ( https://github.com/helm/helm/pull/12527) due to https://github.com/helm/helm/issues/12491
marking this fixed. Fix will be released in Helm 3.13.3


'shared' is unavailable: not available on iOS (App Extension) on Xcode 13 beta 3

Describe the bug
The package is not compiling on Xcode 13 beta 3, shows this error: 'shared' is unavailable: not available on iOS (App Extension) - Use view controller based solutions where appropriate instead
Steps to reproduce the behavior:
Open your project using Xcode 13 beta 3
Clean project
Build Project
See error
Expected behavior:
Package compiles successfully
Versions
Xcode: 13.0 beta 3 (13A5192j)
Mac OS: 11.4
Library Version: 6.5.6
Additional context
There is a thread here https://forums.swift.org/t/set-application-extension-api-only-on-a-spm-package/39333/17 which explains the issue.

Here is an example fix in the braintree iOS sdk https://github.com/braintree/braintree_ios/commit/89912f4cc91cf8b715343623e9572b325cb949ac

Hi @paulmesa-paypal we officially do not support beta version of Xcode. We only support the latest released version of Xcode.
We will try to take a look at this if this is an easy fix.

Thank you for all the links provided.

Here's the fix:
https://twitter.com/twannl/status/1415643866414338054

Understandable! @tapashmajumder I do have a fix up on a fork that we've been using for development here https://github.com/Iterable/swift-sdk/compare/master...paulmesa-paypal:pm/july/SteelThread but I havent verified any behavior outside of the small subset that we use

Just want to reiterate up, this makes Xcode beta's impossible to use without removing Iterable entirely.
I know that you dont support betas, but I just want to highlight that this means we can't work on features in coordination with Apple to launch along side the release of iOS 15.
It is extremely debilitating to have to remove Iterable each time we need to work on an iOS 15 feature in anticipation of the launch.

@kylebrowning Can you please escalate this issue using your CSM for Iterable? Which company do you work for?
This way we can prioritize this issue with urgency if needed.

The Athletic. I'll raise a new support ticket, thanks.

I opened a ticket but I havn't heard back. At any rate, it looks like Apple has reverted this change in Xcode Beta 5 and Iterable works again!

Good to hear this @kylebrowning . In the future if you open a ticket and get no response kindly have the item escalated via your CSM. This ticket did not get escalated to engineering.
I will go ahead and close this issue.

Well I wouldn't say this should be closed, Theres a very real chance you'll have to do this in the future.

OK. Keeping this open.

This issue should be resolved with SDK version 6.3.4


Fix console warnings

What type of PR is this?
/kind bug
What this PR does / why we need it:
TO fix the console warning on wallet form
Which issue(s) this PR fixes:
Fixes #1078

Got the idea from this https://github.com/ant-design/ant-design/issues/15166


Enhancements/distinguishing feature from sample

Renamed aura and class files using two prefixes:
LJUT, for the Lightning Jasmine Unit Testing framework
SAMP, for sample files

I added another sample component, a sort of "Hello World" for testing.
This exposed a serious problem with the LJUT_Test component (formerly, JobTest):
There was a magic number "2" saying how many results to listen for, regardless of the number of components included on the JobTest component.
Thus, if I included extra components, if they were at the beginning of the list, the results from old components would disappear and if they were at the end of the list, the new tests did not seem to run.
Moreover, if I removed a test, results would never display because the "completed" value wouldn't hit 2.
For now, I've put an attribute and a note in the component, using the attribute in place of the magic number.
A better solution would be to calculate the number from the length of the now identified "lightning-components-to-test" component.  I tried to do something along this line, but I was observing unexpected results.


Add portuguese documentation

Context

Add portuguese documentation

Checklist before requesting a review

[X] I have performed a self-review of my code
[ ] I've added documentation about this change to the README.
[X] I've not introduced breaking changes.

Thank you!


Visualize in parameters while debugging

When debugging display the value of the in parameters for a given function when you are debugging and also what kind of data a function will be called with at a callsite
See this for inspiration: http://www.youtube.com/watch?v=-YZUGJaaasE#t=12m50s

Moved to https://prodbg.phoreplay.com/T37


Move Tinker UI/update inspector views

This is another good candidate for a video call walkthrough-style review.  LOTS of lines changed here, but a lot of that is due to moving files to Kotlin and some renaming.
@RaimundasSakalauskas ping me on Slack when you're free to do the call for this review.
@monkbroc should I try to include you on the call with Raimis & I, find another time for just you & I, or do you want to just try to wade through this one the traditional way?

@monkbroc should I try to include you on the call with Raimis & I, find another time for just you & I, or do you want to just try to wade through this one the traditional way?

Invite me when you and Raimis look at this and if I'm available I'll participate. If not I'll wade through :)

Reviewed this live via Hangouts with @RaimundasSakalauskas . Merging.


Any SUPPORT please - V1.0.16 Desktop NOT connecting?

Still NOT able to connect with the DESKTOP wallet ioPay V1.0.16 using CHROME Version 102.0.5005.115 (Official Build) (64-bit) on either of these websites:

burndrop.iotex.io/#airdrip
stake.iotex.io/

Can anyone explain HOW to "IMPORT" when there is no option in the Wallet?
Thanks

hello @amjad3000 have this issue been resolved? importing is very easy to complete.

Good afternoon megan7654
Thank you for taking the time to answer, as I was wondering if anyone
review  github - given it was posted June 2022?
Yes, I'm still not able to do so, even after upgrading to the latest
version of ioPay wallet.
I'm using Windows 10 with Chrome (104.0.5112.102 (64-bit)) and when going
to stake.iotex.io it keeps giving the same ,message of "import & unlock"?
Also,
I had to downgrade ioPay to 1.0.16 because it has a bug when trying to
click CLAIM - it shuts down, and does not complete the task?
Many thanks again
AJ
On Mon, Aug 29, 2022 at 11:07 AM megan7654 @.***> wrote:

hello @amjad3000 https://github.com/amjad3000 have this issue been
resolved? importing is very easy to complete.
—
Reply to this email directly, view it on GitHub
https://github.com/iotexproject/iotex-desktop-wallet/issues/1956#issuecomment-1230077397,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGB6CE32GE2ANX2OM7KT6X3V3SDXNANCNFSM5ZGIVMHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


print() misses space between args

In Python, print("x", "y") prints "x y", but in Godot it prints "xy".
Since, if you wanted the latter, you could just use print("x" + "y") or print(str("x", "y")), I think you should revert to the Python standard behaviour. Just different for no good reason.

agree

disagree
I find more convenient to write :
print("label : ",value_int," (",value_float,")")

instead of :
print("label : "+str(value_int)+" ("+str(value_float)+")")

But anyway, it's a minor feature issue, since the only purpose of print() is for dev and debug purpose ... if it is changed to the python way, I'll adapt myself.

Well, no, in that case it would be: print("label :", value_int, " ("+str(value_float)+")") since you are forgetting that you can use the added spaces in your example!


Stopping runtime sometimes results in 'thread panicking'

On branch 87-blosc-compression-support, when writing zarr files, stopping runtime sometimes results in this error message. After calling runtime.stop(), the code will hang for a while and then spits out the error code.  It happens reliably when NI pulse is on finite sample mode after finishing pulses and rarely when NI pulse is in continuous sample mode.

@micahwoodard is this still an issue?


Namespace name cannot be 'export'

Hi,
I am looking into JSPyBridge because I would like to use Jovo to write skills for voice assistants, but I really don't know anything about Javascript and would like to write most of the logic in Python.
I have added import { python } from 'pythonia'; to the Jovo tutorial example. When I call jovo run, this compiles the Typescript in the Jovo project and its dependencies, including Pythonia:
tsc-watch --onSuccess "node ./dist/app.dev.js --jovo-webhook" --noClear

This call to tsc-watch fails with the following error:
----------------------
8:01:58 PM - Starting compilation in watch mode...

node_modules/pythonia/src/pythonia/py.stdlib.d.ts(1232,16): error TS2819: Namespace name cannot be 'export'.
node_modules/pythonia/src/pythonia/py.stdlib.d.ts(1233,6): error TS1005: ',' expected.
node_modules/pythonia/src/pythonia/py.stdlib.d.ts(1234,2): error TS1005: ',' expected.
node_modules/pythonia/src/pythonia/py.stdlib.d.ts(1234,11): error TS1005: ',' expected.
node_modules/pythonia/src/pythonia/py.stdlib.d.ts(1234,22): error TS1005: ',' expected.
node_modules/pythonia/src/pythonia/py.stdlib.d.ts(1234,43): error TS1109: Expression expected.
node_modules/pythonia/src/pythonia/py.stdlib.d.ts(1234,53): error TS1005: ';' expected.
node_modules/pythonia/src/pythonia/py.stdlib.d.ts(1236,2): error TS1005: '{' expected.
node_modules/pythonia/src/pythonia/py.stdlib.d.ts(1257,1): error TS1128: Declaration or statement expected.

8:02:02 PM - Found 9 errors. Watching for file changes.

I understand that you are probably not familiar with Jovo, but perhaps this error message is already informative for you? It looks like "export" is a reserved keyword in Typescript, but you are using it as a module name in py.stdlib.d.ts.
I apologize for the slightly messy issue - I really don't understand what I'm doing on the Javascript side.
I use Node 14.15.2<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Hello
You can delete this file if it's causing a problem, it's just used for providing type definitions used for auto completion in text editors.
That said, tsc-watch should usually ignore the node_modules folder as those are 3rd party dependencies, likely already compiled to Javascript (tsc is supposed to compile typescript to .JS files).
From a quick search (alternatively you can use the "exclude" config option), adding this to your tsconfig should do the trick:
https://stackoverflow.com/a/57653497

Fantastic, thanks for the quick response! Deleting the file fixed the problem.

Sorry to reopen this issue again.
I now have the problem that if I try to shut down the Python interpreter as explained in the documentation, I get this error message from the Typescript compiler:
> tsc-watch --onSuccess "node ./dist/app.dev.js --jovo-webhook" --noClear

----------------------
10:04:24 AM - Starting compilation in watch mode...

src/components/LoveHatePizzaComponent.ts(27,12): error TS2339: Property 'exit' does not exist on type '<T extends PyTypeName>(type: T) => Promise<PyObjectType<T>>'.

Could this be because I deleted the py.stdlib.d.ts?
For the record, leaving the file there and adding --skipLibCheck to tsc did not fix the original issue.

Looks like the typescript compiler is working in strict mode. Anyhow, I think these types should completely be removed or loosened to avoid strict type errors like these.
You should be able to delete the index.d.ts file to remove these errors in node_modules/pythonia/, or add in a // @ts-ignore above the line with the error to silence it.

Thanks for the quick and helpful response. For the record, removing index.d.ts did not work (created other errors), but // @ts-ignore seems to have fixed it for now. I look forward to the next release with your pull request. :)


Telugu subsetting issue: ˚F

w/ degrees Fahrenheit:
http://codepen.io/shyndman/pen/LZpNYz?editors=1100
correct rendering:
http://codepen.io/shyndman/pen/OXyNPd?editors=1100

same here, I'm afraid I don't understand what the issue is. Could please you elaborate?

@shyndman Attach screenshot please.

That is a bug in the font, abvs feature maps glyph for U+0C48 TELUGU VOWEL SIGN AI to a glyphs that looks like ˚F, and somehow this substitution shows up only in the subset font.

Testing with the font from https://github.com/google/fonts/blob/master/ofl/mallanna/Mallanna-Regular.ttf:
$ hb-view Mallanna-Regular.ttf "మైన"

$ pyftsubset Mallanna-Regular.ttf --text="మైన"
$ hb-view Mallanna-Regular.subset.ttf "మైన"

@davelab6

Still, weird that happens.  We should figure out what's going on.

okay probably the fact that HB wants to decompose AI matra into two characters.  Subsetter doesn't know that.  Yeah, probably safe to ignore.  Would be nice if subsetter was smarter though.

We have #615 for this.


Fix for types derived from un-namespaced types.

Type.Namespace can be null. There are cases where such cases are not correctly handled.
The easiest example is:
interface INoNamespaceInterface { }
namespace MyNamespace
{
    public class MyType: INoNamespaceInterface {} // Gives NRE
}

This PR fixes this problem.
But codebase-wise, there are places where Type.Namespace == not handled well.

@microsoft-github-policy-service agree

Thanks for the PR and bug report.
It looks like the CI is just complaining about some pedantic issues in the test code. For info about that check see https://github.com/microsoft/node-api-dotnet/blob/main/README-DEV.md#checkfix-formatting
Since it's test code, it would be OK to disable some of those warnings with #pragma warning disable


Fix web query segments

Fixes decoding the query segment on the web router. We currently parse the route from only the pathname which does not include the query. This PR adds the query segment before parsing the route which should fix query parameters always being empty on the web router.

Is there something preventing this from being merged?


--input-wh different from img_size

Just wondering if my img_size if different from the default input-wh, where I should modify to fit my own custom dataset?

@Nanyangny  function test_single in demo.py, you will find your answer.


How do I file an issue against SanntiS?

Hi @SantiagoSanchezF,
How do I file an issue against SanntiS? When I view the repo page (https://github.com/Finn-Lab/SanntiS) this is no "Issues" in the menu...
Thanks.

Hi @cymon
I've just enabled the issues in https://github.com/Finn-Lab/SanntiS, please create any new "issues" with the tool there.
Thank you


Move subheading to be included in the h1

Context

https://dsdmoj.atlassian.net/browse/CAS-471

Changes in this PR
Subheading in the context they are being used would be very important for screenreaders to inform users what page they are viewing.
Example, If this change was not done then screenreaders would only read out "Joe Bloggs Unallocated" instead of  "Referral summary Joe Bloggs "
ref: https://design-system.service.gov.uk/styles/headings/#headings-with-captions
If the caption should be considered part of the page heading, you can also nest the caption within the .
There should be no visional difference from what users previously saw.
Release checklist
Release process documentation.
Pre-merge checklist

[ ] Are any changes required to dependent services for this change to work?
(eg. CAS API)
[ ] Have they been released to production already?

Post-merge checklist

[ ] Manually approve
release to test
[ ] Manually approve
release to preprod
[ ] Manually approve
release to prod

Just come across this extra caption which should also be moved into the following heading: https://github.com/ministryofjustice/hmpps-temporary-accommodation-ui/blob/801f1fa30e9f48ebf503ea4923dacf08fa3afaf0/server/views/applications/full.njk#L28


Clean CDN hosts

What CDN does this PR relate to

ArenaNet
Hirez
RenegadeX
Steam
WARGAMING
Xbox Live

Does this require running via sniproxy
No.
Capture method
Looking up hosts via diagnostics tool.
Testing Scenario
Home.
This change addresses some general housecleaning for CDN hosts:

Removing all hosts that do not resolve
Removing any rogue whitespaces in CDN .txt files
Removing hirez CDN (as the only host could not be resolved)

Nice job, thanks
Additional note for future vibs> Testing for lancache/diagnostics resulted in realisation that a few of our trigger domains don't actually resolve any more outside of a LCN configuration. Consequently we are removing these from the configuration


Creative Studio Budget Request

Scope
Bear markets are for building.
This budget request is to continue the work I’ve been doing over the past months, and take on more functions and responsibilities as we become more streamlined.
I believe this is exactly the time we should be investing in long term brand planning, smart campaigns that target TVL boosts, and new product initiatives that tap new audiences for TVL increases or existing audiences (for the same reason).
Furthermore, as per Georgia’s research findings, good copywriting and simplification will be important steps for us to make core Yearn products more user friendly and understandable.
Plan
Areas of responsibility include, but are not limited to:

New TVL boosting products (e.g NFTreasury)
Brand development (tone of voice, strategy, visual work with Alpha)
Campaign planning
Campaign & content creation
Copywriting and tone of voice guardian across Yearn (e.g working with Evan and the design team where required).

We are entering a period where we need to do more with less. This is where scrappy, smart, tactical and highly targeted marketing, product improvements and longer term thoughtful branding building will be a strong combination.
I’ve spent the last months getting to know Yearn’s brand and lore intimately, and we are now well positioned to push onwards and help ensure we emerge with a stronger identity, voice, and purpose than ever before (and maybe with a couple of new products along the way).
Deadline
2022-09-31
People
Draper, working under oversight from @banteg.
(Always happy to pull in favours from my network to benefit Yearn wherever I can.)
Money
$18,333 p/m
Starting in July (current grant ends June) with an evaluation after three months (sept).
Amount
18,333
Wallet address
0x8727FF875E070d73B678cCea85BF9FF01c05A785
Reporting

[X] I agree to post weekly updates

Hey Draper, sorry for this question.
But do you have exemple of things you have done ?
18k / month seems a lot, especially during a budget cut.
Also wondering this as we are already paying 40k for a branding agency, how would that fit with this ?

Hey cryptoouf,
No need to apologize for the question. In case it wasn’t clear, this is a full time role (to be transparent it is below my market rate), and I hope that the work I do at Yearn provides good value.
We are no longer paying 40k for a branding agency and we are taking over that work internally as part of the creative studio.
As mentioned in the budget request, the areas I work on in this creative studio role are:

New product initiatives. Developing creative product concepts with market fit (e.g most recently NFTreasury).
Create & execute our social campaigns/ and announcements. We are on a mission to increase our execution level/ and effectiveness atm.
Yearn rebrand creative development (first externally with nemesis, now internally with a small core team).
Copywriting across Yearn (something that has been called out in user research that was commissioned recently as being an area we need to invest in).

Those are my main areas of work, but I help out on other things as and when required. It’s important that Yearn becomes lean during the bear market, but we also need to continue to push into attracting new users and improving our brand.
I hope this answers your question.
Cheers,
Draper

Hello Draper. Thanks for sharing this budget proposal and the extra information provided.
I can see from your wallet address that you have received 3 18,333DAI payments (Apr, May, June). The amount you request is the same moving forward.
Looking at the market situation, the overall industry mode, layoffs in yearn and new budget process to achieve a more efficient use of capital, I would expect from our contributors, to contribute with this trend Yearn has embarked on. What I mean by this is that I expect a cut on your request accordingly as other parts of Yearn have gone through.
I don't know your credentials to assess how off market your current request is, but I do see that working on Brand building in Yearn most likely is the most exciting thing that any well aware marketeer could imagine to work on. Working in  a DAO, built through a fair launch, with an unique culture of doers, writing the pages of history every-single-day is something you should put into perspective when choosing to contribute for Yearn at a lower rate vs. doing it at a full rate for other options you for sure have.
thanks!

Thanks for your answer.
I guess Miguel asked the question in a better way.
I find that 18k / month is A LOT in this context , even if i agree that this work is key, and this is why some of us are trying to help in that direction.
What have you been doing during the last month ?
You wrote:

I’ve spent the last months getting to know Yearn’s brand and lore intimately, and we are now well positioned to push onwards and help ensure we emerge with a stronger identity, voice, and purpose than ever before (and maybe with a couple of new products along the way).

I can't convinced myself that being paid 18k month matches with this...
Do you have exemple of work you have done ? (not necessarily for Yearn)

there is a common perception that copywriting is easy.
because anybody can do it.
code either compiles or it doesn't, and you can see it immediately. that's nice.
good copywriting doesn't compile until it reaches the people who are reading it. the compiler won't tell you that.
so you send your copy out to the world and that's that. job done. i'm a copywriter. lovely. oh - wait.
so. we hire a georgia. she's a specialist web3 researcher. and she talks to people. and asks them, do people understand how yearn works. in her first tranche of work she was looking for the low-hanging fruit – how can we easily fix how we speak to people while they use our vaults.
quite a bit of work to do there.
we also hire a nemesis - martii and lucas. and they talk to a lot of ppl at yearn, and ask - what does yearn mean? where did it come from? where's it going? what's the point?
if you aren't sure about draper's work, please go and speak with martti and lucas. go and have a chat with alphanumeric, who's producing the brand visual creative direction. talk to me and ask me about the work he's done. have you noticed the change in comms of late? inpa.
draper is a one in a million advertising defi person (not 'just' copy, he's an advertising creative - look it up), who we should be welcoming to help make this space better. we all know defi needs better ux, better comms, better ways of communicating with people.
he's worth his weight in gold.
instead of resisting – see him as one of the teachers we need.

quite a few people don't understand what draper does, which is fair enough when we all live in software / dev land - but open your minds. after all that's what we're here for. right.
right?
draper is an advertising creative - he's the copy part of art and copy.
advertising creatives work in teams. he's copy, i'm art.
b is also art. evan is art too.
so is alpha.
draper knows how to write ux copy to fix our software and make it better for ppl to use.  evan's pretty great at that too.
I am boring and (attempt to) get people adhere to basic user journey stuff that georgia points out (please do it - it's there for a reason, sorry).
draper is also p good a photoshopping memes.
he comes up with magical campaign ideas - he's not sitting at a keyboard writing text - his brain is on fire with ideas.
it's lovely to see his ideas come to life
we could all talk about market rates - and yes, draper is asking for lower than he'd ask in ad-land - but it's seriously depressing hearing so many people commenting on his ask.
yes you could save x amount per month - but haven't any of you watched mad men!
appreciate the creatives! he loves us - give him some love back ffs.
https://user-images.githubusercontent.com/7863230/174318667-8600d4c2-3ed9-473a-88f0-1c9dc1900676.mp4
(and have a scroll through all the tweets on main)

Hi @pentcle . Thanks for sharing the info. From my PoV I don't see any updates from the Brand/creative/Marketing teams on the "Team updates" notion page: https://yearnfinance.notion.site/Ecosystem-Updates-adcccb9a1f4b44d5ade65f22bb6f2380 or/and on the https://roamresearch.com/#/app/yearn website
I'm not going to judge the above content shared as I don't know the Brand guardrails and Brand identity framework used when producing such assets that you have shared. I do know there is a new Brand Identity being rolled out and I already can see lack of coordination on the first sneak peak on the Ystory video shared on Twitter (old logo).
I don't need to ask the ppl that you've mentioned about the work done, cuz I'm not a budget auditor tasked to talk to ppl and audit the work done, it should be all the way around: shared transparently as a habit within the team itself. We operate in a transparent blockchain, hence, teams should be transparent in their habits as well.
I am going to judge this:

Lack of reporting: we need constant transparency on the ways of working for every team, sharing what had been done during budget request is an after thought, not a good behavior. We need better behaviors, and if this budget passes, I strongly encourage the team to frequently share what they are working on, what they've accomplished, what they are planning, where they struggle; if not budget requests become a chase.
As stated before, Draper already started working at a 18,333DAI rate in Jan, so it was already an argument back then that such rate was below market. Back then the market was different, now the market has crashed and Yearn is going through budget cuts, further new ones, hence I don't see how the same argument "below market rate" that was used back in JAN can be used again here. The situation is different and I expect every contributor to empathize, contribute with the cuts and keep the protocol moving forward, this is what separates "maximum value extractors" in the old world system from real hardcore doers committed to a cause in a DAO who are not looking to extract value, but to build together. I do bare in mind that this needs to be a win-win relationship, the point is not to squeeze contributors / providers to such a level that they are struggling, the point is, to make the protocol survive and when better times come, it will remain a win-win situation for both sides as well.

thanks for sharing and for the time you guys are putting into this, I do appreciate it honestly.

You also wrote "he's copy, b is art. evan is art too." Are those members core members ? what is their salary ?
b is banteg. people in core-team are sometimes polymaths.
you can see core team salaries here
https://gov.yearn.finance/t/ybudget-update-bear-minimum-comp/12609


Detect if local collection sdk is outdated

Solution to issue #6
also added a fix to refresh the operators section after installing the collectios-sdk successfully.

Tests are failing due to the branch name being too long which causes failures while creating a namespace in Openshift. After executing the tests locally, everything seems to be fine. Merging


How to verify/restore backups created by CronJob

The documentation is very unclear how to verify or restore backups created by a CronJob. There's no running pod to connect to for running the verify, versus the long-running backup container approach.
Would it be just as easy as running a second CronJob to run the backup script in verification mode?

It should be.  The command would be /backup.sh -s -v all, rather than /backup.sh -1.

Including the -s option caused an error as it seemed to think it was running in scheduled mode and couldn't fine the schedule setting. Running /backup.sh -v all seemed to do the trick.
Also, I didn't need a separate CronJob, I just changed the one CronJob's command to:
- "/bin/bash"
- "-c"
- "/backup.sh -c && /backup.sh -1 && /backup.sh -v all"


Remove direct access to MainActivity.* variables and access DB instead

Previously, we were accessing MainActivity.feedGroup and other companion object variables. This is bad practice for clean code so instead, we should have each activity communicate with the database layer to retrieve the feeds on startup and write changes on exit. I also updated the Design Document with a section reflecting these changes.

That sounds like a good idea. As you say, it would make formatting a whole lot more consistent. Toward the end of the phase, after everything is integrated, we should probably go through and make sure everything is consistent (with the aforementioned klint rules).


The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Unexpected rethrowing".

Driver version
mssql-jdbc-7.1.2.jre11
mssql-jdbc-7.0.0.jre10 ( i think I got the problem with this one too)
Problem / Question
I've been refactoring my database connection code, and I probably have a new non-oblivious problem since but I need some pointers on what is going on in the mssql driver.
I seem to have random problems creating SQL connections that otherwise would work ok. I get the following stacktraces while connecting to a NON-ENCRYPTED sql server 2017 database.
Can someone explain the TDS Prelogin negociations vs SSL vs any other encryption scheme that might explain why I get this exception sometimes ? Or is this wrong exception message ? Is there some SSL going on to login even if we don't have encrption setup on the sql server side ?
com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Unexpected rethrowing".
        at com.microsoft.sqlserver.jdbc@7.1.2.jre11-preview/com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:2826)
        at com.microsoft.sqlserver.jdbc@7.1.2.jre11-preview/com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1829)
        at com.microsoft.sqlserver.jdbc@7.1.2.jre11-preview/com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2391)
        at com.microsoft.sqlserver.jdbc@7.1.2.jre11-preview/com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:2042)
        at com.microsoft.sqlserver.jdbc@7.1.2.jre11-preview/com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1889)
        at com.microsoft.sqlserver.jdbc@7.1.2.jre11-preview/com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1120)
        at com.microsoft.sqlserver.jdbc@7.1.2.jre11-preview/com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:700)
        at java.sql/java.sql.DriverManager.getConnection(Unknown Source)

Caused by: javax.net.ssl.SSLProtocolException: Unexpected rethrowing
        at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source)
        at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
        at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
        at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
        at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
        at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
        at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
        at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at com.microsoft.sqlserver.jdbc@7.1.2.jre11-preview/com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1756)
        ... 41 more
Caused by: java.io.IOException: SQL Server returned an incomplete response. The connection has been closed. ClientConnectionId:b9ef7c65-28e5-4858-9cc1-642eaa2725d1
        at com.microsoft.sqlserver.jdbc@7.1.2.jre11-preview/com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.ensureSSLPayload(IOBuffer.java:786)
        at com.microsoft.sqlserver.jdbc@7.1.2.jre11-preview/com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.readInternal(IOBuffer.java:836)
        at com.microsoft.sqlserver.jdbc@7.1.2.jre11-preview/com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.read(IOBuffer.java:829)
        at com.microsoft.sqlserver.jdbc@7.1.2.jre11-preview/com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream.readInternal(IOBuffer.java:999)
        at com.microsoft.sqlserver.jdbc@7.1.2.jre11-preview/com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream.read(IOBuffer.java:989)
        at java.base/sun.security.ssl.SSLSocketInputRecord.read(Unknown Source)
        at java.base/sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
        ... 46 more

Hi @martinm1000, could you share your connection string that you're using to produce this error?

@peterbae Its the most simple one:
'''
jdbc:sqlserver://WKS-DEV-23;encrypt=false;user=user;password=xxxxxx;applicationName=xxx;databaseName=XXXXX
'''
by rapidly reload data in my app I just got the exception again (event with encrypt=false).

I can confirm I also can get this exception using mssql-jdbc-7.0.0.jre10.

I think I'll try to write a small test class that could reproduce it.
I'm having a hard time reproducing it, but right now by best way to do it is by running my app from a java 11 runtime image with everything on the module path. Not sure if this is really a factor or not. I need to quickly reload stuff in my app to trigger new sql connection in a quick succession and then I might get the exception.

ssllog.txt
I'm attaching a text log of reproducing the problem with the jvm option -Djavax.net.debug=ssl:handshake if this can be helpfull.

I believe this kind of error should have a internal retry as some other type of internal ssl errors are retried in the driver (SQLServerException.DRIVER_ERROR_INTERMITTENT_TLS_FAILED), but it doesn't looks like this one get another chance on the first fail, unless I'm mistaken. (SQLServerException.DRIVER_ERROR_SSL_FAILED)

Hi @martinm1000 ,
Please post the exact java version (java -version). Also what Operating System is the application running on?

Hi @ulvii
Windows 10
openjdk 11.0.1 2018-10-16
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.1+13)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.1+13, mixed mode)

I'm about to post a "working" test case that sometimes reproduce the problem (a simple loop). I am currently trying to find out why I sometimes can't get it to crash... and well... its a bizarre one.
Right now I can only have it trigger when I running on a JLINKED runtime and not from the complete JDK runtime. Anyways, I'm running some more tests before posting it.
But that would match what I see since yesterday and why I havent seen that problem before my tests under Java 11.

Could you use connection property sslProtocol=TLSv1 to force the driver to use TLS 1.1 and let me know if you are still seeing failures?

So far so good with TLSv1. At least we have that ;-)

Great, now we confirmed that you are seeing the failures because of intermittent TLS1.2 issues.
Please take a look at this article, which explains the cause of the issue (changes to Windows ciphers) and also possible resolution/workarounds.
I would also like to explain why the driver is unable to retry when there is a logic implemented for this. Intermittent TLS1.2 issue is "guessed" by the driver based on the error message from the server. See this line. For some reason, your JDK version wraps the actual and expected exception message SQL Server returned an incomplete response. The connection has been closed. into Unexpected rethrowing. Below is the stack trace of my application with Oracle JDK 11.0.1+13.
com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "SQL Server returned an incomplete response. The connection has been closed.". ClientConnectionId:f155980e-207c-48c5-a2e4-804bdeb655b9
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:2825)
	at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1812)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2391)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:2042)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1889)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1120)
	at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:700)
	at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)
	at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:228)
	at Issue849.main(Issue849.java:14)
Caused by: javax.net.ssl.SSLProtocolException: SQL Server returned an incomplete response. The connection has been closed.
	at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:126)
	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:321)
	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:264)
	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:259)
	at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:137)
	at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1152)
	at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1063)
	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:402)
	at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1741)
	... 8 more
Caused by: java.io.IOException: SQL Server returned an incomplete response. The connection has been closed.
	at com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.ensureSSLPayload(IOBuffer.java:772)
	at com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.readInternal(IOBuffer.java:821)
	at com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.read(IOBuffer.java:814)
	at com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream.readInternal(IOBuffer.java:984)
	at com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream.read(IOBuffer.java:974)
	at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:448)
	at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:165)
	at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:108)
	... 12 more

Notice how Caused by: javax.net.ssl.SSLProtocolException: SQL Server returned an incomplete response. The connection has been closed. is different from yours, hence the driver throws the exception without retrying.
Please let me know if you have any other questions.

Question: how did you get the stacktraces without it just retrying and silencing them since you do have the expected exception message (and not the Unexpected rethrowing) ?

When executing with the full JDK I never (not yet anyway) got the exception
I suggest to get the JDBC logs and compare them between full JDK and minimal JRE. I suspect the intermittent TLS1.2 issue happens in both cases, but with full JDK the driver actually retries. You would need to add the following lines to your application to get the logs on console:
ConsoleHandler cs = new ConsoleHandler();
cs.setFormatter(new SimpleFormatter());
cs.setLevel(Level.FINEST);
Logger.getLogger("").addHandler(cs);
Logger logger = Logger.getLogger("com.microsoft.sqlserver.jdbc");
logger.setLevel(Level.FINEST);

If retry actually happens, you will see a line: Connection failed during SSL handshake. Retrying due to an intermittent TLS 1.2 failure issue.
Another possibility is that DHE suites are disabled for the JDK as mentioned in this article.
How did you get the stacktraces without it just retrying and silencing them since you do have the expected exception message (and not the Unexpected rethrowing) ?
I didn't reproduce the exact intermittent failure, instead I made ensureSSLPayload() to always fail with Caused by: java.io.IOException: SQL Server returned an incomplete response. The connection has been closed. Driver retries INTERMITTENT_TLS_MAX_RETRY = 5 times and gives up.

Ok, I'll try that Thursday.
I've already looked at that article earlier today. Its really bizarre because I don't get why java would not use fixed key sizes, which this article state might be the source of the intermittent failure (when less than 1024).
Still I'll do more tests, we need to find the source of the "Unexpected rethrowing" because since this bypass the driver retry logic, this problem might become bigger in the future...

I could not get the retry logged message when running on the full jdks, I don't get why, its like it never needed to retry ?
I tested Oracle commercial jdk and Oracle open jdk build. Its all the same as for AdoptOpenJDK.
Running on full JDK all look OK. Running on a JLINKED image from each JDK, they all get the same problem (Unexpected rethrowing) that bypass this driver retry logic...
I'm going to have a look at finding more about that "Unexpected rethrowing".
But it does look like the current retry logic won't work on jlinked jdk 11 runtimes.

Well I have no idea. I suppose I'll go with SSLv1 and hope its support never goes away...
Someone else will have to look/test this, I don't see what else I can do.
java.base/sun.security.ssl TransportContext:293
// Note: close_notify is not delivered via fatal() methods.
    void fatal(Alert alert, String diagnostic,
            boolean recvFatalAlert, Throwable cause) throws SSLException {
        // If we've already shutdown because of an error, there is nothing we
        // can do except rethrow the exception.
        //
        // Most exceptions seen here will be SSLExceptions. We may find the
        // occasional Exception which hasn't been converted to a SSLException,
        // so we'll do it here.
        if (closeReason != null) {
            if (cause == null) {
                if (SSLLogger.isOn && SSLLogger.isOn("ssl")) {
                    SSLLogger.warning(
                            "Closed transport, general or untracked problem");
                }
                throw alert.createSSLException(
                        "Closed transport, general or untracked problem");
            }

            if (cause instanceof SSLException) {
                throw (SSLException)cause;
            } else {    // unlikely, but just in case.
                if (SSLLogger.isOn && SSLLogger.isOn("ssl")) {
                    SSLLogger.warning(
                            "Closed transport, unexpected rethrowing", cause);
                }
                throw alert.createSSLException("Unexpected rethrowing", cause);
            }
        }

Caused by: javax.net.ssl.SSLProtocolException: Unexpected rethrowing
        at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:126)
        at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:293)
        at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:264)
        at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:259)
        at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:137)
        at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1152)
        at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1063)
        at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:402)
        at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1756)

You can generate a debugable image using :
jlink.exe --compress=2 --add-modules java.base,java.logging,java.naming,java.security.jgss,java.sql,java.transaction.xa,java.xml,java.instrument,jdk.jdwp.agent --output runtime

I can see that in debug that the Exception (Unexpected) has the IOException (incomplete response) as a cause. Persharps adding a new if branch for this case here would be a safe way to support what I see (but don't fully understand why this happen).
(errMsg.equals(SQLServerException.getErrString("R_truncatedServerResponse")))

Possible explanation I'm currently looking at:

Running on the full JDK, TLSv1.2 advertise a LOT more cipher suites than a minimal jlinked runtime.

Its possible the old retry code stopped working a long time ago, but cipher changes in the JDK got selected and were not subject to the intermittent bug.

Java 11? runtimes generated from jlink don't export all the same cipher suites and the one used is subject to the intermittent bug.

What do you think ?

Hi @martinm1000 ,
I am pretty sure the retry logic still works, as long as the actual error message does not get wrapped into something else in the middle.
I also think it is fair to also check for the error message of the e.getCause(), for which I will create a PR soon and ask the team to review it.

@ulvii

I am pretty sure the retry logic still works, as long as the actual error message does not get wrapped into something else in the middle.

I'm not so sure about this. But difficult to prove as the problem is not easy to reproduce (well if you forgot my case here).
Ok, so I found out that if someone generate a runtime image with the additional modules below, the jlinked image will advertise for TLS the same algorithms that the full runtime do. And I guess we will have an algo used that won't be subject to the intermittent issue.
So this might be a solution (we're shoving the real problem under the carpet but....)
jdk.crypto.ec,jdk.crypto.cryptoki

As for the code that wrap the exception, I think the current sun.security.ssl.TransportContext implementation that does this changed in the last couple of JDK releases.
If I check for Java 8 jsse.jar for sun.security.ssl.TransportContext it doesn't exists.
So it might really be the case that the  non-wrapped exception stopped working a while ago, but changes in ciphers available for TLS masked this. I think it should be assumed that this is current way the exception would happen.
Thank you for the help !

@martinm1000 , if you take a look at the stack trace I have posted above, you can see that TransportContext.fatal() does not wrap the actual error message into Unexpected rethrowing, at least with Oracle JDK 11.0.1+13. And I also verified that, if exception message is not wrapped into some other message, the driver retries properly.
Caused by: javax.net.ssl.SSLProtocolException: SQL Server returned an incomplete response. The connection has been closed.
	at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:126)
	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:321)
	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:264)
	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:259)
	at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:137)
	at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1152)
	at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1063)
	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:402)
	at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1741)

If you completely want to be sure, you can put a breakpoint in ensureSSLPayload() (this is where the original SQLServerException is caught and re-thrown as IOException) and trigger the TLS1.2 issue to verify the exception message. It does not really matter if the actual TLS1.2 failure triggers the exception or you manually throw it from ensureSSLPayload(), the driver behavior for retry logic will remain the same.
I built a jar that also checks for the exception.getCause() message and retries, would you be able to test it and verify if the driver retries in case of intermittent TLS1.2 issue with JLINKED image?
Issue879_jar.zip

@ulvii that's interesting. In my case TransportContex.fatal did go to TransportContext.java:293 which is the "unlikely, but just in case."
This time I can see FINE: Connection failed during SSL handshake. Retrying due to an intermittent TLS 1.2 failure issue. Retry attempt = 1
in the logs.
This was done with:
openjdk 11.0.1 2018-10-16
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.1+13)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.1+13, mixed mode)

jlink.exe --compress=2 --add-modules java.logging,java.naming,java.security.jgss,java.sql,java.transaction.xa,java.xml --output runtime

Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream ensureSSLPayload
FINEST: TDSChannel (ConnectionID:82) (SSLHandshakeInputStream): Reading first packet of SSL handshake response
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSReader readPacket
FINER: TDSReader@163 (ConnectionID:82 ClientConnectionId: 75eff6d4-248a-48f2-baba-1c14f50dadb4) Premature EOS in response. packetNum:1 headerBytesRead:0
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.SQLServerException logException
FINE: *** SQLException:ConnectionID:82 ClientConnectionId: 75eff6d4-248a-48f2-baba-1c14f50dadb4 com.microsoft.sqlserver.jdbc.SQLServerException: SQL Server returned an incomplete response. The connection has been closed. ClientConnectionId:75eff6d4-248a-48f2-baba-1c14f50dadb4 SQL Server returned an incomplete response. The connection has been closed. ClientConnectionId:75eff6d4-248a-48f2-baba-1c14f50dadb4
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.SQLServerException logException
FINE: com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:2826)com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:2815)com.microsoft.sqlserver.jdbc.TDSReader.readPacket(IOBuffer.java:6376)com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.ensureSSLPayload(IOBuffer.java:783)com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.readInternal(IOBuffer.java:836)com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.read(IOBuffer.java:829)com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream.readInternal(IOBuffer.java:999)com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream.read(IOBuffer.java:989)java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:448)java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:165)java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:108)java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1152)java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1063)java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:402)com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1756)com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2391)com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:2042)com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1889)com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1120)com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:700)java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)java.sql/java.sql.DriverManager.getConnection(DriverManager.java:251)TriggerSSLFailure.main(TriggerSSLFailure.java:38)
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.SQLServerConnection:82 close
FINER: ENTRY
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel disableSSL
FINER: TDSChannel (ConnectionID:82) Disabling SSL...
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel disableSSL
FINEST: TDSChannel (ConnectionID:82) Rewiring proxy streams for SSL socket close
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel disableSSL
FINER: TDSChannel (ConnectionID:82) Closing SSL socket
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel$ProxyOutputStream writeInternal
FINEST: com.microsoft.sqlserver.jdbc.TDSChannel$ProxyOutputStream@5b799640 Writing 31 bytes
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel$ProxyOutputStream flush
FINEST: com.microsoft.sqlserver.jdbc.TDSChannel$ProxyOutputStream@5b799640 Flushing
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel$ProxyOutputStream writeInternal
FINEST: com.microsoft.sqlserver.jdbc.TDSChannel$ProxyOutputStream@5b799640 Writing 31 bytes
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel$ProxyOutputStream flush
FINEST: com.microsoft.sqlserver.jdbc.TDSChannel$ProxyOutputStream@5b799640 Flushing
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream readInternal
FINEST: com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream@6cb107fd Reading 5 bytes
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream readInternal
FINEST: com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream@6cb107fd Read -1 bytes
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel disableSSL
FINER: TDSChannel (ConnectionID:82) SSL disabled
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel close
FINEST: TDSChannel (ConnectionID:82): Closing inputStream...
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel close
FINEST: TDSChannel (ConnectionID:82): Closing outputStream...
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel close
FINER: TDSChannel (ConnectionID:82): Closing TCP socket...
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.SQLServerConnection:82 close
FINER: RETURN
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream ensureSSLPayload
FINER: TDSChannel (ConnectionID:82) (SSLHandshakeInputStream): Reading response packet threw exception:SQL Server returned an incomplete response. The connection has been closed. ClientConnectionId:75eff6d4-248a-48f2-baba-1c14f50dadb4
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream readInternal
FINER: com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream@6cb107fd SQL Server returned an incomplete response. The connection has been closed. ClientConnectionId:75eff6d4-248a-48f2-baba-1c14f50dadb4
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream readInternal
FINER: com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream@6cb107fd Reading bytes threw exception:SQL Server returned an incomplete response. The connection has been closed. ClientConnectionId:75eff6d4-248a-48f2-baba-1c14f50dadb4
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel enableSSL
FINER: Unexpected rethrowing
javax.net.ssl.SSLProtocolException: Unexpected rethrowing
	at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:126)
==>	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:293)
	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:264)
	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:259)
	at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:137)
	at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1152)
	at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1063)
	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:402)
	at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1756)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2391)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:2042)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1889)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1120)
	at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:700)
	at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)
	at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:251)
	at TriggerSSLFailure.main(TriggerSSLFailure.java:38)
Caused by: java.io.IOException: SQL Server returned an incomplete response. The connection has been closed. ClientConnectionId:75eff6d4-248a-48f2-baba-1c14f50dadb4
	at com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.ensureSSLPayload(IOBuffer.java:786)
	at com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.readInternal(IOBuffer.java:836)
	at com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.read(IOBuffer.java:829)
	at com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream.readInternal(IOBuffer.java:999)
	at com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream.read(IOBuffer.java:989)
	at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:448)
	at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:165)
	at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:108)
	... 12 more

Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel enableSSL
FINER: java.security path: C:\Temp\SSLFail\runtime\lib\security
Security providers: [SUN version 11, SunRsaSign version 11, SunJSSE version 11, SunJCE version 11, SunJGSS version 11, SunSASL version 11, JdkLDAP version 11]
SSLContext provider info: Sun JSSE provider(PKCS12, SunX509/PKIX key/trust factories, SSLv3/TLSv1/TLSv1.1/TLSv1.2/TLSv1.3/DTLSv1.0/DTLSv1.2)
SSLContext provider services:
[SunJSSE: KeyFactory.RSA -> sun.security.rsa.RSAKeyFactory$Legacy
  aliases: [1.2.840.113549.1.1, OID.1.2.840.113549.1.1]
, SunJSSE: KeyPairGenerator.RSA -> sun.security.rsa.RSAKeyPairGenerator$Legacy
  aliases: [1.2.840.113549.1.1, OID.1.2.840.113549.1.1]
, SunJSSE: Signature.MD2withRSA -> sun.security.rsa.RSASignature$MD2withRSA
  aliases: [1.2.840.1135<IP_ADDRESS>, OID.1.2.840.1135<IP_ADDRESS>]
, SunJSSE: Signature.MD5withRSA -> sun.security.rsa.RSASignature$MD5withRSA
  aliases: [1.2.840.1135<IP_ADDRESS>, OID.1.2.840.1135<IP_ADDRESS>]
, SunJSSE: Signature.SHA1withRSA -> sun.security.rsa.RSASignature$SHA1withRSA
  aliases: [1.2.840.1135<IP_ADDRESS>, OID.1.2.840.1135<IP_ADDRESS>, <IP_ADDRESS>.2.29, OID.<IP_ADDRESS>.2.29]
, SunJSSE: Signature.MD5andSHA1withRSA -> sun.security.ssl.RSASignature
, SunJSSE: KeyManagerFactory.SunX509 -> sun.security.ssl.KeyManagerFactoryImpl$SunX509
, SunJSSE: KeyManagerFactory.NewSunX509 -> sun.security.ssl.KeyManagerFactoryImpl$X509
  aliases: [PKIX]
, SunJSSE: TrustManagerFactory.SunX509 -> sun.security.ssl.TrustManagerFactoryImpl$SimpleFactory
, SunJSSE: TrustManagerFactory.PKIX -> sun.security.ssl.TrustManagerFactoryImpl$PKIXFactory
  aliases: [SunPKIX, X509, X.509]
, SunJSSE: SSLContext.TLSv1 -> sun.security.ssl.SSLContextImpl$TLS10Context
  aliases: [SSLv3]
, SunJSSE: SSLContext.TLSv1.1 -> sun.security.ssl.SSLContextImpl$TLS11Context
, SunJSSE: SSLContext.TLSv1.2 -> sun.security.ssl.SSLContextImpl$TLS12Context
, SunJSSE: SSLContext.TLSv1.3 -> sun.security.ssl.SSLContextImpl$TLS13Context
, SunJSSE: SSLContext.TLS -> sun.security.ssl.SSLContextImpl$TLSContext
  aliases: [SSL]
, SunJSSE: SSLContext.DTLSv1.0 -> sun.security.ssl.SSLContextImpl$DTLS10Context
, SunJSSE: SSLContext.DTLSv1.2 -> sun.security.ssl.SSLContextImpl$DTLS12Context
, SunJSSE: SSLContext.DTLS -> sun.security.ssl.SSLContextImpl$DTLSContext
, SunJSSE: SSLContext.Default -> sun.security.ssl.SSLContextImpl$DefaultSSLContext
, SunJSSE: KeyStore.PKCS12 -> sun.security.pkcs12.PKCS12KeyStore
]
java.ext.dirs: null
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.SQLServerException logException
FINE: *** SQLException:ConnectionID:82 ClientConnectionId: 75eff6d4-248a-48f2-baba-1c14f50dadb4 com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Unexpected rethrowing". The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Unexpected rethrowing".
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.SQLServerException logException
FINE: com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:2826)com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1834)com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:2391)com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:2042)com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1889)com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1120)com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:700)java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)java.sql/java.sql.DriverManager.getConnection(DriverManager.java:251)TriggerSSLFailure.main(TriggerSSLFailure.java:38)
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.SQLServerConnection:82 close
FINER: ENTRY
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel close
FINEST: TDSChannel (ConnectionID:82): Closing inputStream...
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel close
FINEST: TDSChannel (ConnectionID:82): Closing outputStream...
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel close
FINER: TDSChannel (ConnectionID:82): Closing TCP socket...
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.SQLServerConnection:82 close
FINER: RETURN
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.SQLServerConnection:82 close
FINER: ENTRY
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel close
FINEST: TDSChannel (ConnectionID:82): Closing inputStream...
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel close
FINEST: TDSChannel (ConnectionID:82): Closing outputStream...
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.TDSChannel close
FINER: TDSChannel (ConnectionID:82): Closing TCP socket...
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.SQLServerConnection:82 close
FINER: RETURN
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.SQLServerConnection connect
FINE: Connection failed during SSL handshake. Retrying due to an intermittent TLS 1.2 failure issue. Retry attempt = 1.
Nov 16, 2018 10:12:32 AM com.microsoft.sqlserver.jdbc.SQLServerConnection login

Hi @martinm1000 ,
Thank you for testing the build. I created a PR, please feel free to review it.

#882 merged.

I am having same problem too.
mssql- 7.4.1.jre8
com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "SQL Server did not return a response. The connection has been closed. ClientConnectionId:5fb87e9c-db2e-498c-b480-2d4aebae622a".

@muhammedOzbilici I don't think this is the same problem; Yours is "SQL Server did not return a response" which means something else (not sure what!)

@muhammedOzbilici I don't think this is the same problem; Yours is "SQL Server did not return a response" which means something else (not sure what!)

But, is it not related to SSL ? If it's not then, which configuration I have to check on Database side ?

Hi @muhammedOzbilici ,
Please go through the closed issues, there might already be a solution provided for your problem.

This is an older thread but I wanted to leave this here in case it helps somebody scouring the Internet....
I was getting this error in an AWS Lambda function and found it was caused by giving the function too little memory. I bumped it up from 128MB to 512MB (probably overkill) and it works now. "The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption" was pretty misleading but it turned out to be too little memory.

Currently I am getting this issue
com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: No appropriate protocol (protocol is disabled or cipher suites are inappropriate).
at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1509)
I am trying to connect to mssql server from java dynamic web project.Any help is appreciable

We fixed this issue by enforcing sslProtocol=TLSv1.2; in our database connection string.

most likely the local version of sql server is not supported. like I fixed it by going from version 12.0.2000 to 12.0.5000


Adds command pp card remove, closes #3781

This PR adds the command pp card remove, which will remove a specific card in a given Power Platform environment.
Closes #3781

Great job @nicodecleyre
We'll review the PR ASAP!

Merged manually, thank you! 👏


[ISSUE #7351] Allow mqadmin to operate slave nodes

Which Issue(s) This PR Fixes

Fixes #7351
Brief Description

How Did You Test This Change?

Codecov Report

Merging #7352 (73369ce) into develop (fd32dae) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop    #7352      +/-   ##
=============================================
- Coverage      42.66%   42.65%   -0.02%
+ Complexity      9475     9469       -6
=============================================
  Files           1150     1150
  Lines          82737    82729       -8
  Branches       10781    10777       -4
=============================================
- Hits           35302    35287      -15
- Misses         43028    43031       +3
- Partials        4407     4411       +4

Files Changed
Coverage Δ

...ocketmq/broker/processor/AdminBrokerProcessor.java
23.70% <ø> (-0.67%)
:arrow_down:

... and 17 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Changes warn to warning in logger, warn is deprecated use warning instead

Hi @sudheesh001, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Sudheesh Singanamalla). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


Add UI for Cloud VM Migration

Hooks up a Lifecycle button for migrating Cloud Instances.

@mansam, #5825 is merged now

@mansam I know I'm late on the review, but wondering a couple of things.
#1 - Can you change "Retire this Instance" in the menu to "Retire Instance"
#2 - Menu item and form title should match, but currently there is a "Live Migrate Instance", but the Form title is "Migrate Instance".

No problem @serenamarie125, I'll make those changes

Based on feedback it sounds like this is going to need more distinct UI than just piggybacking off the existing Migration flow.

@dclarizio @Loicavenel screenshots updated

@mansam this looks ok for me, when you select Cluster does this automatically filter list of hosts?

Yes, selecting a Cluster automatically filters the list of hosts.

@Loicavenel from the Instance view

@dclarizio anything else needed from me on this?


[Port] Fix Mac signing (#18534)

(cherry picked from commit 23cbb98162f162ca77e2826160447ddf5c2713c5)

Merging in quickly to unblock builds...


Enable 2FA on GitHub

Can I ask you to enable 2FA for login at GitHub to secure Browserslist org?

Sure, thank for your concern


Add assignment operator on line 291 of Bookshelf documentation

Edit to 'Installation' section of documentation. Added missing assignment operator.
Before:
// In a file named something like bookshelf.js
var knex = require('knex')(dbConfig);
module.exports require('bookshelf')(knex);
After:
// In a file named something like bookshelf.js
var knex = require('knex')(dbConfig);
module.exports = require('bookshelf')(knex);

Thanks!


Keeping up to date

Contributing guide
https://github.com/Azure/azure-quickstart-templates/blob/master/1-CONTRIBUTION-GUIDE/README.md
Changelog

Description of the change

Updated


Exclude single apps from blue / green deployment

Description
Hi,
Working on a project with multiple apps and aiming for a zero downtime deployment, I stumbled across two questions:

Is it possible to exclude a single app from the blue / green mechanism provided by bg-deploy?
We are using an approuter to maintain the active user sessions. While deploying a new version of the other apps we would like to keep it stable and avoid a restart to keep all session alive.
Is it possible to define a 'cool down' period for a single app?
Currently the re-routing is bound to the deletion of the old version. As there could be long running, asynchronous task on the old instance it would be beneficial to keep it alive for some amount of time while the new version already handles the incoming requests.

The only workaround I identified was aborting the bd-deploy during the evaluation phase and handling the process afterwards manually. This leaves the problem, that the stable approuter does not fit the alternating naming convention (*_green <-> *_blue) and a second deployment does not work. Are there any features existing or planned to allow such behavior?
Your environment

MultiApps CF CLI Plugin version - 2.2.1

Hello,
Sorry for the delayed response. Hopefully these answers will help you:

It isn't currently possible to exclude an app from the deploy process, but we have implemented the opposite - partial deploy which works by listing the modules and resources you want deployed. Here is an example of the partial deploy feature (https://github.com/SAP-samples/cf-mta-examples/tree/master/partial-build-deploy) but make sure that you use it with the newer version of the blue-green deploy, as I think there were some bugs fixed with that (https://github.com/SAP-samples/cf-mta-examples/tree/master/blue-green-deploy-strategy). Basically you would need to list all modules and resources except the one you want skipped, so it would look like "cf deploy my.mtar --strategy blue-green -m module1,module2 --all-resources"

For this, you could use a module hook with a 'sleep' command (https://github.com/SAP-samples/cf-mta-examples/tree/master/hooks, https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/b9245ba90aa14681a416065df8e8c593.html). I believe the one you would want is 'blue-green.application.before-unmap-routes.live'. I can try to find a specific example of this if you'd like.


frontend 31s timer for matching to toggle isTimeout = true

jic the match happens at 30th second??

Done


Logging doesn't display the last log statement.

when calling logger.('message'); the last line you log doesn't appear in the output.
import { Listr, Logger } from 'listr2';

new Listr({
  title: 'this task',
  task: () => {
    const logger = new Logger({ useIcons: true });

    logger.start('hello there!');
    logger.data('testing 123');
  },
})
  .run()
  .then(() => console.log('done'));

output
⠋ this task
❯ hello there!
✔ this task
done

So I tried using task.output = 'foobar'; but that doesn't seem to work...
import { Listr } from 'listr2';

new Listr({
  title: 'this task',
  task: task => {
    task.output = 'foobar';
    task.output = 'barfoo';
  },
})
  .run()
  .then(() => console.log('done'));

output
✔ this task
done

Is the output picked up via an async process?

Yes, but it collapses after the task finishes. You can have the persistentOutput flag to keep the output after that particular task finishes as seen here.

But it will always have the latest output, so the idea here is to not have proper logging but have something to show the user what the current status of that action is.

:man_facepalming: Just realized I wasn't using the task arg I was using the context arg.

Anyways in the example you have provided, it will just show it momentarily then collapse it off.

Also just to be clear though. I was using the first positional argument which is the ctx argument not the task argument so I was actually just adding a string to the output property of the context, not setting the output to something.


WIP - Classifier helper

Adds a function, classifierFMethodWithOptionallyExcludedPath, to Prometheus.
Given an exclude function, return a 'classifier' function, i.e. for application in
[[org.http4s.client.middleware.Metrics#apply]].
Let's say you want a classifier that excludes integers since your paths consist of:
    * GET    /users/{integer}    = get_users_*
    * POST   /users                = post_users
    * PUT    /users/{integer}    = put_users_*
    * DELETE /users/{integer} = delete_users_*

In such a case, we could use:
   classifierFMethodWithOptionallyExcludedPath[F] {
         str: String => scala.util.Try(str.toInt).isSuccess
   }

This idea, namely adding a classifier with an exclude: String => Boolean was inspired by an internal library that @ChristopherDavenport wrote.

I intended to open this PR against series/0.20. As a result, I'll close this one and open another.


add Movie Database Api Key and Plex Token as docker ENV variables

TMDB_API_KEY=
PLEX_TOKEN=

Gaps is expressly moving away from docker env variables to make it easier for people to use. We use cookies in the browser to persist the values already so, either way, it's only one-time entry.

Who moves away from docker? You're making all the wrong moves

You're misreading.
We moved into docker. We are moving away from environmental variables for
configuration.  The purpose of the UI is to enter that data easily and get
easy data back.  The one time entry is stored with a cookie so you don't
have to re-enter it often.  We do plan on persisting data more in the
future which will include config type data.
On Fri, Nov 15, 2019, 7:00 PM Leonardo Merza<EMAIL_ADDRESS>wrote:

Who moves away from docker? You're making all the wrong moves
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JasonHHouse/Gaps/issues/77?email_source=notifications&email_token=AAICE7EHTXSQ5LOHLANTT2LQT4Z3XA5CNFSM4JOBLYLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEHCP2A#issuecomment-554575848,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAICE7G2UA5OXVMFMPMUMBTQT4Z3XANCNFSM4JOBLYLA
.