WiFi Failed using setWifiCredentials("","");

Hello!
I used the same SSID, Password to connect to WiFi using CLI ("W" command) and it is getting connected to it.
But when I used the below code to try to connect to WiFi it Failed to connect
void setup_HomeKit()
{

  Serial.begin(115200);
  homeSpan.begin(Category::Lighting, "SGN_LEDS");
  homeSpan.setWifiCredentials("XXXX", "XXXXX");
  homeSpan.setLogLevel(HOMESPAN_LOG_LEVEL);
}

Can somebody please help me to solve this?
TIA.

Hello!
I used the same SSID, Password to connect to WiFi using CLI ("W" command) and it is getting connected to it.
But when I used the below code to try to connect to WiFi it Failed to connect
void setup_HomeKit()
{

  Serial.begin(115200);
  homeSpan.begin(Category::Lighting, "SGN_LEDS");
  homeSpan.setWifiCredentials("XXXX", "XXXXX");
  homeSpan.setLogLevel(HOMESPAN_LOG_LEVEL);
}

Can somebody please help me to solve this?
TIA.

I just now figured out that before calling the above code I am doing below
WiFi.mode(WIFI_STA);
WiFi.begin(asyncSSID, asyncPassword);

if this could be the reason for failing WiFi in HomeSpan?
TIA

Yes, this could be impacting.  You will need to close the STA before continuing.

Yes, this could be impacting. You will need to close the STA before continuing.

But I need STA for rest things to work like, webserver. Is there a way to work both things together?

HomeSpan already opens up a web server - it is how all communication is done with HomeKit.  You can start a second web server and build logic for access that is independent from HomeKit, but there is no need to start a separate WiFi session.  Presumably you have one WiFi network to which you want to connect .  HomeSpan will connect the "entire device" to this network at start-up when you provide its credentials.  After connecting, HomeSpan starts its own web server and other services.  You can then start a second, separate web server since the device is already connected to your network.
Some considerations:  HomeSpan starts its web server on port 80.  Your can either start a second web server on another port, or more likely you will want to also use port 80 (since it is standard for browsers) in which case you can instruct HomeSpan to use a different port with the method setPortNum(uint16_t port).  Also, whatever code you use to launch and operate the second web server needs to "behave" and not do anything that interferes with HomeSpan itself.  I have never tried to operate a second web server within HomeSpan but other users have done so successfully.
Note that implementing a web server and allowing a client (your web browser) to connect consumes TCP/IP sockets.  Normally HomeSpan reserves all 8 sockets available on the ESP32 for HomeKit Controllers.  If you enable OTA, HomeSpan reserves one for the OTA server and reduces the number of allowable simultaneously-connected  HomeKit Controllers to 7.  Adding your own web server and connecting a client requires 2 sockets.  So you will need to tell HomeSpan to reserve only 6 sockets for itself, or 5 if you also use OTA, so that there 2 left for your web server.  This is done with the setMaxConnections(uint8_t nCon) method (see the API for details).
Finally, you will want to start your web server only AFTER HomeSpan has connected to your WiFi network.  HomeSpan includes a command to facilitate this as well - see setWifiCallback(void (*func)()) for details.
Hope this helps.

Hi!
Put commeted code for SITD.

HomeSpan already opens up a web server - it is how all communication is done with HomeKit. You can start a second web server and build logic for access that is independent from HomeKit, but there is no need to start a separate WiFi session. Presumably you have one WiFi network to which you want to connect . HomeSpan will connect the "entire device" to this network at start-up when you provide its credentials. After connecting, HomeSpan starts its own web server and other services. You can then start a second, separate web server since the device is already connected to your network.
Some considerations: HomeSpan starts its web server on port 80. Your can either start a second web server on another port, or more likely you will want to also use port 80 (since it is standard for browsers) in which case you can instruct HomeSpan to use a different port with the method setPortNum(uint16_t port). Also, whatever code you use to launch and operate the second web server needs to "behave" and not do anything that interferes with HomeSpan itself. I have never tried to operate a second web server within HomeSpan but other users have done so successfully.
Note that implementing a web server and allowing a client (your web browser) to connect consumes TCP/IP sockets. Normally HomeSpan reserves all 8 sockets available on the ESP32 for HomeKit Controllers. If you enable OTA, HomeSpan reserves one for the OTA server and reduces the number of allowable simultaneously-connected HomeKit Controllers to 7. Adding your own web server and connecting a client requires 2 sockets. So you will need to tell HomeSpan to reserve only 6 sockets for itself, or 5 if you also use OTA, so that there 2 left for your web server. This is done with the setMaxConnections(uint8_t nCon) method (see the API for details).
Finally, you will want to start your web server only AFTER HomeSpan has connected to your WiFi network. HomeSpan includes a command to facilitate this as well - see setWifiCallback(void (*func)()) for details.
Hope this helps.

Thank you very much for your explanation. I will check, try and update you. I really hope your help will solve the issue.

HomeSpan already opens up a web server - it is how all communication is done with HomeKit. You can start a second web server and build logic for access that is independent from HomeKit, but there is no need to start a separate WiFi session. Presumably you have one WiFi network to which you want to connect . HomeSpan will connect the "entire device" to this network at start-up when you provide its credentials. After connecting, HomeSpan starts its own web server and other services. You can then start a second, separate web server since the device is already connected to your network.
Some considerations: HomeSpan starts its web server on port 80. Your can either start a second web server on another port, or more likely you will want to also use port 80 (since it is standard for browsers) in which case you can instruct HomeSpan to use a different port with the method setPortNum(uint16_t port). Also, whatever code you use to launch and operate the second web server needs to "behave" and not do anything that interferes with HomeSpan itself. I have never tried to operate a second web server within HomeSpan but other users have done so successfully.
Note that implementing a web server and allowing a client (your web browser) to connect consumes TCP/IP sockets. Normally HomeSpan reserves all 8 sockets available on the ESP32 for HomeKit Controllers. If you enable OTA, HomeSpan reserves one for the OTA server and reduces the number of allowable simultaneously-connected HomeKit Controllers to 7. Adding your own web server and connecting a client requires 2 sockets. So you will need to tell HomeSpan to reserve only 6 sockets for itself, or 5 if you also use OTA, so that there 2 left for your web server. This is done with the setMaxConnections(uint8_t nCon) method (see the API for details).
Finally, you will want to start your web server only AFTER HomeSpan has connected to your WiFi network. HomeSpan includes a command to facilitate this as well - see setWifiCallback(void (*func)()) for details.
Hope this helps.

Thank you very much for your explanation. I will check, try and update you. I really hope your help will solve the issue.

I tried exactly as per your explanation and also commented below lines and http server code:
   // WiFi.mode(WIFI_STA);
  // WiFi.begin(SSID, password);

added below lines
  homeSpan.setWifiCredentials("REPL_UP", "XXXXX");
  homeSpan.setPortNum(8088);
  homeSpan.setMaxConnections(4);
  homeSpan.setLogLevel(HOMESPAN_LOG_LEVEL);
  homeSpan.begin(Category::Lighting, "SGN_LEDS");

Now its getting fail to connect to WiFi. Also tried using 'W' Command and setup using CLI, but same
Trying to connect to REPL_UP.  Waiting 1 second(s) for response...
Trying to connect to REPL_UP.  Waiting 2 second(s) for response...
Trying to connect to REPL_UP.  Waiting 4 second(s) for response...
Trying to connect to REPL_UP.  Waiting 8 second(s) for response...
Trying to connect to REPL_UP.  Waiting 16 second(s) for response...

For your reference, pls find the complete log below:
> Executing task in folder Firmware1: platformio device monitor <

--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at http://bit.ly/pio-monitor-filters
--- Miniterm on /dev/cu.usbserial-0001  115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
�YK�j
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[E][BluetoothA2DPSink.cpp:744] get_last_connection(): ERROR GETTING NVS BLOB
[E][BluetoothA2DPSink.cpp:747] get_last_connection(): NVS NOT FOUND
[E][esp32-hal-cpu.c:93] addApbChangeCallback(): duplicate func=40081564 arg=3FFBE834
␀
************************************************************
Welcome to HomeSpan!
Apple HomeKit for the Espressif ESP-32 WROOM and Arduino IDE
************************************************************

** Please ensure serial monitor is set to transmit <newlines>

Message Logs:     Level 2
Status LED:       Pin 13
Device Control:   Pin 21
Sketch Version:   n/a
HomeSpan Version: 1.3.0
ESP-IDF Version:  v3.3.5-1-g85c43024c
ESP32 Board:      nodemcu-32s
Sketch Compiled:  Jul  1 2021 11:55:36

Device Name:      SGN_LEDS

*** HomeSpan Info ***

➤ Accessory:  AID=1
   ➟ Service AccessoryInformation:  IID=1, UUID=0x3E
      ⇨ Characteristic Name("On/Off LED"):  IID=2, UUID=0x23
      ⇨ Characteristic Manufacturer("HomeSpan"):  IID=3, UUID=0x20
      ⇨ Characteristic SerialNumber("123-ABC"):  IID=4, UUID=0x30
      ⇨ Characteristic Model("20mA LED"):  IID=5, UUID=0x21
      ⇨ Characteristic FirmwareRevision("0.9"):  IID=6, UUID=0x52
      ⇨ Characteristic Identify(0):  IID=7, UUID=0x14
   ➟ Service HAPProtocolInformation:  IID=8, UUID=0xA2
      ⇨ Characteristic Version("1.1.0"):  IID=9, UUID=0x37
   ➟ Service LightBulb:  IID=10, UUID=0x43
      ⇨ Characteristic On(0):  IID=11, UUID=0x25
➤ Accessory:  AID=2
   ➟ Service AccessoryInformation:  IID=1, UUID=0x3E
      ⇨ Characteristic Name("Dimmable LED"):  IID=2, UUID=0x23
      ⇨ Characteristic Manufacturer("HomeSpan"):  IID=3, UUID=0x20
      ⇨ Characteristic SerialNumber("123-ABC"):  IID=4, UUID=0x30
      ⇨ Characteristic Model("20mA LED"):  IID=5, UUID=0x21
      ⇨ Characteristic FirmwareRevision("0.9"):  IID=6, UUID=0x52
      ⇨ Characteristic Identify(0):  IID=7, UUID=0x14
   ➟ Service HAPProtocolInformation:  IID=8, UUID=0xA2
      ⇨ Characteristic Version("1.1.0"):  IID=9, UUID=0x37
   ➟ Service LightBulb:  IID=10, UUID=0x43
      ⇨ Characteristic On(0):  IID=11, UUID=0x25
      ⇨ Characteristic Brightness(50):  IID=12, UUID=0x8  Range=[0,100]
         ⬌ Set Range for Brightness with IID=12: Min=5, Max=100, Step=1
➤ Accessory:  AID=3
   ➟ Service AccessoryInformation:  IID=1, UUID=0x3E
      ⇨ Characteristic Name("Fan"):  IID=2, UUID=0x23
      ⇨ Characteristic Manufacturer("HomeSpan"):  IID=3, UUID=0x20
      ⇨ Characteristic SerialNumber("123-ABC"):  IID=4, UUID=0x30
      ⇨ Characteristic Model("20mA LED"):  IID=5, UUID=0x21
      ⇨ Characteristic FirmwareRevision("0.9"):  IID=6, UUID=0x52
      ⇨ Characteristic Identify(0):  IID=7, UUID=0x14
   ➟ Service HAPProtocolInformation:  IID=8, UUID=0xA2
      ⇨ Characteristic Version("1.1.0"):  IID=9, UUID=0x37
   ➟ Service Fan:  IID=10, UUID=0xB7
      ⇨ Characteristic Active(0):  IID=11, UUID=0xB0  Range=[0,1]
      ⇨ Characteristic RotationDirection(0):  IID=12, UUID=0x28  Range=[0,1]
      ⇨ Characteristic RotationSpeed(50):  IID=13, UUID=0x29  Range=[0,100]
         ⬌ Set Range for RotationSpeed with IID=13: Min=0, Max=100, Step=25
➤ Accessory:  AID=4
   ➟ Service AccessoryInformation:  IID=1, UUID=0x3E
      ⇨ Characteristic Name("Temperature"):  IID=2, UUID=0x23
      ⇨ Characteristic Manufacturer("HomeSpan"):  IID=3, UUID=0x20
      ⇨ Characteristic SerialNumber("123-ABC"):  IID=4, UUID=0x30
      ⇨ Characteristic Model("20mA LED"):  IID=5, UUID=0x21
      ⇨ Characteristic FirmwareRevision("0.9"):  IID=6, UUID=0x52
      ⇨ Characteristic Identify(0):  IID=7, UUID=0x14
   ➟ Service HAPProtocolInformation:  IID=8, UUID=0xA2
      ⇨ Characteristic Version("1.1.0"):  IID=9, UUID=0x37
   ➟ Service TemperatureSensor:  IID=10, UUID=0x8A
      ⇨ Characteristic CurrentTemperature(22):  IID=11, UUID=0x11  Range=[0,100]
➤ Accessory:  AID=5
   ➟ Service AccessoryInformation:  IID=1, UUID=0x3E
      ⇨ Characteristic Name("Humidity"):  IID=2, UUID=0x23
      ⇨ Characteristic Manufacturer("HomeSpan"):  IID=3, UUID=0x20
      ⇨ Characteristic SerialNumber("123-ABC"):  IID=4, UUID=0x30
      ⇨ Characteristic Model("20mA LED"):  IID=5, UUID=0x21
      ⇨ Characteristic FirmwareRevision("0.9"):  IID=6, UUID=0x52
      ⇨ Characteristic Identify(0):  IID=7, UUID=0x14
   ➟ Service HAPProtocolInformation:  IID=8, UUID=0xA2
      ⇨ Characteristic Version("1.1.0"):  IID=9, UUID=0x37
   ➟ Service HumiditySensor:  IID=10, UUID=0x82
      ⇨ Characteristic CurrentRelativeHumidity(22):  IID=11, UUID=0x10  Range=[0,100]
➤ Accessory:  AID=6
   ➟ Service AccessoryInformation:  IID=1, UUID=0x3E
      ⇨ Characteristic Name("AC"):  IID=2, UUID=0x23
      ⇨ Characteristic Manufacturer("HomeSpan"):  IID=3, UUID=0x20
      ⇨ Characteristic SerialNumber("123-ABC"):  IID=4, UUID=0x30
      ⇨ Characteristic Model("20mA LED"):  IID=5, UUID=0x21
      ⇨ Characteristic FirmwareRevision("0.9"):  IID=6, UUID=0x52
      ⇨ Characteristic Identify(0):  IID=7, UUID=0x14
   ➟ Service HAPProtocolInformation:  IID=8, UUID=0xA2
      ⇨ Characteristic Version("1.1.0"):  IID=9, UUID=0x37
   ➟ Service HeaterCooler:  IID=10, UUID=0xBC
      ⇨ Characteristic Active(0):  IID=11, UUID=0xB0  Range=[0,1]
      ⇨ Characteristic CurrentTemperature(25):  IID=12, UUID=0x11  Range=[0,100]
      ⇨ Characteristic CurrentHeaterCoolerState(1):  IID=13, UUID=0xB1  Range=[0,3]
      ⇨ Characteristic TargetHeaterCoolerState(2):  IID=14, UUID=0xB2  Range=[0,2]
      ⇨ Characteristic Name("AC"):  IID=15, UUID=0x23
      ⇨ Characteristic RotationSpeed(2):  IID=16, UUID=0x29  Range=[0,100]
      ⇨ Characteristic TemperatureDisplayUnits(1):  IID=17, UUID=0x36  Range=[0,1]
      ⇨ Characteristic SwingMode(1):  IID=18, UUID=0xB6  Range=[0,1]
      ⇨ Characteristic CoolingThresholdTemperature(25):  IID=19, UUID=0xD  Range=[10,35]
         ⬌ Set Range for CoolingThresholdTemperature with IID=19: Min=18, Max=30, Step=0.5
      ⇨ Characteristic HeatingThresholdTemperature(16):  IID=20, UUID=0x12  Range=[0,25]

Configured as Bridge: NO

Service                         UUID         AID  IID  Update  Loop  Button  Linked Services
------------------------------  ----  ----------  ---  ------  ----  ------  ---------------
AccessoryInformation              3E           1    1      NO    NO      NO  -
HAPProtocolInformation            A2           1    8      NO    NO      NO  -
LightBulb                         43           1   10     YES    NO      NO  -
AccessoryInformation              3E           2    1      NO    NO      NO  -
HAPProtocolInformation            A2           2    8      NO    NO      NO  -
LightBulb                         43           2   10     YES    NO      NO  -
AccessoryInformation              3E           3    1      NO    NO      NO  -
HAPProtocolInformation            A2           3    8      NO    NO      NO  -
Fan                               B7           3   10     YES    NO      NO  -
AccessoryInformation              3E           4    1      NO    NO      NO  -
HAPProtocolInformation            A2           4    8      NO    NO      NO  -
TemperatureSensor                 8A           4   10     YES    NO      NO  -
AccessoryInformation              3E           5    1      NO    NO      NO  -
HAPProtocolInformation            A2           5    8      NO    NO      NO  -
HumiditySensor                    82           5   10     YES    NO      NO  -
AccessoryInformation              3E           6    1      NO    NO      NO  -
HAPProtocolInformation            A2           6    8      NO    NO      NO  -
HeaterCooler                      BC           6   10     YES    NO      NO  -

*** End Info ***

Accessory ID:      6A:27:D4:34:EA:60                               LTPK: 9FCB1A06B7E3B21115354B4A8B2286B21E155437CBB540464FB86F2EE6DEB513
Paired Controller: E176806B-715F-4B39-8F62-F505F4ED2C08   (admin)  LTPK: 5E5A77E91E9EAB3FC14027C4CEDFF56FEE0AC305B6B661FAB6CB7570A9DF4F46

Accessory configuration number: 11

SGN_LEDS is READY!

Trying to connect to REPL_UP.  Waiting 1 second(s) for response...
Trying to connect to REPL_UP.  Waiting 2 second(s) for response...
Trying to connect to REPL_UP.  Waiting 4 second(s) for response...
Trying to connect to REPL_UP.  Waiting 8 second(s) for response...
Trying to connect to REPL_UP.  Waiting 16 second(s) for response...

*** Can't connect to REPL_UP.  You may type 'W <return>' to re-configure WiFi, or 'X <return>' to erase WiFi credentials.  Will try connecting again in 60 seconds.

To trace the issue, I tried connecting to WiFi using WiFi.h library and it's getting connected to it.
I don't know why it is failing to connect to WiFi using homespan.

Hi @HomeSpan
I tried exactly as per your advice. Now, I am able to connect to WiFi and HomeSpan Server and its services are working well. However, there are issues with rebooting, but that's a later part.
Below code is implemented:
AsyncWebServer serverAsync(80);
AsyncWebSocket ws1("/ws");

void setup(){
  Serial.begin(115200);
  homeSpan.setWifiCredentials(asyncSSID1, asyncPassword1);
  homeSpan.setPortNum(8888);
  homeSpan.setMaxConnections(4);
  homeSpan.setLogLevel(HOMESPAN_LOG_LEVEL);
  homeSpan.setWifiCallback(&callBackTest);
  homeSpan.begin(Category::Lighting, "SGN_LEDS");
}

void callBackTest(){
  Serial.println("SGN :: callBackTest");
  homeSpanCallBackAsyncWeb();
}

void homeSpanCallBackAsyncWeb()
{
  serverAsync.on("/", HTTP_GET, handleRoot);
  serverAsync.onNotFound(handleNotFound);
  ws1.onEvent(onWebSocketEvent);
  serverAsync.addHandler(&ws1);
  serverAsync.begin();
}

However,  AsyncWebServer is not getting started without any error or exception.
If I ran the below code by commenting HomeSpan Code and calling homeSpanCallBackAsyncWeb() in setup it is getting connected to AsyncWebServer but in that case, HomeSpan will not work.
void createWebServer()
{
  WiFi.mode(WIFI_STA);
  WiFi.begin(asyncSSID, asyncPassword);
  serverAsync.on("/", HTTP_GET, handleRoot);
  serverAsync.onNotFound(handleNotFound);
  ws1.onEvent(onWebSocketEvent);
  serverAsync.addHandler(&ws1);
  serverAsync.begin();
}

I am really confused and stuck at this stage. Can you please advise if I am missing something?
Appreciate your best advise.
Thank you

Hi @HomeSpan
I tried exactly as per your advice. Now, I am able to connect to WiFi and HomeSpan Server and its services are working well. However, there are issues with rebooting, but that's a later part.
Below code is implemented:
AsyncWebServer serverAsync(80);
AsyncWebSocket ws1("/ws");

void setup(){
  Serial.begin(115200);
  homeSpan.setWifiCredentials(asyncSSID1, asyncPassword1);
  homeSpan.setPortNum(8888);
  homeSpan.setMaxConnections(4);
  homeSpan.setLogLevel(HOMESPAN_LOG_LEVEL);
  homeSpan.setWifiCallback(&callBackTest);
  homeSpan.begin(Category::Lighting, "SGN_LEDS");
}

void callBackTest(){
  Serial.println("SGN :: callBackTest");
  homeSpanCallBackAsyncWeb();
}

void homeSpanCallBackAsyncWeb()
{
  serverAsync.on("/", HTTP_GET, handleRoot);
  serverAsync.onNotFound(handleNotFound);
  ws1.onEvent(onWebSocketEvent);
  serverAsync.addHandler(&ws1);
  serverAsync.begin();
}

However, AsyncWebServer is not getting started without any error or exception.
If I ran the below code by commenting HomeSpan Code and calling homeSpanCallBackAsyncWeb() in setup it is getting connected to AsyncWebServer but in that case, HomeSpan will not work.
void createWebServer()
{
  WiFi.mode(WIFI_STA);
  WiFi.begin(asyncSSID, asyncPassword);
  serverAsync.on("/", HTTP_GET, handleRoot);
  serverAsync.onNotFound(handleNotFound);
  ws1.onEvent(onWebSocketEvent);
  serverAsync.addHandler(&ws1);
  serverAsync.begin();
}

I am really confused and stuck at this stage. Can you please advise if I am missing something?
Appreciate your best advise.
Thank you

I checked headers in the browser console is
Request URL: http://<IP_ADDRESS>/
Referrer Policy: strict-origin-when-cross-origin

I have not used the Async server before - it unfortunately may not be compatible with the rest of the HomeSpan environment.  Can you use the standard WiFiServer() instead?

I will try and update you soon.

is there any solution for this problem? I have coded a large project with asyncwebserver  and will add some HomeKit functions. But is not running both together (homespun & asyncwebserver lib)  iam using the Arduino suite.


[web]: How to find an example of AssetManifest.json?

I get a warning in console with my flutter_web app.

Asset manifest does not exist at assets/AssetManifest.json – ignoring.

I want to add that file, how can I find example of it?
My app is on Github pages and I'm using chrome to open it.
Version 74.0.3729.169 (Official Build) (64-bit)
Edit: I've added AssetManifest.json file which consist only {}. It solved my problem, but what to put in AssetManifest.json? I couldn't find any guide about it.

that's the file
https://github.com/flutter/flutter_web/blob/master/examples/gallery/web/assets/FontManifest.json

It's FontManifest.json. Is it same?

yep
https://github.com/flutter/flutter_web/blob/master/docs/migration_guide.md#webassetsfontmanifestjson-optional

I can't see any indication of that. Where it says exactly that AssetManifest.json and FontManifest.json files are the same?

I think without the AssetManifest.json release build images are not available

Am I supposed to replace FontManifest.json with AssetManifest.json? Or do I put the same content in both?

Sample AssetManifest.json
{
  "assets": [
    "images/my_image_1",
    "images/my_image_2"
  ]
}

Directory Structure
web
    - assets
        - fonts
        - images
            - my_image_1
            - my_image_2
        - AssetManifest.json
        - FontManifest.json

Thanks so much

can u give some example to use in dart file, not working web build

What do you mean by Dart file? Like, how to refer to the assets?

If you're using the flutter tool to build you application the asset manifest is generated automatically. For more information see flutter.dev/web. I'm closing the issue since it is no longer relevant.

If you're using the flutter tool to build you application the asset manifest is generated automatically.

Sorry to comment on such an old issue. Does it still get generated? Where is it placed - in the rootBundle? How can I access it? So far I accessed my other assets with
content = await rootBundle.loadString('assets/my_asset_file.json');

Is it the same for AssetManifest.json? Like
content = await rootBundle.loadString('assets/AssetManifest.json');


Introduce development mode option

Description
Adds a new config option to enable a "development" mode that includes a full-screen takeover for the container and removes the test timeout limit.
Motivation
When building out features that rely on dynamic or not-yet-ready APIs, it is desirable to be able to work directly with static/mock data. In order to encourage TDD (and testing in general), it would be nice to enable a "development mode" so that developers can more easily interact with the application during an Acceptance test that leverages mock data.
This primarily involves two things:

Increasing the size of the container such that it looks and feels like the application normally does.
Removing test timeouts so that if a developer uses pauseTest() it won't err out on them.

A secondary benefit here is that the developer won't have to repeat user interactions when working on a nested part of a user flow (the test will do it for them).

This looks good to me, but I don't see any changes related to timeouts (as mentioned in the description).

@rwjblue see line no 8

Since this moves us off of using zoom and instead uses transform would that be considered a breaking change in any way? I tend to think no, but am unsure what the opinion on CSS is.

I think using zoom is fundamentally wrong so this feels like a BUGFIX to me...

Okay, going to release a minor version though since it also has the new "development mode", sound good?


[WIP] Paying for College - Cypress tests for Your Financial Path to Graduation

This PR will add functional testing (via cypress) for features of the "Your Financial Path to Graduation" application.
Additions

Removals

Changes

How to test this PR

Screenshots
Notes and todos

Checklist

[ ] PR has an informative and human-readable title

PR titles are used to generate the change log in releases; good ones make that easier to scan.
Consider prefixing, e.g., "Mega Menu: fix layout bug", or "Docs: Update Docker installation instructions".

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code follows the standards laid out in the CFPB development guidelines
[ ] Future todos are captured in comments and/or tickets
[ ] Project documentation has been updated, potentially one or more of:

This repo’s docs (edit the files in the /docs folder) – for basic, close-to-the-code docs on working with this repo
CFGOV/platform wiki on GHE – for internal CFPB developer guidance
CFPB/hubcap wiki on GHE – for internal CFPB design and content guidance

Front-end testing

Browser testing
Visually tested in the following supported browsers:

[ ] Firefox
[ ] Chrome
[ ] Safari
[ ] Edge 18 (the last Edge prior to it switching to Chromium)
[ ] Internet Explorer 11 and 8 (via emulation in 11's dev tools)
[ ] Safari on iOS
[ ] Chrome on Android

Accessibility

[ ] Keyboard friendly (navigable with tab, space, enter, arrow keys, etc.)
[ ] Screen reader friendly
[ ] Does not introduce new errors or warnings in WAVE

Other

[ ] Is useable without CSS
[ ] Is useable without JS
[ ] Does not introduce new lint warnings
[ ] Flexible from small to large screens

Do you see any room for streamlining the folder structure of PfC tests? Currently I see:

cypress/components/paying-for-college.js (used by choose a student loan and managing your college money)
cypress/integration/pages/paying-for-college/
cypress/pages/paying-for-college/

Maybe some of those things could be more specific with the particular PfC tool they're there for?

@anselmbradford - I have no problem with that. I just expanded what was there, but I could see the benefit of splitting them up. Are you thinking of something like:
cypress/[subfolder]/paying-for-college/[sub-app]/
or more like
cypress/[subfolder]/[paying-for-college-sub-app]/

Probably cypress/[subfolder]/paying-for-college/[sub-app]/ so that it looks like:
cypress/[subfolder]/paying-for-college/[app1]/
cypress/[subfolder]/paying-for-college/[app2]/
cypress/[subfolder]/paying-for-college/[app3]/
…

But I'm not super familiar with the Cypress structure and why there are PfC files spread out across multiple directories, so if you see improvements there, go for it!

I've updated the folder organization for this PR, so please review again!


How to use the pairwise hinge loss in the models

Is there any tutorial about how to apply the pairwise hinge loss to these models? Seems that all are related to the pointwise loss, but no pairwise loss.

Hi, @pandaczm ,you can refer to this link to see the tutorial (https://github.com/NTMC-Community/MatchZoo-py/blob/master/tutorials/ranking/drmmtks.ipynb).
Most of the typical loss function can be found in matchzoo.losses component, such as:
ranking_task = mz.tasks.Ranking(losses=mz.losses.RankHingeLoss()).


Better handling for tiny files below the blob size threshold that contain 'git-lfs'

Git LFS uses a few properties to determine whether something is a valid LFS pointer or not. Right now, the criteria is:

Below the blob size threshold (1024 bytes)
Contains git-lfs in the content.

This causes problems for small test files like "this is a sample git-lfs file." So, it assumes anything that doesn't even start with version isn't even trying to be a Git LFS file.
/cc @rubyist: Did this by elevating the bad pointer key message to its own error type.

:+1:


Order status doesn't change from "Processing" to "Refunded" after order has been refunded

Order status doesn't change from "Processing" to "Refunded" after order has been refunded.
https://github.com/paytrail/paytrail-for-woocommerce/blob/master/src/Gateway.php#L956-L1022
This causes issues with Sensei LMS plugin because users can still access courses after order is refunded.
Our goal is to have a fully automatic refund system without admin having to manually update order statuses.

@sl-nikohamalainen
Please can you provide more information on this?
I have tested this myself and the order changes to show a status of 'Refunded' in the Woo Commerce admin view. In the database the status is 'wc-refunded'
The code for the payment method itself does not set this status, we instead call the hook 'woocommerce_order_refunded' and Woo Commerce in turn sets the status of the order accordingly.
Please provide as much detail as possible, including but not limited to:

Version of the payment module you are using
Version of Woo Commerce you are using
Payment type used.

Is it a saved card?

Steps taken to refund the order -i.e. do you action this in the admin panel and select 'Refund via Paytrail for Woo Commerce'
Screen shot of the order showing the status and details of the order once refunded (please do not include any personal information)
Are you using HPOS or legacy tables?

If HPOS - What is the value of 'status' for the order in the database table wp_wc_orders
If legacy what is the value of 'post_status' in the wp_posts table

Thanks

The refund process seems to work with WooCommerce built-in product types, I will close this issue and continue to investigate custom product types.


[External service] Update watched state trakt.tv

Just a feature request. It would be really nice if watched status would update inside trakt!

Don't know much about trakt (I´m not using it).
If anyone wants to implement this, than the addition would be welcome.

@asciidisco have a look here: https://github.com/trakt/script.trakt/wiki/Providing-id's-to-facilitate-scrobbling

It's quiet trivial, if you can manage to get those ids from somewhere.

perhaps we can get that info when #170 works?

Sure. I or @hawkeyexp will add a comment here, when the PR is merged.
We can then go & somehow see if we can add the data fro trakt if available.

PR is merged, going to look into that.
Maybe I´ll add a seperate setting, as I fear that fetching the data from the Kodi DB has a negative impact on performance. But that is up to be measured.

If PR170 retrieves the DBID for the episode from the Kodi DB (and of course this is only for items added to the kodi db using the export to kodi function for strm files) then you can use a similar mechansim to what I use in the next up addon, where it uses the addon-signals addon to communicate with trakt directly.
# Signal to trakt previous episode watched                         AddonSignals.sendSignal("NEXTUPWATCHEDSIGNAL", {'episodeid': self.currentepisodeid})
The key 'NEXTUPWATCHEDSIGNAL' was what @Razzeee and I agreed on but he may be happy enough for you to use the same key.
If the item is not in the Kodi DB then it will need to follow the pattern linked above where it relies on ids such as:
{u'tmdb': 264660} {u'tvdb': 121361} {u'imdb': u'tt0470752'} {u'slug': u'ex-machina-2014'} {u'trakt': 163375}

Add in PR #233  the https://github.com/trakt/script.trakt/wiki/Providing-id's-to-facilitate-scrobbling
for the exportet Movies/Shows (.strm-Files) where in KodiDB.
The scrobbling for the not in Kodi-DB-Streams use to match the Name / Year search in
Trakt and it works too.
Importend for all this is to set the "Offset scrobble start by x minutes" to 1 in the Trakt-Plugin-Settings.
When playing DRM-Videos in a Plugin with inputstream_adaptive there stream startet a little to slow for Trakt to get the active player and then no scrobbling work for most times.
With this setting it works fine.

Actually... come to think of it. I do not have those changes in my version and it works nonetheless...

When you mean, it working after Changing the Trakt-Settings, i can say yes.
Then is the Name / Year scrobbling in work. This is good, but not perfect.
With the ids we tell trakt the imdb / tvdb number of the video and this is perfect with no
error-rate :-)

This doesn't work if you have exported a whole series because then the metadata for the episodes does not necessary exist. Maybe this could be fixed by saving the metadata for the entire series automatically when doing an export.
Or is it possible to to get information from the item that "invokes" the play action and identify the title that way?

I think that is what pull #233 is referring to...

@borgsten
This is a another construction zone and have nothing to to with this fix.
When you have Problems with the Metadata, open the Series-Folder you want one time before you export it to your db. Then is true, all Metadata are downloaded.


[CI binary release] create a workflow for binary release for Windows

[ ] build llvm libraries on Windows
[ ] run a full coverage test of all combination of WASM_ENABLE_ options
[ ] build iwasm on Windows
[ ] build wamrc on Windows
[ ] build samples and test them
[ ] run a full features spec test
[ ] release wamr-lldb on Windows

Be noticed:

WAMR_BUILD_LIBC_UVWASI should be 1
Not support tar command, just create .zip file

Hi, how is this progressing?

We don't have enough resource to start it . It will be very helpful if you are willing to take the task 😃

Nobody in their right mind would volontarily compile on Windows.
Until Microsofts allows redistribution of the cl.exe compiler that is!
Oh well, sad that WASM wont happen after all this work...

Nobody in their right mind would volontarily compile on Windows.
Until Microsofts allows redistribution of the cl.exe compiler that is!
Oh well, sad that WASM wont happen after all this work...

why not use mingw？

You want the compiler to be portable in a zip and I have that for cl.exe now after extracting it from VS.
You might be able to use this in the same way but I haven't tried because I have my setup working:
https://github.com/mstorsjo/llvm-mingw/releases

can anyone provide step by step instructions how can i do this? :)

I think if they had that they would have compiled it already.

Great to see that you finally made a iwasm.exe, but you probably should compile it to 32-bit too because around half of the projects on Windows are still running 32-bit since there is no reason to move to 64-bit there until Intel removes 32-bit from their CPUs and even then they will be properly emulated I'm sure.
Also would be great with a way to use iwasm from your project and for that you need a .dll and a simple tutorial, sort of what was done here:
https://github.com/bytecodealliance/wasm-micro-runtime/issues/85


Add map_result and/or map_option?

A small use case that replicates similar needs I've had in the past:
let entries: Result<_, _> = iter.into_iter()
    .map_result(|e| (e.tag(), LazyDataElement::new(e)))
    .collect();

Compare to:
let entries: Result<_, _> = iter.into_iter()
    .map(|r| r.map(|e| (e.tag(), LazyDataElement::new(e))))
    .collect();

Runnable version
I'm not sure why I've needed this a few times, but I do like to transform potentially failed things before collecting them to a Vec.

My initial implementation:
struct MapResult<I, F> {
    iter: I,
    f: F
}

impl<I, F, T, U, E> Iterator for MapResult<I, F>
    where I: Iterator<Item = Result<T, E>>,
          F: FnMut(T) -> U,
{
    type Item = Result<U, E>;

    fn next(&mut self) -> Option<Self::Item> {
        self.iter.next().map(|v| v.map(&mut self.f))
    }
}

trait MapResultAdapter: Iterator {
    fn map_result<F, T, U, E>(self, f: F) -> MapResult<Self, F>
        where F: FnMut(T) -> U,
              Self: Iterator<Item = Result<T, E>> + Sized,
    {
        MapResult {
            iter: self,
            f: f,
        }
    }
}

impl<I, T, E> MapResultAdapter for I
    where I: Iterator<Item = Result<T, E>>
{}

If you think it's a good idea, of course I'll submit a nice PR with docs and all that. 😇

It looks useful. It does bring my thoughts to a more generic version of this (something that covers result, option and other things that can be mapped..). Just a thought; it's not that we strive for the most generic versions of things, just if they have more power for equal complexity.
I think the name .map_results would be better (just like fold_results).

a more generic version of this

I thought about it a bit, but doesn't that require something higher-level? Would you propose introducing a trait in Itertools like Map that is implemented for Result and Option?
My actual knowledge of monads and the like is sadly thin, but this seems to lead towards such a thing?

Sigh, yeah, it basically ends up with "HKT" emulation, we probably don't want that.
..ok yes, I can't even get the POC of HKT emulation to compile. That thing is out. :smile:

That thing is out.

However, using method names like map_results and map_options leaves room for map_maps (or something suitable).

I was going to suggest, can we get away with just .map_results() ? I prefer to add those things that have had concrete needs, not just "might be nice" (I managed to cull some of those for itertools 0.5..).

can we get away with just .map_results

Absolutely!

Ok, let's do that.


Docs for master branch are not uploaded

The docs that can be found under the docs for master link are outdated.
The deploy.sh script, called as after_success in the CI pipeline fails with the following error:
remote: Permission to telegram-rs/telegram-bot.git denied to LukasKalbertodt.
fatal: unable to access<EMAIL_ADDRESS>The requested URL returned error: 403

(See latest pipeline output).
Also the way it is set up at the moment, the docs for this crate, as well as all it's dependencies are built and then pushed to the the gh-pages branch. This causes the current repo to be over 60M big.
I'm not sure how the GitHub pages feature works, but if the docs for the master branch are to be fixed, I'd advocate for only building the docs for this crate and ignoring dependencies (reduces CI time). The documentation should then not be part of this repo but be hosted externally (Gitlab has artifacts for this, not sure if there is something similar for Github/Travis).

The current pipeline was created by a maintainer that is not active anymore. Do you have any recommendation on how to setup a better CI? I'm not against scraping what we currently have and making everything anew

I've fixed docs for master branch. However 60MB repository is an issue. We can use dedicated repo, like telegram-rs/telegram-bot-docs for master branch docs, what do you think @gugahoa?

It seems like the usual pattern is to use a a gh-pages branch with no history. Meaning if no docs get committed, the previous commit on the branch is overwritten. Keeping a history of the docs is not really necessary since they can be rebuild anyway from the sources for older versions.
To further reduce the repo size, the docs should build without dependencies.
It also seems weird to push the docs via the account of a former contributor, this should be handled by travis. I haven't worked with travis before but this link seems to describe how to setup the deployment of the docs (keep_history should be set to false).


add badge

Codecov Report

Merging #7 (0cec44f) into main (131ea62) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main        #7   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines           38        38
=========================================
  Hits            38        38

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


YouTube Timed Text for chat export

This format is not documented anywhere by Google. Thankfully, the VTuber's have figured it out: https://github.com/arcusmaximus/YTSubConverter/blob/master/ytt.ytt
Using existing systems this will be no problem at all to implement. Biggest issue will be creating pens for each user. Should font be configurable, maybe? Config string should be "YouTubeTimedText" or "YTT", probably the latter. Positioning should go the left by default, YouTube has options to override this.

Finished in 77e7332bfc8760cfebfc3d9a428e39a6fc8d4583


Minor fixes

Fixed duplicate content issue when we have more than 1 ViewSet
Do not provide alias using field label

@tonioo thanks. Agreed on the field label issue.


Add Social Preview

I think you could add a social preview for the repository be more appealing to more contributors.
Like the following image:

Hi @Pedro-Ivo-Neves , we have a Social Preview image setup in the repo already.  We may at some point update it to another of our logos as well.  Thanks for asking about this though!  Closing this Issue now.


 Pre-image: { enroll_key: 0x1da29910b5ed5b9ea3bd4207016f485f763b44bd289444a4cef77faa96480d6833ce0b215c3ed6e00e9119352e49bb3e04054e0fca5fef35aeb47a9e425d7ddf, hash: 0xdd0bc8014c002ce8d140efa14be48234a64bc42d6aa2103888f7dc6bee22af6c02febc027890afa3acb008d3fe49e32790e175b8360bc9690eafd45c35d82741, distance: 13 }
2021-03-29 12:28:24,289 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x1da29910b5ed5b9ea3bd4207016f485f763b44bd289444a4cef77faa96480d6833ce0b215c3ed6e00e9119352e49bb3e04054e0fca5fef35aeb47a9e425d7ddf, hash: 0xdd0bc8014c002ce8d140efa14be48234a64bc42d6aa2103888f7dc6bee22af6c02febc027890afa3acb008d3fe49e32790e175b8360bc9690eafd45c35d82741, distance: 13 }
2021-03-29 12:28:24,289 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0xac296969fc6c59a53beb080d1d4f62d344779d9877aca1d374918815a424d50176e0c1bd79355ffb0424c43db050ad97bf799027639f1c65a2f44ae5326f5b8a, hash: 0x3278558c4a8607203ce34ceae954c6919622d2677b43fbe9749bcc4bff897a406338b3de9365321dfe12e6f013d33c6190a8f570cd8d503367332aea88383af9, distance: 13 }
2021-03-29 12:28:24,289 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0xac296969fc6c59a53beb080d1d4f62d344779d9877aca1d374918815a424d50176e0c1bd79355ffb0424c43db050ad97bf799027639f1c65a2f44ae5326f5b8a, hash: 0x3278558c4a8607203ce34ceae954c6919622d2677b43fbe9749bcc4bff897a406338b3de9365321dfe12e6f013d33c6190a8f570cd8d503367332aea88383af9, distance: 13 }
2021-03-29 12:28:24,305 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x1da29910b5ed5b9ea3bd4207016f485f763b44bd289444a4cef77faa96480d6833ce0b215c3ed6e00e9119352e49bb3e04054e0fca5fef35aeb47a9e425d7ddf, hash: 0xdd0bc8014c002ce8d140efa14be48234a64bc42d6aa2103888f7dc6bee22af6c02febc027890afa3acb008d3fe49e32790e175b8360bc9690eafd45c35d82741, distance: 13 }
2021-03-29 12:28:24,306 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0xac296969fc6c59a53beb080d1d4f62d344779d9877aca1d374918815a424d50176e0c1bd79355ffb0424c43db050ad97bf799027639f1c65a2f44ae5326f5b8a, hash: 0x3278558c4a8607203ce34ceae954c6919622d2677b43fbe9749bcc4bff897a406338b3de9365321dfe12e6f013d33c6190a8f570cd8d503367332aea88383af9, distance: 13 }
2021-03-29 12:28:24,307 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x1da29910b5ed5b9ea3bd4207016f485f763b44bd289444a4cef77faa96480d6833ce0b215c3ed6e00e9119352e49bb3e04054e0fca5fef35aeb47a9e425d7ddf, hash: 0xdd0bc8014c002ce8d140efa14be48234a64bc42d6aa2103888f7dc6bee22af6c02febc027890afa3acb008d3fe49e32790e175b8360bc9690eafd45c35d82741, distance: 13 }
2021-03-29 12:28:24,307 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x1da29910b5ed5b9ea3bd4207016f485f763b44bd289444a4cef77faa96480d6833ce0b215c3ed6e00e9119352e49bb3e04054e0fca5fef35aeb47a9e425d7ddf, hash: 0xdd0bc8014c002ce8d140efa14be48234a64bc42d6aa2103888f7dc6bee22af6c02febc027890afa3acb008d3fe49e32790e175b8360bc9690eafd45c35d82741, distance: 13 }
2021-03-29 12:28:24,307 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0xac296969fc6c59a53beb080d1d4f62d344779d9877aca1d374918815a424d50176e0c1bd79355ffb0424c43db050ad97bf799027639f1c65a2f44ae5326f5b8a, hash: 0x3278558c4a8607203ce34ceae954c6919622d2677b43fbe9749bcc4bff897a406338b3de9365321dfe12e6f013d33c6190a8f570cd8d503367332aea88383af9, distance: 13 }
2021-03-29 12:28:24,307 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0xac296969fc6c59a53beb080d1d4f62d344779d9877aca1d374918815a424d50176e0c1bd79355ffb0424c43db050ad97bf799027639f1c65a2f44ae5326f5b8a, hash: 0x3278558c4a8607203ce34ceae954c6919622d2677b43fbe9749bcc4bff897a406338b3de9365321dfe12e6f013d33c6190a8f570cd8d503367332aea88383af9, distance: 13 }
2021-03-29 12:28:24,308 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x1da29910b5ed5b9ea3bd4207016f485f763b44bd289444a4cef77faa96480d6833ce0b215c3ed6e00e9119352e49bb3e04054e0fca5fef35aeb47a9e425d7ddf, hash: 0xdd0bc8014c002ce8d140efa14be48234a64bc42d6aa2103888f7dc6bee22af6c02febc027890afa3acb008d3fe49e32790e175b8360bc9690eafd45c35d82741, distance: 13 }
2021-03-29 12:28:24,309 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0xac296969fc6c59a53beb080d1d4f62d344779d9877aca1d374918815a424d50176e0c1bd79355ffb0424c43db050ad97bf799027639f1c65a2f44ae5326f5b8a, hash: 0x3278558c4a8607203ce34ceae954c6919622d2677b43fbe9749bcc4bff897a406338b3de9365321dfe12e6f013d33c6190a8f570cd8d503367332aea88383af9, distance: 13 }
No response written for /public_key
2021-03-29 12:28:24,355 Info [agora.network.Manager] - Found new FullNode: http://<IP_ADDRESS>:1826
2021-03-29 12:28:24,355 Info [agora.network.Manager] - Found new Validator: http://<IP_ADDRESS>:7826 (key: GDNODE7P5SNNH2YVUOVCDSJHQB3DL64V76QUSE2V5YRNY6HGK4YN6ZQQ)
2021-03-29 12:28:24,985 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x3764508f77003808ba8b27ec0c8706ea7b4efdc8211e132dd8f1509643859af5489292694ef14ce1a77f56fd21f7ef3d57e4b013458aea2d915a82ecd4cf3533, hash: 0xcfed12d21455ab10aef1b9ae1a67f044a1b68d0b2129a84588e0936a239bb2f40b9c4f2b7a6454acc5f6c7169a4f3167efe924aec4924197175817b3a3f4ca22, distance: 13 }
2021-03-29 12:28:24,994 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x3764508f77003808ba8b27ec0c8706ea7b4efdc8211e132dd8f1509643859af5489292694ef14ce1a77f56fd21f7ef3d57e4b013458aea2d915a82ecd4cf3533, hash: 0xcfed12d21455ab10aef1b9ae1a67f044a1b68d0b2129a84588e0936a239bb2f40b9c4f2b7a6454acc5f6c7169a4f3167efe924aec4924197175817b3a3f4ca22, distance: 13 }
2021-03-29 12:28:24,997 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x3764508f77003808ba8b27ec0c8706ea7b4efdc8211e132dd8f1509643859af5489292694ef14ce1a77f56fd21f7ef3d57e4b013458aea2d915a82ecd4cf3533, hash: 0xcfed12d21455ab10aef1b9ae1a67f044a1b68d0b2129a84588e0936a239bb2f40b9c4f2b7a6454acc5f6c7169a4f3167efe924aec4924197175817b3a3f4ca22, distance: 13 }
2021-03-29 12:28:24,997 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x3764508f77003808ba8b27ec0c8706ea7b4efdc8211e132dd8f1509643859af5489292694ef14ce1a77f56fd21f7ef3d57e4b013458aea2d915a82ecd4cf3533, hash: 0xcfed12d21455ab10aef1b9ae1a67f044a1b68d0b2129a84588e0936a239bb2f40b9c4f2b7a6454acc5f6c7169a4f3167efe924aec4924197175817b3a3f4ca22, distance: 13 }
2021-03-29 12:28:25,04 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x3764508f77003808ba8b27ec0c8706ea7b4efdc8211e132dd8f1509643859af5489292694ef14ce1a77f56fd21f7ef3d57e4b013458aea2d915a82ecd4cf3533, hash: 0xcfed12d21455ab10aef1b9ae1a67f044a1b68d0b2129a84588e0936a239bb2f40b9c4f2b7a6454acc5f6c7169a4f3167efe924aec4924197175817b3a3f4ca22, distance: 13 }
2021-03-29 12:28:25,05 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x3764508f77003808ba8b27ec0c8706ea7b4efdc8211e132dd8f1509643859af5489292694ef14ce1a77f56fd21f7ef3d57e4b013458aea2d915a82ecd4cf3533, hash: 0xcfed12d21455ab10aef1b9ae1a67f044a1b68d0b2129a84588e0936a239bb2f40b9c4f2b7a6454acc5f6c7169a4f3167efe924aec4924197175817b3a3f4ca22, distance: 13 }
2021-03-29 12:28:25,550 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x740c6279bb59d9d6e098dab2485f5914aa5cea9ba39639f62c81041dacaf12e887de30089d1d887bc6e96eaecd076be9aac5f158af94c73def6ce255d6aad4f1, hash: 0x3fa69748b241b8deceb19dc86223a5b42b5a547528beb23ff4e6151d24bec8ed7c38081400b6f3cf63a8d803eaaa82823d9d221f1e5a073beb95f9b2fcc0e4ef, distance: 13 }
2021-03-29 12:28:25,571 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x740c6279bb59d9d6e098dab2485f5914aa5cea9ba39639f62c81041dacaf12e887de30089d1d887bc6e96eaecd076be9aac5f158af94c73def6ce255d6aad4f1, hash: 0x3fa69748b241b8deceb19dc86223a5b42b5a547528beb23ff4e6151d24bec8ed7c38081400b6f3cf63a8d803eaaa82823d9d221f1e5a073beb95f9b2fcc0e4ef, distance: 13 }
2021-03-29 12:28:25,600 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x740c6279bb59d9d6e098dab2485f5914aa5cea9ba39639f62c81041dacaf12e887de30089d1d887bc6e96eaecd076be9aac5f158af94c73def6ce255d6aad4f1, hash: 0x3fa69748b241b8deceb19dc86223a5b42b5a547528beb23ff4e6151d24bec8ed7c38081400b6f3cf63a8d803eaaa82823d9d221f1e5a073beb95f9b2fcc0e4ef, distance: 13 }
2021-03-29 12:28:25,606 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x740c6279bb59d9d6e098dab2485f5914aa5cea9ba39639f62c81041dacaf12e887de30089d1d887bc6e96eaecd076be9aac5f158af94c73def6ce255d6aad4f1, hash: 0x3fa69748b241b8deceb19dc86223a5b42b5a547528beb23ff4e6151d24bec8ed7c38081400b6f3cf63a8d803eaaa82823d9d221f1e5a073beb95f9b2fcc0e4ef, distance: 13 }
2021-03-29 12:28:25,613 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x740c6279bb59d9d6e098dab2485f5914aa5cea9ba39639f62c81041dacaf12e887de30089d1d887bc6e96eaecd076be9aac5f158af94c73def6ce255d6aad4f1, hash: 0x3fa69748b241b8deceb19dc86223a5b42b5a547528beb23ff4e6151d24bec8ed7c38081400b6f3cf63a8d803eaaa82823d9d221f1e5a073beb95f9b2fcc0e4ef, distance: 13 }
2021-03-29 12:28:25,620 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x740c6279bb59d9d6e098dab2485f5914aa5cea9ba39639f62c81041dacaf12e887de30089d1d887bc6e96eaecd076be9aac5f158af94c73def6ce255d6aad4f1, hash: 0x3fa69748b241b8deceb19dc86223a5b42b5a547528beb23ff4e6151d24bec8ed7c38081400b6f3cf63a8d803eaaa82823d9d221f1e5a073beb95f9b2fcc0e4ef, distance: 13 }
2021-03-29 12:28:28,857 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:6826..
2021-03-29 12:28:28,857 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:6826..
2021-03-29 12:28:28,857 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:28,888 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:28,893 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:28,893 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:5826..
2021-03-29 12:28:28,893 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:5826..
2021-03-29 12:28:28,894 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:28,918 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:28,923 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:28,923 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:2826..
2021-03-29 12:28:28,923 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:2826..
2021-03-29 12:28:28,923 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:28,946 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:28,949 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:28,949 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:4826..
2021-03-29 12:28:28,949 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:4826..
2021-03-29 12:28:28,950 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:28,966 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:28,970 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:28,970 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:3826..
2021-03-29 12:28:28,970 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:3826..
2021-03-29 12:28:28,970 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:28,986 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:28,989 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:28,989 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:7826..
2021-03-29 12:28:28,989 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:7826..
2021-03-29 12:28:28,989 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:29,06 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:29,09 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:29,549 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0xf86b2a5c800d872737b925df21923eee6eb998c705135e3165f3afd95131e39ec4d74a1b33eb3ea7a54524c183338d01bc79391f44bc6604a8f9e2cd0e324411, hash: 0x15575ec5bcda1ef714b7d90a690b2968631d48a55cc25c8edb02abd45ba535cc05bd0b54b35422dc7f39cef7cccf4eea39ade3c51d1c6615e8e8b60ee7f30d8f, distance: 13 }
2021-03-29 12:28:29,555 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0xf86b2a5c800d872737b925df21923eee6eb998c705135e3165f3afd95131e39ec4d74a1b33eb3ea7a54524c183338d01bc79391f44bc6604a8f9e2cd0e324411, hash: 0x15575ec5bcda1ef714b7d90a690b2968631d48a55cc25c8edb02abd45ba535cc05bd0b54b35422dc7f39cef7cccf4eea39ade3c51d1c6615e8e8b60ee7f30d8f, distance: 13 }
2021-03-29 12:28:29,606 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0xf86b2a5c800d872737b925df21923eee6eb998c705135e3165f3afd95131e39ec4d74a1b33eb3ea7a54524c183338d01bc79391f44bc6604a8f9e2cd0e324411, hash: 0x15575ec5bcda1ef714b7d90a690b2968631d48a55cc25c8edb02abd45ba535cc05bd0b54b35422dc7f39cef7cccf4eea39ade3c51d1c6615e8e8b60ee7f30d8f, distance: 13 }
2021-03-29 12:28:29,640 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0xf86b2a5c800d872737b925df21923eee6eb998c705135e3165f3afd95131e39ec4d74a1b33eb3ea7a54524c183338d01bc79391f44bc6604a8f9e2cd0e324411, hash: 0x15575ec5bcda1ef714b7d90a690b2968631d48a55cc25c8edb02abd45ba535cc05bd0b54b35422dc7f39cef7cccf4eea39ade3c51d1c6615e8e8b60ee7f30d8f, distance: 13 }
2021-03-29 12:28:29,640 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0xf86b2a5c800d872737b925df21923eee6eb998c705135e3165f3afd95131e39ec4d74a1b33eb3ea7a54524c183338d01bc79391f44bc6604a8f9e2cd0e324411, hash: 0x15575ec5bcda1ef714b7d90a690b2968631d48a55cc25c8edb02abd45ba535cc05bd0b54b35422dc7f39cef7cccf4eea39ade3c51d1c6615e8e8b60ee7f30d8f, distance: 13 }
2021-03-29 12:28:29,643 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0xf86b2a5c800d872737b925df21923eee6eb998c705135e3165f3afd95131e39ec4d74a1b33eb3ea7a54524c183338d01bc79391f44bc6604a8f9e2cd0e324411, hash: 0x15575ec5bcda1ef714b7d90a690b2968631d48a55cc25c8edb02abd45ba535cc05bd0b54b35422dc7f39cef7cccf4eea39ade3c51d1c6615e8e8b60ee7f30d8f, distance: 13 }
2021-03-29 12:28:31,660 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x6100ee7a7e00e18e06b743a7ae90e91781c09e0f1791ee2849ce15caf4c6ee1f3aebc23768f98153d8e3fb10ac66267e06acc31dccbfdbe671294a7fded22432, hash: 0x38fd4c069d4fcf25e998ca7c4b4dd9c1c63c03984cfd234d494897bec6acfbf301686bc7cc37290cefbb4977eee03825bfdc099a2d251605d81e359dc0005bca, distance: 13 }
2021-03-29 12:28:32,290 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x1da29910b5ed5b9ea3bd4207016f485f763b44bd289444a4cef77faa96480d6833ce0b215c3ed6e00e9119352e49bb3e04054e0fca5fef35aeb47a9e425d7ddf, hash: 0xdd0bc8014c002ce8d140efa14be48234a64bc42d6aa2103888f7dc6bee22af6c02febc027890afa3acb008d3fe49e32790e175b8360bc9690eafd45c35d82741, distance: 13 }
2021-03-29 12:28:33,13 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0xac296969fc6c59a53beb080d1d4f62d344779d9877aca1d374918815a424d50176e0c1bd79355ffb0424c43db050ad97bf799027639f1c65a2f44ae5326f5b8a, hash: 0x3278558c4a8607203ce34ceae954c6919622d2677b43fbe9749bcc4bff897a406338b3de9365321dfe12e6f013d33c6190a8f570cd8d503367332aea88383af9, distance: 13 }
2021-03-29 12:28:33,857 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:6826..
2021-03-29 12:28:33,857 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:6826..
2021-03-29 12:28:33,858 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:33,886 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:33,891 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:33,891 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:5826..
2021-03-29 12:28:33,891 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:5826..
2021-03-29 12:28:33,892 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:33,916 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:33,921 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:33,921 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:2826..
2021-03-29 12:28:33,921 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:2826..
2021-03-29 12:28:33,921 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:33,936 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:33,939 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:33,939 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:4826..
2021-03-29 12:28:33,939 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:4826..
2021-03-29 12:28:33,939 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:33,955 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:33,958 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:33,958 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:3826..
2021-03-29 12:28:33,958 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:3826..
2021-03-29 12:28:33,958 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:33,974 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:33,977 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:33,977 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:7826..
2021-03-29 12:28:33,977 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:7826..
2021-03-29 12:28:33,977 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:33,991 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:33,994 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:35,30 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x3764508f77003808ba8b27ec0c8706ea7b4efdc8211e132dd8f1509643859af5489292694ef14ce1a77f56fd21f7ef3d57e4b013458aea2d915a82ecd4cf3533, hash: 0xcfed12d21455ab10aef1b9ae1a67f044a1b68d0b2129a84588e0936a239bb2f40b9c4f2b7a6454acc5f6c7169a4f3167efe924aec4924197175817b3a3f4ca22, distance: 13 }
2021-03-29 12:28:35,590 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x740c6279bb59d9d6e098dab2485f5914aa5cea9ba39639f62c81041dacaf12e887de30089d1d887bc6e96eaecd076be9aac5f158af94c73def6ce255d6aad4f1, hash: 0x3fa69748b241b8deceb19dc86223a5b42b5a547528beb23ff4e6151d24bec8ed7c38081400b6f3cf63a8d803eaaa82823d9d221f1e5a073beb95f9b2fcc0e4ef, distance: 13 }
2021-03-29 12:28:38,857 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:6826..
2021-03-29 12:28:38,857 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:6826..
2021-03-29 12:28:38,857 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:38,883 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:38,890 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:38,890 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:5826..
2021-03-29 12:28:38,890 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:5826..
2021-03-29 12:28:38,890 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:38,918 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:38,923 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:38,923 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:2826..
2021-03-29 12:28:38,923 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:2826..
2021-03-29 12:28:38,923 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:38,945 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:38,948 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:38,948 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:4826..
2021-03-29 12:28:38,948 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:4826..
2021-03-29 12:28:38,948 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:38,962 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:38,965 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:38,965 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:3826..
2021-03-29 12:28:38,965 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:3826..
2021-03-29 12:28:38,965 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:38,981 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:38,984 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:38,984 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:7826..
2021-03-29 12:28:38,984 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:7826..
2021-03-29 12:28:38,984 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:39,00 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:39,03 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:39,590 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0xf86b2a5c800d872737b925df21923eee6eb998c705135e3165f3afd95131e39ec4d74a1b33eb3ea7a54524c183338d01bc79391f44bc6604a8f9e2cd0e324411, hash: 0x15575ec5bcda1ef714b7d90a690b2968631d48a55cc25c8edb02abd45ba535cc05bd0b54b35422dc7f39cef7cccf4eea39ade3c51d1c6615e8e8b60ee7f30d8f, distance: 13 }
2021-03-29 12:28:41,656 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x6100ee7a7e00e18e06b743a7ae90e91781c09e0f1791ee2849ce15caf4c6ee1f3aebc23768f98153d8e3fb10ac66267e06acc31dccbfdbe671294a7fded22432, hash: 0x38fd4c069d4fcf25e998ca7c4b4dd9c1c63c03984cfd234d494897bec6acfbf301686bc7cc37290cefbb4977eee03825bfdc099a2d251605d81e359dc0005bca, distance: 13 }
2021-03-29 12:28:42,293 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x1da29910b5ed5b9ea3bd4207016f485f763b44bd289444a4cef77faa96480d6833ce0b215c3ed6e00e9119352e49bb3e04054e0fca5fef35aeb47a9e425d7ddf, hash: 0xdd0bc8014c002ce8d140efa14be48234a64bc42d6aa2103888f7dc6bee22af6c02febc027890afa3acb008d3fe49e32790e175b8360bc9690eafd45c35d82741, distance: 13 }
2021-03-29 12:28:43,13 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0xac296969fc6c59a53beb080d1d4f62d344779d9877aca1d374918815a424d50176e0c1bd79355ffb0424c43db050ad97bf799027639f1c65a2f44ae5326f5b8a, hash: 0x3278558c4a8607203ce34ceae954c6919622d2677b43fbe9749bcc4bff897a406338b3de9365321dfe12e6f013d33c6190a8f570cd8d503367332aea88383af9, distance: 13 }
2021-03-29 12:28:43,856 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:6826..
2021-03-29 12:28:43,856 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:6826..
2021-03-29 12:28:43,857 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:43,884 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:43,889 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:43,889 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:5826..
2021-03-29 12:28:43,889 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:5826..
2021-03-29 12:28:43,889 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:43,918 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:43,922 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:43,922 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:2826..
2021-03-29 12:28:43,922 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:2826..
2021-03-29 12:28:43,922 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:43,939 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:43,942 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:43,942 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:4826..
2021-03-29 12:28:43,942 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:4826..
2021-03-29 12:28:43,942 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:43,959 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:43,962 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:43,962 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:3826..
2021-03-29 12:28:43,962 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:3826..
2021-03-29 12:28:43,962 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:43,978 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:43,981 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:43,981 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:7826..
2021-03-29 12:28:43,981 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:7826..
2021-03-29 12:28:43,982 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:43,996 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:44,01 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:45,26 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x3764508f77003808ba8b27ec0c8706ea7b4efdc8211e132dd8f1509643859af5489292694ef14ce1a77f56fd21f7ef3d57e4b013458aea2d915a82ecd4cf3533, hash: 0xcfed12d21455ab10aef1b9ae1a67f044a1b68d0b2129a84588e0936a239bb2f40b9c4f2b7a6454acc5f6c7169a4f3167efe924aec4924197175817b3a3f4ca22, distance: 13 }
2021-03-29 12:28:45,593 Info [agora.consensus.state.ValidatorSet] - Invalid pre-image data: The pre-image has a invalid hash value. Pre-image: { enroll_key: 0x740c6279bb59d9d6e098dab2485f5914aa5cea9ba39639f62c81041dacaf12e887de30089d1d887bc6e96eaecd076be9aac5f158af94c73def6ce255d6aad4f1, hash: 0x3fa69748b241b8deceb19dc86223a5b42b5a547528beb23ff4e6151d24bec8ed7c38081400b6f3cf63a8d803eaaa82823d9d221f1e5a073beb95f9b2fcc0e4ef, distance: 13 }
2021-03-29 12:28:48,856 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:6826..
2021-03-29 12:28:48,856 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:6826..
2021-03-29 12:28:48,857 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:48,887 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:48,892 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:48,892 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:5826..
2021-03-29 12:28:48,892 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:5826..
2021-03-29 12:28:48,892 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:48,920 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:48,924 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:48,924 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:2826..
2021-03-29 12:28:48,924 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:2826..
2021-03-29 12:28:48,925 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:48,944 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:48,949 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:48,949 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:4826..
2021-03-29 12:28:48,949 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:4826..
2021-03-29 12:28:48,949 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:48,965 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:48,968 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:48,968 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:3826..
2021-03-29 12:28:48,968 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:3826..
2021-03-29 12:28:48,968 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:48,985 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:48,988 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch
2021-03-29 12:28:48,988 Info [agora.network.Manager] - Retrieving blocks [1..67] from http://<IP_ADDRESS>:7826..
2021-03-29 12:28:48,988 Info [agora.network.Manager] - Retrieving preimages from the height of 0 from http://<IP_ADDRESS>:7826..
2021-03-29 12:28:48,988 Info [agora.network.Manager] - Received 0 preimages
2021-03-29 12:28:49,06 Info [agora.network.Manager] - Received blocks [1..20]
2021-03-29 12:28:49,10 Error [agora.consensus.validation.Block] - [source/agora/node/FullNode.d:345] Block: Invalid schnorr signature for 6 active validators. Sum of R mismatch

This happens with new Validators as well.


Change ladder to profiles, soften wording

Changed to the concept of profiles rather than a ladder.
Softened language around changing between profiles and the working group process.

This is based around feedback from #26 and #37

Just a note that this appears to miss the terms in the README.md.

I will submit another PR in a minute to address that.


Better way to do redirects?

In the scenario where we need to:

Receive a request
Do some work
Redirect that request somewhere else

I'm seeing very sluggish performance (some seconds in fact)
I suspect it's my own fault. On a NodeJS Http (or Polka) server I normally do:
res.writeHead(302, {'Location', 'http://some-other-url'})
and the performance is acceptable. On UWebSockets.js I'm trying as follows:
res.writeStatus('302')
res.writeHeader('location', ''http://some-other-url')
res.end()

but the delay is palpable. Is there a better approach?

#828

Closing as #828 will fix.


Adding issue templates

I want to add these issue templates in this repo.

Bug Report
Feature Request
Proposal

Kindly assign me this issue as a part of LGM-SOC'21.
Also tag necessary labels.

Also add lgm-soc label


FTP calculation should be 0,95 of the 20-min max power

Step 1: Are you in the right place?

Your problem may have been already covered in the FAQ. Did you check https://github.com/thomaschampagne/stravistix/wiki/Frequently-Asked-Questions?
Your problem or feature request may already exists in project issues section. Did you check https://github.com/thomaschampagne/stravistix/issues?

Step 2: Describe your environment

Plugin version: 6.1.0 Stable
Chrome/Opera/Chromium version: Version 65.0.3325.181 (Official Build) (64-bit)
OS version: Windows 10 Pro

Step 3: Describe the problem:
Recently you added the FTP to every ride, but it's equal to 20-min max power which is not correct. It should be down 5% of the 20-min test.
Steps to reproduce:

Actual Behavior:

What happened?
Do you have javascript errors logs in browser console?

Press F12 to see developer console and javascript logs

Copy and paste your console logs here.

Expected Behavior:

What did you expect to happen?

Media attachement:

You can upload/attach any images to this ticket.

Providing your stravistix synced athlete history can be usefull to solve the problem

To export you history click on "sync button" (top right and corner), then "Backup history". You can zip the file and upload it here.

[ ] Change FTP helper in athlete settings


Clientlog spams event queue

The clientlog service sends one SendSSE event per upload per spacemember. Instead it should sent one (1) SendSSE event containing a list of userids. Then the sse service should loop over the list of members.

Fixed with https://github.com/owncloud/ocis/pull/8379


Failed to Build NAR on Windows

i am trying to create python processor for NIFI 2.0.0-M4 using python 3.12, i want to build the nar for python processor with the help of hatch and hatch-datavolo-nar package with all dependencies bundled in nar.
I have created python project with command
 hatch new trainer
then added processor .py file into src/trainer and this my pyproject.toml file

[build-system]
requires = ["hatchling", "hatch-datavolo-nar"]
build-backend = "hatchling.build"

[project]
name = "trainer"
dynamic = ["version"]
description = "Simple trainer processor"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
keywords = ["trainer"]
authors = [
  { name = "U.N. Owen", email =<EMAIL_ADDRESS>},
]

dependencies = ["neuralprophet", "numpy", "pandas",]

[tool.hatch.version]
path = "src/trainer/__about__.py"

[tool.hatch.build.targets.nar]
packages = ["src/trainer"]

i am trying to build with
hatch build --target nar
but getting error at NAR-INF dependencies bundling
Processing dependencies...
Loading dependencies
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\ayush.raj\AppData\Local\hatch\env\virtual\neuralprophet\IXYHy4qS\neuralprophet-build\Lib\site-packages\hatchling\__main__.py", line 6, in <module>
    sys.exit(hatchling())
             ^^^^^^^^^^^
  File "C:\Users\ayush.raj\AppData\Local\hatch\env\virtual\neuralprophet\IXYHy4qS\neuralprophet-build\Lib\site-packages\hatchling\cli\__init__.py", line 26, in hatchling
    command(**kwargs)
  File "C:\Users\ayush.raj\AppData\Local\hatch\env\virtual\neuralprophet\IXYHy4qS\neuralprophet-build\Lib\site-packages\hatchling\cli\build\__init__.py", line 82, in build_impl
    for artifact in builder.build(
  File "C:\Users\ayush.raj\AppData\Local\hatch\env\virtual\neuralprophet\IXYHy4qS\neuralprophet-build\Lib\site-packages\hatchling\builders\plugin\interface.py", line 155, in build
    artifact = version_api[version](directory, **build_data)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\ayush.raj\AppData\Local\hatch\env\virtual\neuralprophet\IXYHy4qS\neuralprophet-build\Lib\site-packages\hatch_datavolo_nar\builder.py", line 115, in build_standard
    self.process_dependencies(build_directory, nar)
  File "C:\Users\ayush.raj\AppData\Local\hatch\env\virtual\neuralprophet\IXYHy4qS\neuralprophet-build\Lib\site-packages\hatch_datavolo_nar\builder.py", line 125, in process_dependencies
    self.install_dependencies(dependencies_dir, cache_dir)
  File "C:\Users\ayush.raj\AppData\Local\hatch\env\virtual\neuralprophet\IXYHy4qS\neuralprophet-build\Lib\site-packages\hatch_datavolo_nar\builder.py", line 163, in install_dependencies
    check_call(install_arguments, stdout=PIPE, stderr=PIPE, shell=False)
  File "C:\Users\ayush.raj\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\Users\\ayush.raj\\AppData\\Local\\hatch\\env\\virtual\\neuralprophet\\IXYHy4qS\\neuralprophet-build\\Scripts\\python.EXE', '-m', 'pip', 'install', 'neuralprophet', 'numpy', 'pandas', '--upgrade', '--no-python-version-warning', '--no-input', '--cache-dir', "'C:\\Users\\ayush.raj\\Desktop\\POCs\\new\\pyproject\\trainer\\dist/pip-cache'", '--quiet', '--target', "'C:\\Users\\ayush.raj\\Desktop\\POCs\\new\\pyproject\\trainer\\dist\\NAR-INF\\bundled-dependencies'"]' returned non-zero exit status 2.

NOTE: if i am putting dependencies as empty in .toml file then it is successfully building nar

please help !!

Thanks for posting this issue @AyushRajSharma.
The problem appears to be specific to running on Windows and including the specific dependencies. Have you tried running the build with a smaller set of dependencies? Trying a smaller set for testing would help isolate the problem.

yes @exceptionfactory,
i tried with only pandas dependencies also. giving the same result

i am trying to create python processor for NIFI 2.0.0-M4 using python 3.12, i want to build the nar for python processor with the help of hatch and hatch-datavolo-nar package with all dependencies bundled in nar. I have created python project with command
 hatch new trainer
then added processor .py file into src/trainer and this my pyproject.toml file

[build-system]
requires = ["hatchling", "hatch-datavolo-nar"]
build-backend = "hatchling.build"

[project]
name = "trainer"
dynamic = ["version"]
description = "Simple trainer processor"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
keywords = ["trainer"]
authors = [
  { name = "U.N. Owen", email =<EMAIL_ADDRESS>},
]

dependencies = ["neuralprophet", "numpy", "pandas",]

[tool.hatch.version]
path = "src/trainer/__about__.py"

[tool.hatch.build.targets.nar]
packages = ["src/trainer"]

i am trying to build with
hatch build --target nar
but getting error at NAR-INF dependencies bundling
Processing dependencies...
Loading dependencies
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\ayush.raj\AppData\Local\hatch\env\virtual\neuralprophet\IXYHy4qS\neuralprophet-build\Lib\site-packages\hatchling\__main__.py", line 6, in <module>
    sys.exit(hatchling())
             ^^^^^^^^^^^
  File "C:\Users\ayush.raj\AppData\Local\hatch\env\virtual\neuralprophet\IXYHy4qS\neuralprophet-build\Lib\site-packages\hatchling\cli\__init__.py", line 26, in hatchling
    command(**kwargs)
  File "C:\Users\ayush.raj\AppData\Local\hatch\env\virtual\neuralprophet\IXYHy4qS\neuralprophet-build\Lib\site-packages\hatchling\cli\build\__init__.py", line 82, in build_impl
    for artifact in builder.build(
  File "C:\Users\ayush.raj\AppData\Local\hatch\env\virtual\neuralprophet\IXYHy4qS\neuralprophet-build\Lib\site-packages\hatchling\builders\plugin\interface.py", line 155, in build
    artifact = version_api[version](directory, **build_data)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\ayush.raj\AppData\Local\hatch\env\virtual\neuralprophet\IXYHy4qS\neuralprophet-build\Lib\site-packages\hatch_datavolo_nar\builder.py", line 115, in build_standard
    self.process_dependencies(build_directory, nar)
  File "C:\Users\ayush.raj\AppData\Local\hatch\env\virtual\neuralprophet\IXYHy4qS\neuralprophet-build\Lib\site-packages\hatch_datavolo_nar\builder.py", line 125, in process_dependencies
    self.install_dependencies(dependencies_dir, cache_dir)
  File "C:\Users\ayush.raj\AppData\Local\hatch\env\virtual\neuralprophet\IXYHy4qS\neuralprophet-build\Lib\site-packages\hatch_datavolo_nar\builder.py", line 163, in install_dependencies
    check_call(install_arguments, stdout=PIPE, stderr=PIPE, shell=False)
  File "C:\Users\ayush.raj\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\Users\\ayush.raj\\AppData\\Local\\hatch\\env\\virtual\\neuralprophet\\IXYHy4qS\\neuralprophet-build\\Scripts\\python.EXE', '-m', 'pip', 'install', 'neuralprophet', 'numpy', 'pandas', '--upgrade', '--no-python-version-warning', '--no-input', '--cache-dir', "'C:\\Users\\ayush.raj\\Desktop\\POCs\\new\\pyproject\\trainer\\dist/pip-cache'", '--quiet', '--target', "'C:\\Users\\ayush.raj\\Desktop\\POCs\\new\\pyproject\\trainer\\dist\\NAR-INF\\bundled-dependencies'"]' returned non-zero exit status 2.

NOTE: if i am putting dependencies as empty in .toml file then it is successfully building nar

when i tried to run command manually with instead of using 'C:\Users\ayush.raj\AppData\Local\hatch\env\virtual\neuralprophet\IXYHy4qS\neuralprophet-build\Scripts\python.EXE' -m pip if i am using just pip install then it is generating NAR-INF

Thanks again for reporting this issue @AyushRajSharma and thanks for the resolution @AsifArmanRahman! This issue is resolved in version 1.0.1


Request: option to throw error on encountering an unknown key

I'm currently doing this manually with the code shown in #2,
      keysBefore = allProperties(parsed)
      validated = validator.validate ...
      difference = _.difference keysBefore, allProperties(parsed)
      console.log "Invalid keys, not in schema:", difference

but it would be nice if this was cooked into the core.

There is an option called deleteUnknownProperties which take care of this. When set to true, all properties which are not part of the Schema are deleted automatically.

Right, but this doesn't throw errors when encountering an unknown key, which is what the code above does (in conjunction with deleteUnknownProperties)
It would be nice to have an option like
strictKeys: true
that treated unknown properties as an error.

Ok, i understand. I will have a look at it.


v24.3.0-alpha.1 release notes

Fixes REL-1511

@mdlinville There seems to be one final link breaking, looks like some missing anchor href but I'm not quite sure where it is.

@mdlinville There seems to be one final link breaking, looks like some missing anchor href but I'm not quite sure where it is.

It seems like this is good now? Let me run a local linkcheck just to be sure.

@mdlinville There seems to be one final link breaking, looks like some missing anchor href but I'm not quite sure where it is.

Current state of this PR has no broken links locally (or in the PR checks). I think we are good on this bit.


I have an issue with h.datasource-azureOpenAI JS sample

Language
Javascript/Typescript
Version
latest
Description
I followed all the steps to configure the Azure OpenAI and Search services, replacing the necessary keys and endpoints. However, I am encountering issues during normal Chrome debugging, where it repeatedly asks for the Azure Search key and Azure OpenAI key. Additionally, when I use the Teams Toolkit testtool, I receive an unhandled error message: [onTurnError] unhandled error: AxiosError: Request failed with status code 400 +0ms.
Chrome debugging

Teams testtool debugging

Please note I test az open key and endpoint with other sample code and its works fine
Reproduction Steps
1.Clone repo
2.replace the azure key and azure endpoint
3.create .env file
4.add azure search key and endpoint to propmt config.json
5. run npm i
6. test the app
...

Please verify that your index_name in the code matches the index name of your files on oai.azure.com. When customers have encountered a 400 error on this sample, that has usually been the cause of the bug.


Add Emissions model base class/subclasses

Are there any other Emission models and/or base class methods that you think we need?
Otherwise, I will close this issue.

We probably want a way of noising up categorical data. A simple one could be to sample another categorical distribution with the same number of categories (probably combined with Sometimes), either with an inferred alpha or just uniformly to start.
That would model mislabeled values, but looking at the top of page 4 in the PClean paper (https://arxiv.org/pdf/2007.11838), there's also a notion of "Noisy Categorical" that models typos in the labels. Our code currently assumes categoricals have a known number of categories (encoded as integers 0 through k-1), and the presence of label typos means we don't know the number of categories up front, so I think we'd need a CRP instead. That would require additional code changes, like making CRP a Distribution subclass and associating the tables with strings (or we could treat categoricals as a separate Class in the PClean sense and re-use that machinery -- I'm not sure if there's a reason not to do that).
Mis-categorizations and typos both strike me as things we want in the model eventually, and fairly high priority (although label typos especially seems like a significant amount of work, so if you're focusing on other things you could close this and open other issue(s) for noisy categoricals that others could get to as we have time).
Curious as to @alex-lew and @Joaoloula thoughts on this.

That all sounds fun enough that I'll selfishly keep this task assigned to myself.  :)
One interesting complication is that Sometimes requires the Emission it is adapting to assign zero probability to the true value, which wouldn't be straightforwardly true for either another categorical or CRP distribution.


Switch Accumulo into multiple modules, one per minor release

@madrob, @joshelser  can I get a review?

yeah, future proofing. I figure this will make it easier to compare perf using the 1.6 - 1.8 clients, but I have no specific reason to think they'll be different.

I pushed an update that switched the 1.8 and 1.6 specific bindings to both refer to their respective version's user manual.

planning to push this based on @joshelser's previous +1 later today. speak up if anyone would like more time to review further.

+1 from me. Thanks Sean. Nice work here.


Problems connecting two devices at the same time.

I would like to connect 2 BLE devices simultaneously with unity. For this I copied the demo script and did the same for the canvas. The goal is to connect one device at a time via a canvas. The functions of the canvas I have of course connected to the copied demo script. However, I can now connect to one canvas and also subscribe to it, but as soon as I search for devices in the second canvas, no devices are displayed. Do I have to connect the copied demo script to another cpp script or is there another way to connect two devices at the same time?

Maybe looking at this can be helpful?: https://github.com/adabru/BleWinrtDll/issues/32


why I can’t find the transaction through rest api? How to set this block_count

I check the current transaction at block height 149441,
http://<IP_ADDRESS>:8080/tx/be3205fc91cd897433c3ca7c089d95edc9fdfbe56297f745ec34971cb18207eb
why I can’t find the transaction through rest api?
http://<IP_ADDRESS>:8080/v0/search/transactions?start_block=0&block_count=149441&limit=10&sort=desc&q=receiver:eosio.token+action:transfer+data.to:xihzz2blorkc
I tried to enlarge the block_count to 200000, but the transaction is still not found
http://<IP_ADDRESS>:8080/v0/search/transactions?start_block=0&block_count=200000&limit=10&sort=desc&q=receiver:eosio.token+action:transfer+data.to:xihzz2blorkc
When I delete the block_count, I can check the transaction
http://<IP_ADDRESS>:8080/v0/search/transactions?start_block=0&limit=10&sort=desc&q=receiver:eosio.token+action:transfer+data.to:xihzz2blorkc
block_count Optional
Number (uint32)     Number of blocks to search from start_block. Depending on sort order, the block_count will count upwards or downwards.

How to understand block_count here
block_end = block_start + block_count?

The /v0/search/transactions is deprecated, we do not recommend its usage anymore, especially since the API is really hard to understand a the block_start, block_count and sort parameters are inter-related and is a hard to use interface.
The replacement is to use the GraphQL API searchTransactions feature. Here an example on your own endpoint:
http://<IP_ADDRESS>:8080/graphiql/?query=cXVlcnkgewogIHNlYXJjaFRyYW5zYWN0aW9uc0ZvcndhcmQocXVlcnk6ICJyZWNlaXZlcjplb3Npby50b2tlbiBhY3Rpb246dHJhbnNmZXIgZGF0YS50bzp4aWh6ejJibG9ya2MiLCBsb3dCbG9ja051bTogMjcxMjgzLCBoaWdoQmxvY2tOdW06IDg3MTI4MykgewogICAgcmVzdWx0cyB7CiAgICAgIHVuZG8KICAgICAgY3Vyc29yCiAgICAgIHRyYWNlIHsKICAgICAgICBibG9jayB7CiAgICAgICAgICBudW0KICAgICAgICAgIGlkCiAgICAgICAgICBjb25maXJtZWQKICAgICAgICAgIHRpbWVzdGFtcAogICAgICAgICAgcHJldmlvdXMKICAgICAgICB9CiAgICAgICAgaWQKICAgICAgICBtYXRjaGluZ0FjdGlvbnMgewogICAgICAgICAgYWNjb3VudAogICAgICAgICAgbmFtZQogICAgICAgICAganNvbgogICAgICAgICAgc2VxCiAgICAgICAgICByZWNlaXZlcgogICAgICAgIH0KICAgICAgfQogICAgfQogIH0KfQo=&variables=e30=
I'm not sure why it doesn't match it, please reproduce using the GraphQL API and I'll take a look if you can reproduce. I'll close for now, re-open if the bug can be reproduced.

The /v0/search/transactions is deprecated, we do not recommend its usage anymore, especially since the API is really hard to understand a the block_start, block_count and sort parameters are inter-related and is a hard to use interface.
The replacement is to use the GraphQL API searchTransactions feature. Here an example on your own endpoint:
http://<IP_ADDRESS>:8080/graphiql/?query=cXVlcnkgewogIHNlYXJjaFRyYW5zYWN0aW9uc0ZvcndhcmQocXVlcnk6ICJyZWNlaXZlcjplb3Npby50b2tlbiBhY3Rpb246dHJhbnNmZXIgZGF0YS50bzp4aWh6ejJibG9ya2MiLCBsb3dCbG9ja051bTogMjcxMjgzLCBoaWdoQmxvY2tOdW06IDg3MTI4MykgewogICAgcmVzdWx0cyB7CiAgICAgIHVuZG8KICAgICAgY3Vyc29yCiAgICAgIHRyYWNlIHsKICAgICAgICBibG9jayB7CiAgICAgICAgICBudW0KICAgICAgICAgIGlkCiAgICAgICAgICBjb25maXJtZWQKICAgICAgICAgIHRpbWVzdGFtcAogICAgICAgICAgcHJldmlvdXMKICAgICAgICB9CiAgICAgICAgaWQKICAgICAgICBtYXRjaGluZ0FjdGlvbnMgewogICAgICAgICAgYWNjb3VudAogICAgICAgICAgbmFtZQogICAgICAgICAganNvbgogICAgICAgICAgc2VxCiAgICAgICAgICByZWNlaXZlcgogICAgICAgIH0KICAgICAgfQogICAgfQogIH0KfQo=&variables=e30=
I'm not sure why it doesn't match it, please reproduce using the GraphQL API and I'll take a look if you can reproduce. I'll close for now, re-open if the bug can be reproduced.


how to add additional button

I want to add additional buttton 'truncated' like 'difficult', evrything is ok but get_str. I konw that string_bundle build id_to_message by resource/strings/string.properties. But after add truncated to this properties file, get_str still cannot find truncated. Is there anything I miss?

Use
make qt5py3


Search action icons always visible

Type: Feature Request
This one got me for a good while: "why don't my search results have the 'X' button?" I searched through the Settings, googled for answers, and finally found this one: https://github.com/microsoft/vscode/issues/87172.
It turns out that the actions are there, but if the search results are long enough, it pushes the action icons out of view.
https://github.com/microsoft/vscode/assets/1311744/50863753-d318-4272-8aa1-17eb0e064d39
That makes sense now, and I understand that in UI layouts you can't have both horiz scrolling and horiz overflow (and horiz scrolling is great), but perhaps there is a solution:
Simpy make the action buttons floating at the right. They would obscure the line text,  but that can be mitigated with some padding-right and horiz scrolling.
Does it seem worth investigating whether we can make the action buttons always visible?
thx
VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:16:23.416Z)
OS version: Linux x64 5.15.0-105-generic
Modes:

This does only happen with horizontal scrolling enabled, but supporting floating buttons in that mode would be cool

This seems to be a duplicate of https://github.com/microsoft/vscode/issues/45717. Seems that we would need to take an extra look at horizontal scrolling in the search view to make it more polished.