Azure bot Direct Line App Service Extension Error: Upgrade to WebSocket is required

Hello Team,
I have Azure web app bot using bot framework and qnamaker , To isolate bot service from unauthenticated user access i have enabled Direct Line App Service Extension.
For this:

I have enabled App service extension from Direct Line Channel in portal
Configured App Service Extension Keys into App Service.
Made required change in Web App Bot source to add app.UseWebSocket() & app.UseNamedPipes() and deployed changes. (apart from these two, i have not made any other change)
added OutOfProcess in csproj file.

The Bot is created and configured through Virtual Assistant template and the OS is of Linux kind.
But I am getting error upon accessing https://xxx.azurewebsites.net/api/messages that Upgrade to WebSocket is required.
and getting 404 error while access https://xxx.azurewebsites.net/.bot/
I already have

enabled Web Socket option from General Settings of App service configuration,
Configured DirectLineExtensionKey and Version in Application Settings section.

I already have followed troubleshooting steps mentioned here: https://docs.microsoft.com/en-us/azure/bot-service/bot-service-channel-directline-extension-net-bot?view=azure-bot-service-4.0#troubleshooting but still not success
Surprisingly bot in the web chat still working and responding to questions
Could you please advise what could be possible reason for the issue, as the check for correct configuration is to see json result upon navigating to : https://<your_app_service>.azurewebsites.net/.bot and getting result something like : {"v":"123","k":true,"ib":true,"ob":true,"initialized":true}
But here i am getting 404.

Thank you.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6c72c259-a864-9e1c-b585-562d6bca80ff
Version Independent ID: 30a3fce8-d236-5c7b-88a0-003c971f2819
Content: Configure .NET bots for the Direct Line App Service extension in the Bot Framework SDK - Bot Service
Content Source: articles/bot-service-channel-directline-extension-net-bot.md
Service: bot-service
GitHub Login: @JonathanFingold
Microsoft Alias: iawilt

@pravinambekar, can you verify that the web app is deployed correctly by visiting the URL by itself (i.e. https://xxx.azurewebsites.net/).  Also, can you clarify so I am certain, is this a dotnet bot or a JS bot you are building with? And, what is the version of the SDK?
If the site is running and the page does display, can you then tell me whether you are using the CloudAdapter or BotFrameworkAdapter? And, could you also provide the code you are using for setting up the named pipe?
If it's easier, you can zip up and attach a copy of your bot here for me to repro with. Just be sure to remove any keys/secrets before doing so.
As for the Upgrade to WebSocket is required. message, that is expected. Direct Line App Service extension uses web sockets for bidirectional communication. Therefore, trying to access the messaging endpoint is going to fail since a web socket has not been setup. Additionally, even if web sockets were not used, unless you setup your bot to access GET requests, you would likely still get a resource not found message when trying to access from the browser. As such, you can ignore this message.

@pravinambekar, can you verify that the web app is deployed correctly by visiting the URL by itself (i.e. https://xxx.azurewebsites.net/).  Also, can you clarify so I am certain, is this a dotnet bot or a JS bot you are building with? And, what is the version of the SDK?
If the site is running and the page does display, can you then tell me whether you are using the CloudAdapter or BotFrameworkAdapter? And, could you also provide the code you are using for setting up the named pipe?
If it's easier, you can zip up and attach a copy of your bot here for me to repro with. Just be sure to remove any keys/secrets before doing so.
As for the Upgrade to WebSocket is required. message, that is expected. Direct Line App Service extension uses web sockets for bidirectional communication. Therefore, trying to access the messaging endpoint is going to fail since a web socket has not been setup. Additionally, even if web sockets were not used, unless you setup your bot to access GET requests, you would likely still get a resource not found message when trying to access from the browser. As such, you can ignore this message.

Hello @stevkan ,

Yes, the Bot is running successfully and upon hitting URL : https://xxxx.azurewebsite.net/ i am getting default page:

Yes It is DotNet Bot (Dotnet core ver. 3 based bot), and BotFramework version is 4.14.1

I am using BotFramework adaptor , I have attached required code files here (QnABot.cs, WelcomeCard json, BotController, Token Controller, appsetting.json and startup.cs), let me know if this is enough or i have to send complete code.

From your comment about upgrade to websocket i understood now that as websocket is not setup it will fail
But further i did little investigation and to summarize :

I have client side html page which first request direct line token which successfully getting generated from tokencontroller

The next step is to render webchat with the code:

window.WebChat.renderWebChat(
        {
          directLine: await window.WebChat.createDirectLineAppServiceExtension({
            domain: 'http://localhost:3978/.bot/v3/directline',
            token
          })
        },
        document.getElementById('webchat')
      );

But apparently it fails giving WebSocket fail error when it calls to ws://localhost:3978/.bot/v3/directline/conversations/connect?xxx , it means something is wrong when calling bot conversation along with token information.

To understand and test i tried calling : https://directline.botframework.com/v3/directline/conversations from postman as a POST call by providing Token generated in earlier step as : Authorization : Bearer XXX  but it gives me error as 403 Forbidden i am really not sure why this error is appearing but definitely it concerns me (may be the reason rest of steps not working)

Request you to have a look at TokenController, QnABot.cs and startup.cs to see if i am really missing anything or it is something related to the communication over websocket.
PS: The initial code for DotNet bot is downloaded from portal , when created with Virtual Assistant template and customized as per need.

PS: The bot currently working absolutely fine when rendering as IFrame in internal site, and also in Test in Web Chat option
but fails when enabling Direct Line App Service Extension
indexhtml.zip
Bots.zip

One thing I noticed in your bot, in the Startup.cs file, line 138, is the app.UseNamedPipes() method is looking for the "APPSETTING_WEBSITE_SITE_NAME" environment variable in your appsettings.json file. However, you do not have this defined. Please add this variable and define it. Using your bot's name will suffice. Additionally, you can try appending the audience, like below:
app.UseNamedPipes(System.Environment.GetEnvironmentVariable("APPSETTING_WEBSITE_SITE_NAME") + ".directline", "https://api.botframework.com");

Try one or both of those and see if that makes a difference.

I think I may have found the real culprit causing the issue. In the TokenController.cs file, line 35, you are calling
'https://directline.botframework.com/v3/directline/tokens/generate'

to get a token. And then feeding that token to
directLine: await window.WebChat.createDirectLineAppServiceExtension({
    domain: 'http://localhost:3978/.bot/v3/directline',
    token
})

The problem here is you are getting a token from the public Direct Line service and then expecting your resource specific Direct Line service (i.e. your App Service Extension) to recognize it. But, it doesn't because it wasn't the source of the token being generated.
 This way the Direct Line App Service Extension will be both the generating service as well as the consumer when calling renderWebChat().
Give this a go and let me know how it works out. It's possible there are other issues, as well, but we can start here.

directline/tokens/generate

@stevkan Hello Steven,
Thank you for in-depth analysis and reviewing code,

I have added APPSETTING_WEBSITE_SITE_NAME in app setting
Also appended audience as you suggested
Have changed token generation url from : 'https://directline.botframework.com/v3/directline/tokens/generate'
to 'http://localhost:3978/.bot/v3/directline/tokens/generate' and also
'https://xxx.azurewebsites.net/.bot/v3/directline/tokens/generate' but apparently  it has returned null ("") token
Please find below screenshot just for reference:

On the other side i was looking into alternate way of dealing with the problem where i have little confusion with the token's audience and Issuer.
The token i generated have issuer and Audience as :
"iss": "https://directline.botframework.com/",
"aud": "https://directline.botframework.com/"
Where as the documentation from: https://github.com/microsoft/BotFramework-WebChat/tree/main/samples/01.getting-started/i.protocol-direct-line-app-service-extension says it should be :
The token is a JSON Web Token and the iss and aud fields are both https://directlineextension.botframework.com/
Documentation Line
Does that make any difference,, if yes, how can we get directlineextension as iss and aud ?
Kind Regard,
Pravin.

Can you double check that you are using the Direct Line Secret key. This can be found in the DirectLine channel, located in the channels blade of your Azure bot registration. Don't confuse it with the Direct Line App Service Extension key, located at the bottom of the same view, which is used for something else.

Regarding the audience and issuer values, if you are generating the token from the Direct Line service, then the values should read "https://directline.botframework.com/". However, if you are generating the token from your Direct Line App Service Extension, then the values should read "https://directlineextension.botframework.com/".
If you are getting "https://directline.botframework.com/" as the iss and aud values, then I would guess you are generating the token from the wrong service. To be clear, if you are intending to use the Direct Line App Service Extension, then the URLs you use should include "/.bot/" in the path.

This can be found in the DirectLine channel, located in the channels blade of your Azure bot registration. Don't confuse it

@stevkan Hello Steven,

Yes, absolutely the Key i configured as secrete key in application is the Key of Direct Line (As shown above) and Not Direct Line App Service Extension Key,
The DL ASE key is configured in App Service Configuration :

Please see below screenshot for actual configured key and key in portal

And here is secrete key in code:

Regarding the Issuer and Audience, When I used public endpoint https://directline.botframework.com/v3/directline/tokens/generate  i got iss and aud as "https://directline.botframework.com/
But as you can see the documentation on GitHub : https://github.com/microsoft/BotFramework-WebChat/tree/main/samples/01.getting-started/i.protocol-direct-line-app-service-extension#:~:text=The token is a JSON Web Token and the iss and aud fields are both https%3A//directlineextension.botframework.com/.
where they have mentioned that the token we obtain for Direct Line ASE specific should / will have : https://directlineextension.botframework.com/. as iss and aud and this part confuses

I mean we are not using DL ASE secrete key for token generation

We are getting empty token when using our app service specific url : 'https://xxx.azurewebsites.net/.bot/v3/directline/tokens/generate'

Shall i provide more detail or do you think something is not correct at app service level in azure.

@stevkan Hello Again Stevan,
I had rough time identifying the issue so i have created separate repository on Github : https://github.com/pravinambekar/ChatBot  and put complete code there,
In other github issue i had long discussion and somehow managed to implement direct line but the code repository used there is having completely different implementation  (In term of libraries and architecture) but i am still unanswered to the quesion why DL ASE getting failed in code that i implemented and running fine.
Could you please take a look at the repo a shared and suggest what is wrong here ?
https://github.com/pravinambekar/ChatBot
Kind Regard,
Pravin A.

@pravinambekar, can you double check that the repo you linked above is correct, is not set as a private repo, or could you add me as a contributor if you know and prefer it to be private? I am getting a 404 when I click on the link.

@pravinambekar, can you double check that the repo you linked above is correct, is not set as a private repo, or could you add me as a contributor if you know and prefer it to be private? I am getting a 404 when I click on the link.

Hello @stevkan , I mistakenly made it private, Could you please check it now,

@pravinambekar, I've attached a zip file that includes the TokenController.cs file from your bot and the client index.html. You will find that the following changes were made that should correct your issues (from all that I could see).
TokenController.cs - Line 38: The token you are generating needs to come from your resource's Direct Line ASE endpoint, not from the public Direct Line endpoint.
Changed from
$"https://directline.botframework.com/v3/directline/tokens/generate");

to
$"https://chatbot-test-yourorg.azurewebsites.net/.bot/v3/directline/tokens/generate");

Index.html - Line 44 & 53: Like above, the URI for the fetch() call and the 'domain' value (passed into createDirectLineAppServiceExtension()) both need to point to your Direct Line ASE endpoint.

For Line 44, you were calling the wrong API from the TokenController. Instead of correctly calling /api/directlinease/token, you were incorrectly calling /api/directline/token. This also would have generated the wrong token needed. (Note: if you are running your bot locally, then using 'localhost' should still work here.)

Changed from
http://localhost:3978/api/directlinease/token

to
https://chatbot-test-yourorg.azurewebsites.net/api/directlinease/token

For Line 53:

Changed from
'http://localhost:3978/.bot/v3/directline'

to
'https://chatbot-test-yourorg.azurewebsites.net/.bot/v3/directline'

Please replace the files or make the necessary changes (as shown above) and try again.
AdjustedFiles.zip

Closing due to inactivity.


flutter_screenutil ^5.3.1 Errors on Web Build "...operation '!' has type 'WidgetsBinding' which excludes null." and "Unsupported operation: Platform._operatingSystem"

when trying to run my app onto chrome web, I'm encountering errors that I believe are triggered by flutter_screenutil ^5.3.1. I had no problem using my app on many other devices but when attempting to run it on a web page it errors, pointing to the LayoutBuilder in the screenutil_init.dart (24:14)  file.  I've tested it also with the default  Flutter Demo counter app that comes automatically with every new project, which runs without a problem on the web without the screen_util, but as soon as I added the screen_util in , it errored.
here is the error message:
Running "flutter pub get" in kakuro_sidekick_III...
Launching lib/main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...
../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_screenutil-5.3.1/lib/screenutil_init.dart:23:54: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../Developer/flutter/packages/flutter/lib/src/widgets/binding.dart').
      data: MediaQueryData.fromWindow(WidgetsBinding.instance!.window),
                                                     ^
DartUri: Unresolved uri: dart:web_sql
DartUri: Unresolved uri: dart:ui
This app is linked to the debug service: ws://<IP_ADDRESS>:56897/PISuVCiWDvU=/ws
Debug service listening on ws://<IP_ADDRESS>:56897/PISuVCiWDvU=/ws

💪 Running with sound null safety 💪
Debug service listening on ws://<IP_ADDRESS>:56897/PISuVCiWDvU=/ws
Flutter Web Bootstrap: Auto

======== Exception caught by widgets library =======================================================
The following UnsupportedError was thrown building LayoutBuilder:
Unsupported operation: Platform._operatingSystem
```

```
The relevant error-causing widget was:
  LayoutBuilder LayoutBuilder:file:///Users/stevebenari/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_screenutil-5.3.1/lib/screenutil_init.dart:24:14
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49     throw_
dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 244:5                  _operatingSystem
dart-sdk/lib/io/platform_impl.dart 56:40                                         get operatingSystem
dart-sdk/lib/io/platform.dart 64:45                                              get _operatingSystem
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
dart-sdk/lib/io/platform.dart 149:51                                             get isAndroid
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
packages/kakuro_sidekick_iii/admob_service.dart 5:48                             get bannerAdUnitId
packages/kakuro_sidekick_iii/admob_service.dart 15:19                            createBannerAd
packages/kakuro_sidekick_iii/main.dart 5366:28                                   <fn>
packages/flutter_screenutil/screenutil_init.dart 36:25                           <fn>
packages/flutter/src/widgets/layout_builder.dart 119:70                          layoutCallback
packages/flutter/src/widgets/framework.dart 2597:19                              buildScope
packages/flutter/src/widgets/layout_builder.dart 153:5                           [_layout]
packages/flutter/src/rendering/object.dart 2027:59                               <fn>
packages/flutter/src/rendering/object.dart 918:15                                [_enableMutationsToDirtySubtrees]
packages/flutter/src/rendering/object.dart 2027:7                                invokeLayoutCallback
packages/flutter/src/widgets/layout_builder.dart 227:7                           rebuildIfNecessary
packages/flutter/src/widgets/layout_builder.dart 316:5                           performLayout
packages/flutter/src/rendering/object.dart 1917:7                                layout
packages/flutter/src/rendering/view.dart 165:7                                   performLayout
packages/flutter/src/rendering/object.dart 1757:7                                [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 887:17                                flushLayout
packages/flutter/src/rendering/binding.dart 501:19                               drawFrame
packages/flutter/src/widgets/binding.dart 859:13                                 drawFrame
packages/flutter/src/rendering/binding.dart 367:5                                [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1146:15                              [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1083:9                               handleDrawFrame
packages/flutter/src/scheduler/binding.dart 864:7                                <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/isolate_helper.dart 48:19          internalCallback
====================================================================================================

======== Exception caught by widgets library =======================================================
The following UnsupportedError was thrown building LayoutBuilder:
Unsupported operation: Platform._operatingSystem

The relevant error-causing widget was:
  LayoutBuilder LayoutBuilder:file:///Users/stevebenari/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_screenutil-5.3.1/lib/screenutil_init.dart:24:14
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49     throw_
dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 244:5                  _operatingSystem
dart-sdk/lib/io/platform_impl.dart 56:40                                         get operatingSystem
dart-sdk/lib/io/platform.dart 64:45                                              get _operatingSystem
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
dart-sdk/lib/io/platform.dart 149:51                                             get isAndroid
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
packages/kakuro_sidekick_iii/admob_service.dart 5:48                             get bannerAdUnitId
packages/kakuro_sidekick_iii/admob_service.dart 15:19                            createBannerAd
packages/kakuro_sidekick_iii/main.dart 5366:28                                   <fn>
packages/flutter_screenutil/screenutil_init.dart 36:25                           <fn>
packages/flutter/src/widgets/layout_builder.dart 119:70                          layoutCallback
packages/flutter/src/widgets/framework.dart 2597:19                              buildScope
packages/flutter/src/widgets/layout_builder.dart 153:5                           [_layout]
packages/flutter/src/rendering/object.dart 2027:59                               <fn>
packages/flutter/src/rendering/object.dart 918:15                                [_enableMutationsToDirtySubtrees]
packages/flutter/src/rendering/object.dart 2027:7                                invokeLayoutCallback
packages/flutter/src/widgets/layout_builder.dart 227:7                           rebuildIfNecessary
packages/flutter/src/widgets/layout_builder.dart 316:5                           performLayout
packages/flutter/src/rendering/object.dart 1917:7                                layout
packages/flutter/src/rendering/view.dart 165:7                                   performLayout
packages/flutter/src/rendering/object.dart 1757:7                                [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 887:17                                flushLayout
packages/flutter/src/rendering/binding.dart 501:19                               drawFrame
packages/flutter/src/widgets/binding.dart 859:13                                 drawFrame
packages/flutter/src/rendering/binding.dart 367:5                                [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1146:15                              [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1083:9                               handleDrawFrame
packages/flutter/src/scheduler/binding.dart 997:5                                [_handleDrawFrame]
lib/_engine/engine/platform_dispatcher.dart 1103:13                              invoke
lib/_engine/engine/platform_dispatcher.dart 160:5                                invokeOnDrawFrame
lib/_engine/engine/initialization.dart 194:45                                    <fn>
====================================================================================================

======== Exception caught by widgets library =======================================================
The following UnsupportedError was thrown building LayoutBuilder:
Unsupported operation: Platform._operatingSystem

The relevant error-causing widget was:
  LayoutBuilder LayoutBuilder:file:///Users/stevebenari/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_screenutil-5.3.1/lib/screenutil_init.dart:24:14
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49     throw_
dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 244:5                  _operatingSystem
dart-sdk/lib/io/platform_impl.dart 56:40                                         get operatingSystem
dart-sdk/lib/io/platform.dart 64:45                                              get _operatingSystem
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
dart-sdk/lib/io/platform.dart 149:51                                             get isAndroid
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
packages/kakuro_sidekick_iii/admob_service.dart 5:48                             get bannerAdUnitId
packages/kakuro_sidekick_iii/admob_service.dart 15:19                            createBannerAd
packages/kakuro_sidekick_iii/main.dart 5366:28                                   <fn>
packages/flutter_screenutil/screenutil_init.dart 36:25                           <fn>
packages/flutter/src/widgets/layout_builder.dart 119:70                          layoutCallback
packages/flutter/src/widgets/framework.dart 2597:19                              buildScope
packages/flutter/src/widgets/layout_builder.dart 153:5                           [_layout]
packages/flutter/src/rendering/object.dart 2027:59                               <fn>
packages/flutter/src/rendering/object.dart 918:15                                [_enableMutationsToDirtySubtrees]
packages/flutter/src/rendering/object.dart 2027:7                                invokeLayoutCallback
packages/flutter/src/widgets/layout_builder.dart 227:7                           rebuildIfNecessary
packages/flutter/src/widgets/layout_builder.dart 316:5                           performLayout
packages/flutter/src/rendering/object.dart 1917:7                                layout
packages/flutter/src/rendering/view.dart 165:7                                   performLayout
packages/flutter/src/rendering/object.dart 1757:7                                [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 887:17                                flushLayout
packages/flutter/src/rendering/binding.dart 501:19                               drawFrame
packages/flutter/src/widgets/binding.dart 859:13                                 drawFrame
packages/flutter/src/rendering/binding.dart 367:5                                [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1146:15                              [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1083:9                               handleDrawFrame
packages/flutter/src/scheduler/binding.dart 997:5                                [_handleDrawFrame]
lib/_engine/engine/platform_dispatcher.dart 1103:13                              invoke
lib/_engine/engine/platform_dispatcher.dart 160:5                                invokeOnDrawFrame
lib/_engine/engine/initialization.dart 194:45                                    <fn>
====================================================================================================

======== Exception caught by widgets library =======================================================
The following UnsupportedError was thrown building LayoutBuilder:
Unsupported operation: Platform._operatingSystem

The relevant error-causing widget was:
  LayoutBuilder LayoutBuilder:file:///Users/stevebenari/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_screenutil-5.3.1/lib/screenutil_init.dart:24:14
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49     throw_
dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 244:5                  _operatingSystem
dart-sdk/lib/io/platform_impl.dart 56:40                                         get operatingSystem
dart-sdk/lib/io/platform.dart 64:45                                              get _operatingSystem
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
dart-sdk/lib/io/platform.dart 149:51                                             get isAndroid
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
packages/kakuro_sidekick_iii/admob_service.dart 5:48                             get bannerAdUnitId
packages/kakuro_sidekick_iii/admob_service.dart 15:19                            createBannerAd
packages/kakuro_sidekick_iii/main.dart 5366:28                                   <fn>
packages/flutter_screenutil/screenutil_init.dart 36:25                           <fn>
packages/flutter/src/widgets/layout_builder.dart 119:70                          layoutCallback
packages/flutter/src/widgets/framework.dart 2597:19                              buildScope
packages/flutter/src/widgets/layout_builder.dart 153:5                           [_layout]
packages/flutter/src/rendering/object.dart 2027:59                               <fn>
packages/flutter/src/rendering/object.dart 918:15                                [_enableMutationsToDirtySubtrees]
packages/flutter/src/rendering/object.dart 2027:7                                invokeLayoutCallback
packages/flutter/src/widgets/layout_builder.dart 227:7                           rebuildIfNecessary
packages/flutter/src/widgets/layout_builder.dart 316:5                           performLayout
packages/flutter/src/rendering/object.dart 1917:7                                layout
packages/flutter/src/rendering/view.dart 165:7                                   performLayout
packages/flutter/src/rendering/object.dart 1757:7                                [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 887:17                                flushLayout
packages/flutter/src/rendering/binding.dart 501:19                               drawFrame
packages/flutter/src/widgets/binding.dart 859:13                                 drawFrame
packages/flutter/src/rendering/binding.dart 367:5                                [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1146:15                              [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1083:9                               handleDrawFrame
packages/flutter/src/scheduler/binding.dart 997:5                                [_handleDrawFrame]
lib/_engine/engine/platform_dispatcher.dart 1103:13                              invoke
lib/_engine/engine/platform_dispatcher.dart 160:5                                invokeOnDrawFrame
lib/_engine/engine/initialization.dart 194:45                                    <fn>
====================================================================================================

======== Exception caught by widgets library =======================================================
The following UnsupportedError was thrown building LayoutBuilder:
Unsupported operation: Platform._operatingSystem

The relevant error-causing widget was:
  LayoutBuilder LayoutBuilder:file:///Users/stevebenari/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_screenutil-5.3.1/lib/screenutil_init.dart:24:14
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49     throw_
dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 244:5                  _operatingSystem
dart-sdk/lib/io/platform_impl.dart 56:40                                         get operatingSystem
dart-sdk/lib/io/platform.dart 64:45                                              get _operatingSystem
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
dart-sdk/lib/io/platform.dart 149:51                                             get isAndroid
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
packages/kakuro_sidekick_iii/admob_service.dart 5:48                             get bannerAdUnitId
packages/kakuro_sidekick_iii/admob_service.dart 15:19                            createBannerAd
packages/kakuro_sidekick_iii/main.dart 5366:28                                   <fn>
packages/flutter_screenutil/screenutil_init.dart 36:25                           <fn>
packages/flutter/src/widgets/layout_builder.dart 119:70                          layoutCallback
packages/flutter/src/widgets/framework.dart 2597:19                              buildScope
packages/flutter/src/widgets/layout_builder.dart 153:5                           [_layout]
packages/flutter/src/rendering/object.dart 2027:59                               <fn>
packages/flutter/src/rendering/object.dart 918:15                                [_enableMutationsToDirtySubtrees]
packages/flutter/src/rendering/object.dart 2027:7                                invokeLayoutCallback
packages/flutter/src/widgets/layout_builder.dart 227:7                           rebuildIfNecessary
packages/flutter/src/widgets/layout_builder.dart 316:5                           performLayout
packages/flutter/src/rendering/object.dart 1917:7                                layout
packages/flutter/src/rendering/view.dart 165:7                                   performLayout
packages/flutter/src/rendering/object.dart 1757:7                                [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 887:17                                flushLayout
packages/flutter/src/rendering/binding.dart 501:19                               drawFrame
packages/flutter/src/widgets/binding.dart 859:13                                 drawFrame
packages/flutter/src/rendering/binding.dart 367:5                                [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1146:15                              [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1083:9                               handleDrawFrame
packages/flutter/src/scheduler/binding.dart 997:5                                [_handleDrawFrame]
lib/_engine/engine/platform_dispatcher.dart 1103:13                              invoke
lib/_engine/engine/platform_dispatcher.dart 160:5                                invokeOnDrawFrame
lib/_engine/engine/initialization.dart 194:45                                    <fn>
====================================================================================================

======== Exception caught by widgets library =======================================================
The following UnsupportedError was thrown building LayoutBuilder:
Unsupported operation: Platform._operatingSystem

The relevant error-causing widget was:
  ScreenUtilInit ScreenUtilInit:file:///Users/stevebenari/AndroidStudioProjects/kakuro_sidekick_III/lib/main.dart:400:12
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49     throw_
dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 244:5                  _operatingSystem
dart-sdk/lib/io/platform_impl.dart 56:40                                         get operatingSystem
dart-sdk/lib/io/platform.dart 64:45                                              get _operatingSystem
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
dart-sdk/lib/io/platform.dart 149:51                                             get isAndroid
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
packages/kakuro_sidekick_iii/admob_service.dart 5:48                             get bannerAdUnitId
packages/kakuro_sidekick_iii/admob_service.dart 15:19                            createBannerAd
packages/kakuro_sidekick_iii/main.dart 5366:28                                   <fn>
packages/flutter_screenutil/screenutil_init.dart 36:25                           <fn>
packages/flutter/src/widgets/layout_builder.dart 119:70                          layoutCallback
packages/flutter/src/widgets/framework.dart 2597:19                              buildScope
packages/flutter/src/widgets/layout_builder.dart 153:5                           [_layout]
packages/flutter/src/rendering/object.dart 2027:59                               <fn>
packages/flutter/src/rendering/object.dart 918:15                                [_enableMutationsToDirtySubtrees]
packages/flutter/src/rendering/object.dart 2027:7                                invokeLayoutCallback
packages/flutter/src/widgets/layout_builder.dart 227:7                           rebuildIfNecessary
packages/flutter/src/widgets/layout_builder.dart 316:5                           performLayout
packages/flutter/src/rendering/object.dart 1917:7                                layout
packages/flutter/src/rendering/view.dart 165:7                                   performLayout
packages/flutter/src/rendering/object.dart 1757:7                                [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 887:17                                flushLayout
packages/flutter/src/rendering/binding.dart 501:19                               drawFrame
packages/flutter/src/widgets/binding.dart 859:13                                 drawFrame
packages/flutter/src/rendering/binding.dart 367:5                                [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1146:15                              [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1083:9                               handleDrawFrame
packages/flutter/src/scheduler/binding.dart 997:5                                [_handleDrawFrame]
lib/_engine/engine/platform_dispatcher.dart 1103:13                              invoke
lib/_engine/engine/platform_dispatcher.dart 160:5                                invokeOnDrawFrame
lib/_engine/engine/initialization.dart 194:45                                    <fn>
====================================================================================================

======== Exception caught by widgets library =======================================================
The following UnsupportedError was thrown building LayoutBuilder:
Unsupported operation: Platform._operatingSystem

The relevant error-causing widget was:
  ScreenUtilInit ScreenUtilInit:file:///Users/stevebenari/AndroidStudioProjects/kakuro_sidekick_III/lib/main.dart:400:12
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49     throw_
dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 244:5                  _operatingSystem
dart-sdk/lib/io/platform_impl.dart 56:40                                         get operatingSystem
dart-sdk/lib/io/platform.dart 64:45                                              get _operatingSystem
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
dart-sdk/lib/io/platform.dart 149:51                                             get isAndroid
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
packages/kakuro_sidekick_iii/admob_service.dart 5:48                             get bannerAdUnitId
packages/kakuro_sidekick_iii/admob_service.dart 15:19                            createBannerAd
packages/kakuro_sidekick_iii/main.dart 5366:28                                   <fn>
packages/flutter_screenutil/screenutil_init.dart 36:25                           <fn>
packages/flutter/src/widgets/layout_builder.dart 119:70                          layoutCallback
packages/flutter/src/widgets/framework.dart 2597:19                              buildScope
packages/flutter/src/widgets/layout_builder.dart 153:5                           [_layout]
packages/flutter/src/rendering/object.dart 2027:59                               <fn>
packages/flutter/src/rendering/object.dart 918:15                                [_enableMutationsToDirtySubtrees]
packages/flutter/src/rendering/object.dart 2027:7                                invokeLayoutCallback
packages/flutter/src/widgets/layout_builder.dart 227:7                           rebuildIfNecessary
packages/flutter/src/widgets/layout_builder.dart 316:5                           performLayout
packages/flutter/src/rendering/object.dart 1917:7                                layout
packages/flutter/src/rendering/view.dart 165:7                                   performLayout
packages/flutter/src/rendering/object.dart 1757:7                                [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 887:17                                flushLayout
packages/flutter/src/rendering/binding.dart 501:19                               drawFrame
packages/flutter/src/widgets/binding.dart 859:13                                 drawFrame
packages/flutter/src/rendering/binding.dart 367:5                                [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1146:15                              [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1083:9                               handleDrawFrame
packages/flutter/src/scheduler/binding.dart 997:5                                [_handleDrawFrame]
lib/_engine/engine/platform_dispatcher.dart 1103:13                              invoke
lib/_engine/engine/platform_dispatcher.dart 160:5                                invokeOnDrawFrame
lib/_engine/engine/initialization.dart 194:45                                    <fn>
====================================================================================================

======== Exception caught by widgets library =======================================================
The following UnsupportedError was thrown building LayoutBuilder:
Unsupported operation: Platform._operatingSystem

The relevant error-causing widget was:
  ScreenUtilInit ScreenUtilInit:file:///Users/stevebenari/AndroidStudioProjects/kakuro_sidekick_III/lib/main.dart:400:12
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49     throw_
dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 244:5                  _operatingSystem
dart-sdk/lib/io/platform_impl.dart 56:40                                         get operatingSystem
dart-sdk/lib/io/platform.dart 64:45                                              get _operatingSystem
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
dart-sdk/lib/io/platform.dart 149:51                                             get isAndroid
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
packages/kakuro_sidekick_iii/admob_service.dart 5:48                             get bannerAdUnitId
packages/kakuro_sidekick_iii/admob_service.dart 15:19                            createBannerAd
packages/kakuro_sidekick_iii/main.dart 5366:28                                   <fn>
packages/flutter_screenutil/screenutil_init.dart 36:25                           <fn>
packages/flutter/src/widgets/layout_builder.dart 119:70                          layoutCallback
packages/flutter/src/widgets/framework.dart 2597:19                              buildScope
packages/flutter/src/widgets/layout_builder.dart 153:5                           [_layout]
packages/flutter/src/rendering/object.dart 2027:59                               <fn>
packages/flutter/src/rendering/object.dart 918:15                                [_enableMutationsToDirtySubtrees]
packages/flutter/src/rendering/object.dart 2027:7                                invokeLayoutCallback
packages/flutter/src/widgets/layout_builder.dart 227:7                           rebuildIfNecessary
packages/flutter/src/widgets/layout_builder.dart 316:5                           performLayout
packages/flutter/src/rendering/object.dart 1917:7                                layout
packages/flutter/src/rendering/view.dart 165:7                                   performLayout
packages/flutter/src/rendering/object.dart 1757:7                                [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 887:17                                flushLayout
packages/flutter/src/rendering/binding.dart 501:19                               drawFrame
packages/flutter/src/widgets/binding.dart 859:13                                 drawFrame
packages/flutter/src/rendering/binding.dart 367:5                                [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1146:15                              [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1083:9                               handleDrawFrame
packages/flutter/src/scheduler/binding.dart 997:5                                [_handleDrawFrame]
lib/_engine/engine/platform_dispatcher.dart 1103:13                              invoke
lib/_engine/engine/platform_dispatcher.dart 160:5                                invokeOnDrawFrame
lib/_engine/engine/initialization.dart 194:45                                    <fn>
====================================================================================================

======== Exception caught by widgets library =======================================================
The following UnsupportedError was thrown building LayoutBuilder:
Unsupported operation: Platform._operatingSystem

The relevant error-causing widget was:
  ScreenUtilInit ScreenUtilInit:file:///Users/stevebenari/AndroidStudioProjects/kakuro_sidekick_III/lib/main.dart:400:12
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49     throw_
dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 244:5                  _operatingSystem
dart-sdk/lib/io/platform_impl.dart 56:40                                         get operatingSystem
dart-sdk/lib/io/platform.dart 64:45                                              get _operatingSystem
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
dart-sdk/lib/io/platform.dart 149:51                                             get isAndroid
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
packages/kakuro_sidekick_iii/admob_service.dart 5:48                             get bannerAdUnitId
packages/kakuro_sidekick_iii/admob_service.dart 15:19                            createBannerAd
packages/kakuro_sidekick_iii/main.dart 5366:28                                   <fn>
packages/flutter_screenutil/screenutil_init.dart 36:25                           <fn>
packages/flutter/src/widgets/layout_builder.dart 119:70                          layoutCallback
packages/flutter/src/widgets/framework.dart 2597:19                              buildScope
packages/flutter/src/widgets/layout_builder.dart 153:5                           [_layout]
packages/flutter/src/rendering/object.dart 2027:59                               <fn>
packages/flutter/src/rendering/object.dart 918:15                                [_enableMutationsToDirtySubtrees]
packages/flutter/src/rendering/object.dart 2027:7                                invokeLayoutCallback
packages/flutter/src/widgets/layout_builder.dart 227:7                           rebuildIfNecessary
packages/flutter/src/widgets/layout_builder.dart 316:5                           performLayout
packages/flutter/src/rendering/object.dart 1917:7                                layout
packages/flutter/src/rendering/view.dart 165:7                                   performLayout
packages/flutter/src/rendering/object.dart 1757:7                                [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 887:17                                flushLayout
packages/flutter/src/rendering/binding.dart 501:19                               drawFrame
packages/flutter/src/widgets/binding.dart 859:13                                 drawFrame
packages/flutter/src/rendering/binding.dart 367:5                                [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1146:15                              [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1083:9                               handleDrawFrame
packages/flutter/src/scheduler/binding.dart 997:5                                [_handleDrawFrame]
lib/_engine/engine/platform_dispatcher.dart 1103:13                              invoke
lib/_engine/engine/platform_dispatcher.dart 160:5                                invokeOnDrawFrame
lib/_engine/engine/initialization.dart 194:45                                    <fn>
====================================================================================================

======== Exception caught by widgets library =======================================================
The following UnsupportedError was thrown building LayoutBuilder:
Unsupported operation: Platform._operatingSystem

The relevant error-causing widget was:
  ScreenUtilInit ScreenUtilInit:file:///Users/stevebenari/AndroidStudioProjects/kakuro_sidekick_III/lib/main.dart:400:12
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49     throw_
dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 244:5                  _operatingSystem
dart-sdk/lib/io/platform_impl.dart 56:40                                         get operatingSystem
dart-sdk/lib/io/platform.dart 64:45                                              get _operatingSystem
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
dart-sdk/lib/io/platform.dart 149:51                                             get isAndroid
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
packages/kakuro_sidekick_iii/admob_service.dart 5:48                             get bannerAdUnitId
packages/kakuro_sidekick_iii/admob_service.dart 15:19                            createBannerAd
packages/kakuro_sidekick_iii/main.dart 5366:28                                   <fn>
packages/flutter_screenutil/screenutil_init.dart 36:25                           <fn>
packages/flutter/src/widgets/layout_builder.dart 119:70                          layoutCallback
packages/flutter/src/widgets/framework.dart 2597:19                              buildScope
packages/flutter/src/widgets/layout_builder.dart 153:5                           [_layout]
packages/flutter/src/rendering/object.dart 2027:59                               <fn>
packages/flutter/src/rendering/object.dart 918:15                                [_enableMutationsToDirtySubtrees]
packages/flutter/src/rendering/object.dart 2027:7                                invokeLayoutCallback
packages/flutter/src/widgets/layout_builder.dart 227:7                           rebuildIfNecessary
packages/flutter/src/widgets/layout_builder.dart 316:5                           performLayout
packages/flutter/src/rendering/object.dart 1917:7                                layout
packages/flutter/src/rendering/view.dart 165:7                                   performLayout
packages/flutter/src/rendering/object.dart 1757:7                                [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 887:17                                flushLayout
packages/flutter/src/rendering/binding.dart 501:19                               drawFrame
packages/flutter/src/widgets/binding.dart 859:13                                 drawFrame
packages/flutter/src/rendering/binding.dart 367:5                                [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1146:15                              [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1083:9                               handleDrawFrame
packages/flutter/src/scheduler/binding.dart 997:5                                [_handleDrawFrame]
lib/_engine/engine/platform_dispatcher.dart 1103:13                              invoke
lib/_engine/engine/platform_dispatcher.dart 160:5                                invokeOnDrawFrame
lib/_engine/engine/initialization.dart 194:45                                    <fn>
====================================================================================================

======== Exception caught by widgets library =======================================================
The following UnsupportedError was thrown building LayoutBuilder:
Unsupported operation: Platform._operatingSystem

The relevant error-causing widget was:
  ScreenUtilInit ScreenUtilInit:file:///Users/stevebenari/AndroidStudioProjects/kakuro_sidekick_III/lib/main.dart:400:12
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49     throw_
dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 244:5                  _operatingSystem
dart-sdk/lib/io/platform_impl.dart 56:40                                         get operatingSystem
dart-sdk/lib/io/platform.dart 64:45                                              get _operatingSystem
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
dart-sdk/lib/io/platform.dart 149:51                                             get isAndroid
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
packages/kakuro_sidekick_iii/admob_service.dart 5:48                             get bannerAdUnitId
packages/kakuro_sidekick_iii/admob_service.dart 15:19                            createBannerAd
packages/kakuro_sidekick_iii/main.dart 5366:28                                   <fn>
packages/flutter_screenutil/screenutil_init.dart 36:25                           <fn>
packages/flutter/src/widgets/layout_builder.dart 119:70                          layoutCallback
packages/flutter/src/widgets/framework.dart 2597:19                              buildScope
packages/flutter/src/widgets/layout_builder.dart 153:5                           [_layout]
packages/flutter/src/rendering/object.dart 2027:59                               <fn>
packages/flutter/src/rendering/object.dart 918:15                                [_enableMutationsToDirtySubtrees]
packages/flutter/src/rendering/object.dart 2027:7                                invokeLayoutCallback
packages/flutter/src/widgets/layout_builder.dart 227:7                           rebuildIfNecessary
packages/flutter/src/widgets/layout_builder.dart 316:5                           performLayout
packages/flutter/src/rendering/object.dart 1917:7                                layout
packages/flutter/src/rendering/view.dart 165:7                                   performLayout
packages/flutter/src/rendering/object.dart 1757:7                                [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 887:17                                flushLayout
packages/flutter/src/rendering/binding.dart 501:19                               drawFrame
packages/flutter/src/widgets/binding.dart 859:13                                 drawFrame
packages/flutter/src/rendering/binding.dart 367:5                                [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1146:15                              [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1083:9                               handleDrawFrame
packages/flutter/src/scheduler/binding.dart 997:5                                [_handleDrawFrame]
lib/_engine/engine/platform_dispatcher.dart 1103:13                              invoke
lib/_engine/engine/platform_dispatcher.dart 160:5                                invokeOnDrawFrame
lib/_engine/engine/initialization.dart 194:45                                    <fn>
====================================================================================================

======== Exception caught by widgets library =======================================================
The following UnsupportedError was thrown building LayoutBuilder:
Unsupported operation: Platform._operatingSystem

The relevant error-causing widget was:
  ScreenUtilInit ScreenUtilInit:file:///Users/stevebenari/AndroidStudioProjects/kakuro_sidekick_III/lib/main.dart:400:12
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49     throw_
dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 244:5                  _operatingSystem
dart-sdk/lib/io/platform_impl.dart 56:40                                         get operatingSystem
dart-sdk/lib/io/platform.dart 64:45                                              get _operatingSystem
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
dart-sdk/lib/io/platform.dart 149:51                                             get isAndroid
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
packages/kakuro_sidekick_iii/admob_service.dart 5:48                             get bannerAdUnitId
packages/kakuro_sidekick_iii/admob_service.dart 15:19                            createBannerAd
packages/kakuro_sidekick_iii/main.dart 5366:28                                   <fn>
packages/flutter_screenutil/screenutil_init.dart 36:25                           <fn>
packages/flutter/src/widgets/layout_builder.dart 119:70                          layoutCallback
packages/flutter/src/widgets/framework.dart 2597:19                              buildScope
packages/flutter/src/widgets/layout_builder.dart 153:5                           [_layout]
packages/flutter/src/rendering/object.dart 2027:59                               <fn>
packages/flutter/src/rendering/object.dart 918:15                                [_enableMutationsToDirtySubtrees]
packages/flutter/src/rendering/object.dart 2027:7                                invokeLayoutCallback
packages/flutter/src/widgets/layout_builder.dart 227:7                           rebuildIfNecessary
packages/flutter/src/widgets/layout_builder.dart 316:5                           performLayout
packages/flutter/src/rendering/object.dart 1917:7                                layout
packages/flutter/src/rendering/view.dart 165:7                                   performLayout
packages/flutter/src/rendering/object.dart 1757:7                                [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 887:17                                flushLayout
packages/flutter/src/rendering/binding.dart 501:19                               drawFrame
packages/flutter/src/widgets/binding.dart 859:13                                 drawFrame
packages/flutter/src/rendering/binding.dart 367:5                                [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1146:15                              [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1083:9                               handleDrawFrame
packages/flutter/src/scheduler/binding.dart 997:5                                [_handleDrawFrame]
lib/_engine/engine/platform_dispatcher.dart 1103:13                              invoke
lib/_engine/engine/platform_dispatcher.dart 160:5                                invokeOnDrawFrame
lib/_engine/engine/initialization.dart 194:45                                    <fn>
====================================================================================================

======== Exception caught by widgets library =======================================================
The following UnsupportedError was thrown building LayoutBuilder:
Unsupported operation: Platform._operatingSystem

The relevant error-causing widget was:
  ScreenUtilInit ScreenUtilInit:file:///Users/stevebenari/AndroidStudioProjects/kakuro_sidekick_III/lib/main.dart:400:12
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49     throw_
dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 244:5                  _operatingSystem
dart-sdk/lib/io/platform_impl.dart 56:40                                         get operatingSystem
dart-sdk/lib/io/platform.dart 64:45                                              get _operatingSystem
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
dart-sdk/lib/io/platform.dart 149:51                                             get isAndroid
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
packages/kakuro_sidekick_iii/admob_service.dart 5:48                             get bannerAdUnitId
packages/kakuro_sidekick_iii/admob_service.dart 15:19                            createBannerAd
packages/kakuro_sidekick_iii/main.dart 5366:28                                   <fn>
packages/flutter_screenutil/screenutil_init.dart 36:25                           <fn>
packages/flutter/src/widgets/layout_builder.dart 119:70                          layoutCallback
packages/flutter/src/widgets/framework.dart 2597:19                              buildScope
packages/flutter/src/widgets/layout_builder.dart 153:5                           [_layout]
packages/flutter/src/rendering/object.dart 2027:59                               <fn>
packages/flutter/src/rendering/object.dart 918:15                                [_enableMutationsToDirtySubtrees]
packages/flutter/src/rendering/object.dart 2027:7                                invokeLayoutCallback
packages/flutter/src/widgets/layout_builder.dart 227:7                           rebuildIfNecessary
packages/flutter/src/widgets/layout_builder.dart 316:5                           performLayout
packages/flutter/src/rendering/object.dart 1917:7                                layout
packages/flutter/src/rendering/view.dart 165:7                                   performLayout
packages/flutter/src/rendering/object.dart 1757:7                                [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 887:17                                flushLayout
packages/flutter/src/rendering/binding.dart 501:19                               drawFrame
packages/flutter/src/widgets/binding.dart 859:13                                 drawFrame
packages/flutter/src/rendering/binding.dart 367:5                                [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1146:15                              [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1083:9                               handleDrawFrame
packages/flutter/src/scheduler/binding.dart 997:5                                [_handleDrawFrame]
lib/_engine/engine/platform_dispatcher.dart 1103:13                              invoke
lib/_engine/engine/platform_dispatcher.dart 160:5                                invokeOnDrawFrame
lib/_engine/engine/initialization.dart 194:45                                    <fn>
====================================================================================================
```
`

Please update the library to latest version and see if error persist.

Let’s  the record get straight , no one researches the issue and attempted
to solve the problem. It was just closed, as it happened with many of the
cases.
On Sun, May 1, 2022 at 7:12 AM Mounir Bouaiche @.***>
wrote:

Closed #364 https://github.com/OpenFlutter/flutter_screenutil/issues/364
.
—
Reply to this email directly, view it on GitHub
https://github.com/OpenFlutter/flutter_screenutil/issues/364#event-6529356947,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARSBA4ITA3LUTOELW7N4WZTVHZKKFANCNFSM5TILBTDQ
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

--
Steve Ben-Ari
http://stores.ebay.com/Surplus-Plus-1--
Honda Shadow 2005 Aero Ice

@Sbenari it's solved in recent versions
Please try with master branch and tell us if it works with you so we can ship a stable version in pub.dev.
dependencies:

  flutter_screenutil:
    git:
      url: https://github.com/OpenFlutter/flutter_screenutil
      branch: master

@Sbenari if error still shown on master branch please tell us to reopen this issue.

Will do, thank You
On Sun, May 1, 2022 at 7:40 AM Mounir Bouaiche @.***>
wrote:

@Sbenari https://github.com/Sbenari if error still shown on master
branch please tell us to reopen this issue.
—
Reply to this email directly, view it on GitHub
https://github.com/OpenFlutter/flutter_screenutil/issues/364#issuecomment-1114211731,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARSBA4LUUMZWBLBTWQ3H2YTVHZURTANCNFSM5TILBTDQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Steve Ben-Ari
http://stores.ebay.com/Surplus-Plus-1--
Honda Shadow 2005 Aero Ice

@Mounir-Bouaiche
I installed the latest flutter_screenutil ^5.5.1 and I tried using the master branch instead. in both cases it errored (code below). It can build the app into an emulator and simulator without error,  but it won't build into a Web page.
Here's how my dependencies were configured
Config A test A:
dependencies:
  flutter_screenutil: ^5.5.1
  auto_size_text: ^3.0.0
  google_mobile_ads: ^1.0.1
  provider: ^4.3.3
  math_expressions: ^2.0.0
  flutter:
    sdk: flutter

Config B test B:
dependencies:
  flutter_screenutil:
    git:
      url: https://github.com/OpenFlutter/flutter_screenutil
      branch: master
  auto_size_text: ^3.0.0
  google_mobile_ads: ^1.0.1
  provider: ^4.3.3
  math_expressions: ^2.0.0
  flutter:
    sdk: flutter

in both cases I get this error:
Launching lib/main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...
DartUri: Unresolved uri: dart:web_sql
DartUri: Unresolved uri: dart:ui
This app is linked to the debug service: ws://<IP_ADDRESS>:58986/lIIlaBoxsFw=/ws
Debug service listening on ws://<IP_ADDRESS>:58986/lIIlaBoxsFw=/ws

💪 Running with sound null safety 💪
Debug service listening on ws://<IP_ADDRESS>:58986/lIIlaBoxsFw=/ws
Flutter Web Bootstrap: Auto

======== Exception caught by widgets library =======================================================
The following UnsupportedError was thrown building Builder(dirty, dependencies: [MediaQuery]):
Unsupported operation: Platform._operatingSystem

The relevant error-causing widget was:
  Builder Builder:file:///Users/stevebenari/Developer/flutter/.pub-cache/git/flutter_screenutil-6189076b90d87e4c73b547c34bcdd31b4f01356e/lib/src/screenutil_init.dart:50:18
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49     throw_
dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 244:5                  _operatingSystem
dart-sdk/lib/io/platform_impl.dart 56:40                                         get operatingSystem
dart-sdk/lib/io/platform.dart 64:45                                              get _operatingSystem
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
dart-sdk/lib/io/platform.dart 149:51                                             get isAndroid
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 839:8  get
packages/kakuro_sidekick_iii/admob_service.dart 5:48                             get bannerAdUnitId
packages/kakuro_sidekick_iii/admob_service.dart 15:19                            createBannerAd
packages/kakuro_sidekick_iii/main.dart 4003:28                                   <fn>
packages/flutter_screenutil/src/screenutil_init.dart 57:29                       <fn>
packages/flutter/src/widgets/basic.dart 7404:48                                  build
packages/flutter/src/widgets/framework.dart 4874:22                              build
packages/flutter/src/widgets/framework.dart 4804:15                              performRebuild
packages/flutter/src/widgets/framework.dart 4527:5                               rebuild
packages/flutter/src/widgets/framework.dart 4785:5                               [_firstBuild]
packages/flutter/src/widgets/framework.dart 4779:5                               mount
packages/flutter/src/widgets/framework.dart 3816:13                              inflateWidget
packages/flutter/src/widgets/framework.dart 3551:18                              updateChild
packages/flutter/src/widgets/framework.dart 4830:16                              performRebuild
packages/flutter/src/widgets/framework.dart 4527:5                               rebuild
packages/flutter/src/widgets/framework.dart 4785:5                               [_firstBuild]
packages/flutter/src/widgets/framework.dart 4779:5                               mount
packages/flutter/src/widgets/framework.dart 3816:13                              inflateWidget
packages/flutter/src/widgets/framework.dart 3551:18                              updateChild
packages/flutter/src/widgets/layout_builder.dart 135:18                          layoutCallback
packages/flutter/src/widgets/framework.dart 2597:19                              buildScope
packages/flutter/src/widgets/layout_builder.dart 153:5                           [_layout]
packages/flutter/src/rendering/object.dart 2027:59                               <fn>
packages/flutter/src/rendering/object.dart 918:15                                [_enableMutationsToDirtySubtrees]
packages/flutter/src/rendering/object.dart 2027:7                                invokeLayoutCallback
packages/flutter/src/widgets/layout_builder.dart 227:7                           rebuildIfNecessary
packages/flutter/src/widgets/layout_builder.dart 316:5                           performLayout
packages/flutter/src/rendering/object.dart 1917:7                                layout
packages/flutter/src/rendering/view.dart 165:7                                   performLayout
packages/flutter/src/rendering/object.dart 1757:7                                [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 887:17                                flushLayout
packages/flutter/src/rendering/binding.dart 501:19                               drawFrame
packages/flutter/src/widgets/binding.dart 859:13                                 drawFrame
packages/flutter/src/rendering/binding.dart 367:5                                [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1146:15                              [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1083:9                               handleDrawFrame
packages/flutter/src/scheduler/binding.dart 864:7                                <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/isolate_helper.dart 48:19          internalCallback
====================================================================================================

What plugin you are using for Admob?

@Mounir-Bouaiche where do you see it? what I see is this: ```
The relevant error-causing widget was:
Builder Builder:file:///Users/stevebenari/Developer/flutter/.pub-cache/git/flutter_screenutil-6189076b90d87e4c73b547c34bcdd31b4f01356e/lib/src/screenutil_init.dart:50:18

@Sbenari This is the error:
======== Exception caught by widgets library =======================================================
The following UnsupportedError was thrown building LayoutBuilder:
Unsupported operation: Platform._operatingSystem

ScreenUtilInit is just the widget that being built when error occurs.

@Sbenari Review your code in admob_service.dart lignes 5 and 15.

Are you suggesting that I should remove admob?
On Mon, May 2, 2022 at 3:33 PM Mounir Bouaiche @.***>
wrote:

@Sbenari https://github.com/Sbenari This is the error:
======== Exception caught by widgets library =======================================================
The following UnsupportedError was thrown building LayoutBuilder:
Unsupported operation: Platform._operatingSystem
ScreenUtilInit is just the widget that being built when error occurs.
—
Reply to this email directly, view it on GitHub
https://github.com/OpenFlutter/flutter_screenutil/issues/364#issuecomment-1115282386,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARSBA4KVMSO3J2PY2Z77UJTVIAU2NANCNFSM5TILBTDQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Steve Ben-Ari
http://stores.ebay.com/Surplus-Plus-1--
Honda Shadow 2005 Aero Ice

@Sbenari either use another library that support web as well, if any, or else just wrap usage of admob library with if (MediaQury.of(context).platform == Plateform.android ||.. Platform.ios) but no ads will be shown in the web.

It’s on the latest version.
On Tue, Apr 19, 2022 at 7:49 AM Mounir Bouaiche @.***>
wrote:

Please update the library to latest version and see if error persist.
—
Reply to this email directly, view it on GitHub
https://github.com/OpenFlutter/flutter_screenutil/issues/364#issuecomment-1102544849,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARSBA4KOF7HER4773GBK6GLVF2FS5ANCNFSM5TILBTDQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Steve Ben-Ari
http://stores.ebay.com/Surplus-Plus-1--
Honda Shadow 2005 Aero Ice


How can I verify the JWT token generated by bundle ssl certificate?

There is an IdentityServer4 based Single Sign-On project and it generates a token from SSL certificate. After bundled the SSL certificate with CA and Root certificate I cannot verify the signature of the token. I'm getting a new public key from new bundled SSL with the OpenSSL tool but the new public key does not verify the signature of the token. I don't know how to solve this.

I tried to get a new public key from the bundled certificate.
I used the token and public key on jwt.io and the signature is not verified.
I'm temporarily using the jwt.decode method of jsonwebtoken package on NPM.

openssl pkcs12 -in <filename>.pfx -clcerts -nokeys -out cert.pem // I used this public key
I'm verifying the token with jsonwebtoken package on npm with this code on Node.JS.
jwt.verify(token, publicKey, options); // it's not working. Because public key is not working.
jwt.decode(token); // it's working. But I should verify the token.

You may want to ask the node.js / jsonwebtoken crowd. But if there's a way to get an error message or error code from jwt, you might want to look at it to figure out what goes wrong.

You may want to ask the node.js / jsonwebtoken crowd. But if there's a way to get an error message or error code from jwt, you might want to look at it to figure out what goes wrong.

Hi, actually it's not auth0/node-jsonwebtoken package's problem. When I try the same token and publicKey on jwt.io I'm facing with same issues again. The token's signature can't be verified. ☹

Have you looked at cert.pem (PEM is a text format)? Does it look like a certificate?
Can you verify that cert.pm actually got loaded into your publicKey variable (you could try displaying the contents of that variable)?
did you get an error message? When I look at verify.js, I can see that it throws errors, so you should get one.

OpenSSL isn't a node.js project, so it's not reasonable to expect us to know one bit of what you're trying to, let alone two lines of code and "it doesn't work". I'm still trying, but you have to meet me half way.

Hi @levitte,

Yes I looked and the certificate. It starts: ----BEGIN CERTIFICATE then goes with key and ends with END CERTIFICATE----
So everything looks fine.
I don't know what to do 🤷🏻♂
Error message is { JsonWebTokenError: invalid signature. .......  name: 'JsonWebTokenError', message: 'invalid signature' }

Everything was great before the ssl certificate bundled with CA and Root Certificate.
In the meantime, thank you for your help.

Invalid signature can mean quite a number of things. It could mean that the signature in the certificate itself is one that jwt can't handle, it could also mean that the token's signature wasn't made with the private key that corresponds to the public key in the certificate.

Hi,
I am facing similar issue, Is there any solution for this ?
Regards,
Naresh

Hi @naresh-pidugu ,
Unfortunately, I didn't find any solution for that.

You might also consider ... not using the key from a TLS certificate to sign JWTs, which are a completely different procol.  Such usage of a single key for multiple protocols is against crypgraphic best practice and introduces the risk of a cross-protocol attack.

Marking as inactive, to be closed at the end of 3.4 dev, barring further input


reset() doesn't remove 'filled' class from error-container

Hi all,
Noticed that calling reset() does not currently remove the filled class that is added to the error container that lists out each constraint's message. Can anyone also verify this? Looks like I'd have to destroy() and reinit to make this work at the moment. Thanks.

Closing, since this has already been fixed


What are templates?

Hey, templates are Content Types that other Content Types can inherit.

Does this make sense?

This makes sense now that I've read this issue :)


Add Series.sort_index() signature

[x] Adds Series.sort_index based on stable version documentation
[x] Fixes wrong order of arguments in Series.sort_values() (ascending should go before inplace)
[x] Adds missing arguments to Series.sort_values()

Thanks for this!

Fixes wrong order of arguments in Series.sort_values() (ascending should go before inplace)

Hm, the issue is that if you do an overload based on inplace=True and inplace=False, then you cannot give both a default value.
That is, consider this:
@overload
def f(inplace: Literal[True] = ...) -> A: ...
@overload
def f(inplace: Literal[False] = ...) -> B: ...

and now you call it like this:
x = f()

what type does x have? We can't tell. So that's why we need to do it like this:
@overload
def f(inplace: Literal[True]) -> A: ...
@overload
def f(inplace: Literal[False] = ...) -> B: ...

Then we now that f() returns B. So, you see, one of the two inplace needs to be without default argument. And arguments without default argument need to come before arguments with default argument. That's why inplace was in the "wrong" place.
I'm actually very surprised that you managed to make the tests pass with your inplace definitions.

The tests pass because the return type for inplace=False is set to optional (thus has an overlap with None for inplace=True), which is a pattern for overriding inplace that is already used by fillna - is that stub also wrong?

Is lack of certainty over the result in the default case (not in place, returning Series, but mypy can only tell is either Series or None) worse than incorrect hints when using positional arguments? As far as I understand the return type will be inferred correctly for non -default in place operation providing useful hint should someone try to use the result (None) as if it was a Series.
So unless I missed something this is not ideal but not wrong either - just a trade-off.

I can obviously revert the inplace change if you wish, using positionals for sorting series is not beautiful either way because of to the dummy axis argument

Seems to be working fine now (removing return type overlap, swapping order):

Remaining issue; disabling the type check error with a comment does not seem to work great for mypy.

So I think I go it working, what do you think now @thomkeh? I basically accepted that it has to go with # type: ignore and as mentioned here it is fine because typeshed stubs use this approach to make accurate stubs for built-in libraries, for example see encode() stubs here. Orders matters when matching overloads so the one returning a Series has to go first.

I made some changes before I merged. I'd really like to avoid # type: ignore. I think what I did should cover your use case. Let me know if it doesn't.

Interesting. Seems a bit hacky (I would say more hacky than leaving # type: ignore) but it seems to work fine. Thank you!


Update SPSCQueue to version 1.0

Updates to latest upstream version 1.0
New version adds proper support for find_package

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: rigtorp sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the PR!


Don't see my pipelines on /explore/pipelines/

Affected module
UI, ES indexing?
Describe the bug
Getting error with airflow ingestion.
After successful ingestion
I can see my pipelines in Settings -> Pipelines -> my_airflow_instance -> Pipelines. But not in Explore -> pipelines
To Reproduce

also I can see correct count of pipelines on main-page

but when I click on it I cant see any

Expected behavior
My pipelines should be on Explore page too
Version:

OS: ubuntu
Python version: python3.8
OpenMetadata version: <IP_ADDRESS>
OpenMetadata Ingestion package version: openmetadata-ingestion[docker]==<IP_ADDRESS>
Airflow 2.3.3(my instance)
ES - image: docker.elastic.co/elasticsearch/elasticsearch:7.10.2

Docker compose file
#  Copyright 2021 Collate
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#  http://www.apache.org/licenses/LICENSE-2.0
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.

version: "3.9"
volumes:
  ingestion-volume-dag-airflow:
  ingestion-volume-dags:
  ingestion-volume-tmp:

services:
  mysql:
    container_name: openmetadata_mysql
    image: openmetadata/db:0.12.0
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: password
    expose:
      - 3306
    networks:
      app_net:
        ipv4_address: <IP_ADDRESS>
    healthcheck:
      test: mysql --user=root --password=$$MYSQL_ROOT_PASSWORD --silent --execute "use openmetadata_db"
      interval: 15s
      timeout: 10s
      retries: 10

  elasticsearch:
    container_name: openmetadata_elasticsearch
    image: docker.elastic.co/elasticsearch/elasticsearch:7.10.2
    environment:
      - discovery.type=single-node
      - ES_JAVA_OPTS=-Xms1024m -Xmx1024m
    networks:
      app_net:
        ipv4_address: <IP_ADDRESS>
    ports:
      - "9200:9200"
      - "9300:9300"

  openmetadata-server:
    container_name: openmetadata_server
    restart: always
    image: openmetadata/server:0.12.0
    environment:
      ELASTICSEARCH_HOST: elasticsearch
      # OpenMetadata Server Authentication Configuration
      AUTHORIZER_CLASS_NAME: ${AUTHORIZER_CLASS_NAME:-org.openmetadata.catalog.security.NoopAuthorizer}
      AUTHORIZER_REQUEST_FILTER: ${AUTHORIZER_REQUEST_FILTER:-org.openmetadata.catalog.security.NoopFilter}
      AUTHORIZER_ADMIN_PRINCIPALS: ${AUTHORIZER_ADMIN_PRINCIPALS:-[admin]}
      AUTHORIZER_INGESTION_PRINCIPALS: ${AUTHORIZER_INGESTION_PRINCIPALS:-[ingestion-bot]}
      AUTHORIZER_PRINCIPAL_DOMAIN: ${AUTHORIZER_PRINCIPAL_DOMAIN:-""}
      AUTHORIZER_ENFORCE_PRINCIPAL_DOMAIN: ${AUTHORIZER_ENFORCE_PRINCIPAL_DOMAIN:-false}
      AUTHORIZER_ENABLE_SECURE_SOCKET: ${AUTHORIZER_ENABLE_SECURE_SOCKET:-false}
      AUTHENTICATION_PROVIDER: ${AUTHENTICATION_PROVIDER:-no-auth}
      CUSTOM_OIDC_AUTHENTICATION_PROVIDER_NAME: ${CUSTOM_OIDC_AUTHENTICATION_PROVIDER_NAME:-""}
      AUTHENTICATION_PUBLIC_KEYS: ${AUTHENTICATION_PUBLIC_KEYS:-[https://www.googleapis.com/oauth2/v3/certs]}
      AUTHENTICATION_AUTHORITY: ${AUTHENTICATION_AUTHORITY:-https://accounts.google.com}
      AUTHENTICATION_CLIENT_ID: ${AUTHENTICATION_CLIENT_ID:-""}
      AUTHENTICATION_CALLBACK_URL: ${AUTHENTICATION_CALLBACK_URL:-""}
      AUTHENTICATION_JWT_PRINCIPAL_CLAIMS: ${AUTHENTICATION_JWT_PRINCIPAL_CLAIMS:-[email,preferred_username,sub]}
      # OpenMetadata Server Airflow Configuration
      AIRFLOW_HOST: ${AIRFLOW_HOST:-http://ingestion:8080}
      SERVER_HOST_API_URL: ${SERVER_HOST_API_URL:-http://openmetadata-server:8585/api}
      # OpenMetadata Airflow Azure SSO Configuration
      AIRFLOW_AUTH_PROVIDER: ${AIRFLOW_AUTH_PROVIDER:-no-auth}
      OM_AUTH_AIRFLOW_AZURE_CLIENT_SECRET: ${OM_AUTH_AIRFLOW_AZURE_CLIENT_SECRET:-""}
      OM_AUTH_AIRFLOW_AZURE_AUTHORITY_URL: ${OM_AUTH_AIRFLOW_AZURE_AUTHORITY_URL:-""}
      OM_AUTH_AIRFLOW_AZURE_SCOPES: ${OM_AUTH_AIRFLOW_AZURE_SCOPES:-[]}
      OM_AUTH_AIRFLOW_AZURE_CLIENT_ID: ${OM_AUTH_AIRFLOW_AZURE_CLIENT_ID:-""}
      # OpenMetadata Airflow Google SSO Configuration
      OM_AUTH_AIRFLOW_GOOGLE_SECRET_KEY_PATH: ${OM_AUTH_AIRFLOW_GOOGLE_SECRET_KEY_PATH:- ""}
      OM_AUTH_AIRFLOW_GOOGLE_AUDIENCE: ${OM_AUTH_AIRFLOW_GOOGLE_AUDIENCE:-"https://www.googleapis.com/oauth2/v4/token"}
      # OpenMetadata Airflow Okta SSO Configuration
      OM_AUTH_AIRFLOW_OKTA_CLIENT_ID: ${OM_AUTH_AIRFLOW_OKTA_CLIENT_ID:-""}
      OM_AUTH_AIRFLOW_OKTA_ORGANIZATION_URL: ${OM_AUTH_AIRFLOW_OKTA_ORGANIZATION_URL:-""}
      OM_AUTH_AIRFLOW_OKTA_PRIVATE_KEY: ${OM_AUTH_AIRFLOW_OKTA_PRIVATE_KEY:-""}
      OM_AUTH_AIRFLOW_OKTA_SA_EMAIL: ${OM_AUTH_AIRFLOW_OKTA_SA_EMAIL:-""}
      OM_AUTH_AIRFLOW_OKTA_SCOPES: ${OM_AUTH_AIRFLOW_OKTA_SCOPES:-[]}
      # OpenMetadata Airflow Auth0 SSO Configuration
      OM_AUTH_AIRFLOW_AUTH0_CLIENT_ID: ${OM_AUTH_AIRFLOW_AUTH0_CLIENT_ID:-""}
      OM_AUTH_AIRFLOW_AUTH0_CLIENT_SECRET: ${OM_AUTH_AIRFLOW_AUTH0_CLIENT_SECRET:-""}
      OM_AUTH_AIRFLOW_AUTH0_DOMAIN_URL: ${OM_AUTH_AIRFLOW_AUTH0_DOMAIN_URL:-""}
      # OpenMetadata Airflow Custom OIDC SSO Configuration
      OM_AUTH_AIRFLOW_CUSTOM_OIDC_CLIENT_ID: ${OM_AUTH_AIRFLOW_CUSTOM_OIDC_CLIENT_ID:-""}
      OM_AUTH_AIRFLOW_CUSTOM_OIDC_SECRET_KEY: ${OM_AUTH_AIRFLOW_CUSTOM_OIDC_SECRET_KEY:-""}
      OM_AUTH_AIRFLOW_CUSTOM_OIDC_TOKEN_ENDPOINT_URL: ${OM_AUTH_AIRFLOW_CUSTOM_OIDC_TOKEN_ENDPOINT_URL:-""}
      # Database configuration for MySQL
      DB_DRIVER_CLASS: ${DB_DRIVER_CLASS:-com.mysql.cj.jdbc.Driver}
      DB_SCHEME: ${DB_SCHEME:-mysql}
      DB_USE_SSL: ${DB_USE_SSL:-false}
      DB_USER: ${DB_USER:-openmetadata_user}
      DB_USER_PASSWORD: ${DB_USER_PASSWORD:-openmetadata_password}
      DB_HOST: ${DB_HOST:-mysql}
      DB_PORT: ${DB_PORT:-3306}
      OM_DATABASE: ${OM_DATABASE:-openmetadata_db}
    expose:
      - 8585
      - 8586
      - 9200
      - 9300
      - 3306
    ports:
      - "8585:8585"
      - "8586:8586"
    depends_on:
      elasticsearch:
        condition: service_started
      mysql:
        condition: service_healthy
    networks:
      app_net:
        ipv4_address: <IP_ADDRESS>
    extra_hosts:
      - "localhost:<IP_ADDRESS>"
      - "elasticsearch:<IP_ADDRESS>"
    healthcheck:
      test: [ "CMD", "curl", "-f", "http://localhost:8586/healthcheck" ]

  ingestion:
    container_name: openmetadata_ingestion
    image: openmetadata/ingestion:0.12.0
    depends_on:
      elasticsearch:
        condition: service_started
      mysql:
        condition: service_healthy
      openmetadata-server:
        condition: service_healthy
    environment:
      DB_HOST: ${DB_HOST:-mysql}
      DB_PORT: ${DB_PORT:-3306}
      AIRFLOW_DB: ${AIRFLOW_DB:-airflow_db}
      AIRFLOW_DB_SCHEME: ${AIRFLOW_DB_SCHEME:-mysql+pymysql}
      DB_USER: ${DB_USER:-airflow_user}
      DB_PASSWORD: ${DB_PASSWORD:-airflow_pass}
    expose:
      - 8080
    ports:
      - "8085:8080"
    networks:
      - app_net
    extra_hosts:
      - "localhost:<IP_ADDRESS>"
      - "localhost:<IP_ADDRESS>"
      - "localhost:<IP_ADDRESS>"
      - "host.docker.internal:host-gateway"
    volumes:
      - ingestion-volume-dag-airflow:/airflow/dag_generated_configs
      - ingestion-volume-dags:/ingestion/examples/airflow/dags
      - ingestion-volume-tmp:/tmp

networks:
  app_net:
    ipam:
      driver: default
      config:
        - subnet: "<IP_ADDRESS>/24"

Could you try the proposed solution here? To confirm the issue is not related to ES.

Same error here. I cant reindex the ES like suggested.

hi @telekoteko sorry for the late response on this. Could you please check if there is any error in the UI directly? Right click > Inspect > Console

Hello. I checked and there are no errors in the console.
Only the pipelines from the airflow installed by OpenMetaData are listed.
my-data screen (12):

Clicked and...
explore screen (3):

Hi @telekoteko, which OpenMetadata version are you using? On which operating system are you running OM?

@telekoteko did you try running the full index go to settings -> elasticsearch -> re-index all and choose yes for "Re create indexes"

I have met the same problem ，OM 0.12.0 verison . cannot search pipeline in [ES.] there in no any data in ES pipeline_search_index .

hi @TsubameKoyasu, can you try the steps shared by @harshach above and see if indexing the data solves your issue?

@TsubameKoyasu any updates on this issue? did you try re-indexing all the data?

@TsubameKoyasu any updates on this issue? did you try re-indexing all the data?

I upgraded to version 0.12.1 to fix the issue, but version 0.12.0 still has this issue, 0.12.0 doesn't have "settings -> elasticsearch -> re-index" operation

Thanks @TsubameKoyasu for the update. You are able to resolve it with 0.12.1?


Added Endothermic Calculator

Fixes Issue🛠
Closes #1522
Description👨💻
I have added Endothermic Calculator with the theme that matches the theme of website as well as working of calculator.
I have also made it responsive for all screen sizes.
Type of Change📄

[X] New feature (non-breaking change which adds functionality)
[X] Style (non-breaking change which improves website style or formatting)
[X] Responsiveness (non-breaking change which improves UI/UX on different screen sizes)

Checklist✅

[X] I am an Open Source contributor
[X] I have performed a self-review of my code
[X] My code follows the style guidelines of this project
[X]I have commented on my code, particularly in hard-to-understand areas

Screenshots/GIF📷
https://github.com/Rakesh9100/CalcDiverse/assets/168854094/081782ad-e3a0-421e-b4e9-dfa528dfdff2
calculation,

Made responsive for all screen size,

@Rakesh9100 Sir, you have added the standby label to this because my previous tasked was not merged.
But now my previous task is successfully merged by you.
So can you review this PR now and assign it to me.


Nullpointer on crafting

Issue description:
I tried to craft a storage housing, with a crafter
crafter has no inventory linked to it,
nullpointer on crafting.
What happens:
Server crash, needed to mcedit the crafter to stop crash loop
What you expected to happen:
It crafting my crafting and not crash
Steps to reproduce:

Create a recipe with the Processing Pattern Encoder
Place it into a crafter (facing top) towards a air block
enyoy the nullpointer on every startup
...

Version (Make sure you are on the latest version before reporting):

Minecraft: 1.10.2
Forge: 2114
Refined Storage: 1.2-beta2

Does this issue occur on a server? [yes/no]
YES
If a (crash)log is relevant for this issue, link it here:
Error stacktrace:
http://pastebin.com/VDpSGYSS
full report:
http://pastebin.com/c5zre8ss

If you are going to use a beta at least use the latest one.


Add AnyLuaValue::LuaNil value

I'm not entirely sure if this follows the guarantees for the LuaRead/Push traits. Please tell me if you notice anything.
This helps with some of the concerns of #66.

Thanks


Unable to "Install"

I downloaded the release and uploaded to a sub-folder of my Invoice Ninja installation with no luck.  I then tried creating a new subdomain just for Plane2Ninja and it doesn't work either.  Is there supposed to be a .htaccess file or something?

@clockwiseq this is a standalone application.
Have you followed these installation instructions?
Download / Clone repo
Composer install
Configure .env file with your Invoice Plane database credentials
Configure Virtual Host
Navigate to Web URL
Click Download Data!
Import into Invoice Ninja

@clockwiseq I've heard a couple of similar comments.... question, if there was a hosted version of this service, would you use it?
I've not hosted the script as some may be hesitant to upload financial output to a third party for transforming.... but if people don't see this as a major issue, i'm open to hosting the script to remove this barrier.... the other more practical approach would be to integrate the script in the import/export function of InvoiceNinja itself, but this will take some time to get done.

I would be interested and would use it.
From: David Bomba<EMAIL_ADDRESS>Sent: Monday, August 13, 2018 7:07 PM
To: turbo124/Plane2Ninja<EMAIL_ADDRESS>Cc: Keith Culpepper<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [turbo124/Plane2Ninja] Unable to "Install" (#12)
@clockwiseqhttps://github.com/clockwiseq I've heard a couple of similar comments.... question, if there was a hosted version of this service, would you use it?
I've not hosted the script as some may be hesitant to upload financial output to a third party for transforming.... but if people don't see this as a major issue, i'm open to hosting the script to remove this barrier.... the other more practical approach would be to integrate the script in the import/export function of InvoiceNinja itself, but this will take some time to get done.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/turbo124/Plane2Ninja/issues/12#issuecomment-412707714, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGWpihHdEjhw-DQ11ESzwFl0h38QqECKks5uQhS5gaJpZM4V7BOq.


Revert "One-Click fix: It's A Trap themes"

Reverts Roll20/roll20-api-scripts#829

@Cazra
I had to revert these changes. The pull requests appears to have deleted these three files which will cause issues for anyone using them:

ItsATrap_theme_5E_Shaped/script.json
ItsATrap_theme_5E_OGL/script.json
ItsATrap_theme_PathfinderSimple/script.json

You may want to consider creating a branch for each of the different apis to further control which ones are updated.


feat: add LawfulAlternative

Adding LawfulAlternative is mostly for completeness at the moment. The obvious use case is Option but that isn't even a LawfulMonad yet (it is in Std). I want to keep this a zero-cost feature: neither Std nor Mathlib have a LawfulAlternative class.
I didn't include any "distributive laws" with Applicative since these are somewhat questionable. Haskell has Alternative and MonadPlus for that kind of distinction. (Note that Haskell has no kind of lawfulness enforcement, the distinction is all about intended use.)

Given the fact that the choice of laws seems to be shaky and it doesn't have any actual use inside core, I'm inclined to put this in std instead of lean. In fact, I think even LawfulMonad can move to std - it doesn't seem to be doing a lot of good in core.

I'm in favor of moving this entire file to Std. I only decided to PR here because  it fits very cleanly in this single file. (Though it now seems that some test needs to be fixed.)
As for the laws. The three monoid laws are clear, and they are the only three laws for a stand-alone Alternative. I don't remember why I did not add the functorial laws:

f <$> failure = failure
f <$> (a <|> b) = (f <$> a) <|> (f <$> b)

Since Alternative actually extends Applicative, the following laws also sensible:

pure x <|> _ = pure x
failure <*> _ = failure
_ <*> failure = failure

The following distributive laws (and analogous laws for *> and <*) are more debatable:

a <*> (b <|> c) = (a <*> b) <|> (a <*> c)
(a <|> b) <*> c = (a <*> c) <|> (b <*> c)

Finally, for the Monad  + Alternative combo, there is the very debatable:

(a <|> b) >>= f = (a >>= f) <|> (b >>= f)

The issue with these additional laws is that they are not necessarily "linear": the lhs and rhs can disagree on how many times certain things are evaluated. The functorial laws and the "left catch law" pure x <|> _ = pure x are always linear and could be added at essentially no cost.

I just added map_failure, map_orElse and pure_orElse. Mario is right, they were omitted because I wanted to keep this PR simple.
The reason these were omitted is because the combination of Monad m and Alternative m runs into the issue that Monad.toApplicative and Alternative.toApplicative don't necessarily match. The fix is to add a MonadAlternative class. (I did not fish to find other places to use this class.) Unfortunately, this PR is no longer simple...

I'm inclined to put this in std instead of lean

Agreed, std4 is a better target. Moving the entire file to std4 is something we could consider in the future, but that shouldn't stop moving just this new class there.


Add k8s event generator resources

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

If contributing rules or changes to rules, please make sure to also uncomment one of the following line:

/kind rule-update

/kind rule-create

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area engine

/area examples

/area rules

/area integrations

/area tests

/area proposals

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Add example k8s resource files that allow running the event generator in a k8s cluster.

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

0350cd1 K8s Daemonset to run event generator w/ syscalls
94945dc (WIP) K8s Deployment to run event generator w k8s_audit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign mstemm
You can assign the PR to them by writing /assign @mstemm in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

I also updated the docs to reflect these changes: https://github.com/falcosecurity/falco-website/pull/163

/milestone 0.21.0

LGTM label has been added.  Git tree hash: 59f6ee9bf4edabecc6fdbd9fdd740fb461ac9e21

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [fntlnz]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz, kris-nova
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [fntlnz,kris-nova]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment