is flutter stable does not support build ios with xcode 12.4

hello there,,,,
i want to know is flutter stable version isn't support fo xcode 12.4....
i already try build ios version with xcode 12.4 but for 2 days it's failed... before i use previous version xcode it's working
please let me know if flutter stable version not support build ios xcode 12.4 so i can downgrade my xcode

Hi @digarahayu
Flutter stable channel support Xcode 12.4. Your issue is probably different.
Can you please provide your flutter doctor -v and flutter run --verbose logs, and a minimal complete reproducible code sample?
Thank you

Hi @digarahayu
Flutter stable channel support Xcode 12.4. Your issue is probably different.
Can you please provide your flutter doctor -v and flutter run --verbose logs, and a minimal complete reproducible code sample?
Thank you

thanks for response ,
Jefris-MacBook-Pro-2:~ jeff$ flutter doctor -v
[✓] Flutter (Channel stable, 1.22.6, on macOS 11.1 20C69 darwin-x64, locale en-ID)
    • Flutter version 1.22.6 at /Applications/flutter
    • Framework revision 9b2d32b605 (5 weeks ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/jeff/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.9.1

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (1 available)
    • iPhone 12 Pro Max (mobile) • BB98899E-BD99-4CC7-8477-F05808B89B5E • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)

for log error mostly errors about first deprecated in iOS 9.0
i not sure how come plugin still detect target deploy iOS 9.0 actually i was change target deploy to 11.0 and MinimumOSVersion to 11.0
and here log  flutter run --verbose
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked
deprecated
               here
               typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
                                              ^

/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:133:7:
               warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's
               UNNotificationSettings [-Wdeprecated-declarations]
                     UIUserNotificationSettings *settings =
                     ^
               In module 'UIKit' imported from /Users/jeff/FlutterProjects/orangt/ios/Pods/Target Support
               Files/firebase_messaging/firebase_messaging-prefix.pch:2:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/UIKit.framework/Headers/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly
marked
               deprecated here
               @interface UIUserNotificationSettings : NSObject
                          ^

/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:134:39:
               warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's
               UNNotificationSettings [-Wdeprecated-declarations]
                         [UIUserNotificationSettings settingsForTypes:notificationTypes categories:nil];
                                                     ^
               In module 'UIKit' imported from /Users/jeff/FlutterProjects/orangt/ios/Pods/Target Support
               Files/firebase_messaging/firebase_messaging-prefix.pch:2:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/UIKit.framework/Headers/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly
marked
               deprecated here
               @interface UIUserNotificationSettings : NSObject
                          ^

/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:135:42:
               warning: 'registerUserNotificationSettings:' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's
               -[UNUserNotificationCenter requestAuthorizationWithOptions:completionHandler:] and -[UNUserNotificationCenter
setNotificationCategories:]
               [-Wdeprecated-declarations]
                     [[UIApplication sharedApplication] registerUserNotificationSettings:settings];
                                                        ^
               In module 'UIKit' imported from /Users/jeff/FlutterProjects/orangt/ios/Pods/Target Support
               Files/firebase_messaging/firebase_messaging-prefix.pch:2:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/UIKit.framework/Headers/UIApplication.h:250:1: note: 'registerUserNotificationSettings:' has been explicitly marked
deprecated here
               - (void)registerUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings API_DEPRECATED("Use
UserNotifications
               Framework's -[UNUserNotificationCenter requestAuthorizationWithOptions:completionHandler:] and -[UNUserNotificationCenter
               setNotificationCategories:]", ios(8.0, 10.0)) API_UNAVAILABLE(tvos);
               ^

/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:141:30:
               error: property 'shouldEstablishDirectChannel' not found on object of type 'FIRMessaging *'
                   [FIRMessaging messaging].shouldEstablishDirectChannel = true;
                                            ^

/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:160:21:
               warning: 'FIRInstanceID' is deprecated: FIRInstanceID is deprecated, please use FIRInstallations for installation identifier
handling and
               use FIRMessaging for FCM registration token handling. [-Wdeprecated-declarations]
                   [[FIRInstanceID instanceID]
                                   ^
               In module 'FirebaseInstanceID' imported from
/Users/jeff/FlutterProjects/orangt/ios/Pods/Headers/Public/Firebase/Firebase.h:74:
               /Users/jeff/FlutterProjects/orangt/ios/Pods/FirebaseInstanceID/Firebase/InstanceID/Public/FIRInstanceID.h:190:1: note:
'FIRInstanceID'
               has been explicitly marked deprecated here
               __deprecated_msg("FIRInstanceID is deprecated, please use FIRInstallations for installation "
               ^
               In module 'UIKit' imported from /Users/jeff/FlutterProjects/orangt/ios/Pods/Target Support
               Files/firebase_messaging/firebase_messaging-prefix.pch:2:
               In module 'Foundation' imported from

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/UIKit.framework/Headers/UIKit.h:8:
               In module 'CoreFoundation' imported from

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/Foundation.framework/Headers/Foundation.h:6:
               In module 'Darwin' imported from

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/CoreFoundation.framework/Headers/CoreFoundation.h:16:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/sys/cdef
               s.h:200:48: note: expanded from macro '__deprecated_msg'
                       #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                                     ^

/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:161:33:
               warning: 'FIRInstanceIDResult' is deprecated: FIRInstanceIDResult is deprecated, please use FIRInstallations for app instance
identifier
               handling and use FIRMessaging for FCM registration token handling. [-Wdeprecated-declarations]
                       instanceIDWithHandler:^(FIRInstanceIDResult *_Nullable instanceIDResult,
                                               ^
               In module 'FirebaseInstanceID' imported from
/Users/jeff/FlutterProjects/orangt/ios/Pods/Headers/Public/Firebase/Firebase.h:74:
               /Users/jeff/FlutterProjects/orangt/ios/Pods/FirebaseInstanceID/Firebase/InstanceID/Public/FIRInstanceID.h:153:1: note:
               'FIRInstanceIDResult' has been explicitly marked deprecated here
               __deprecated_msg("FIRInstanceIDResult is deprecated, please use FIRInstallations "
               ^
               In module 'UIKit' imported from /Users/jeff/FlutterProjects/orangt/ios/Pods/Target Support
               Files/firebase_messaging/firebase_messaging-prefix.pch:2:
               In module 'Foundation' imported from

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/UIKit.framework/Headers/UIKit.h:8:
               In module 'CoreFoundation' imported from

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/Foundation.framework/Headers/Foundation.h:6:
               In module 'Darwin' imported from

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/CoreFoundation.framework/Headers/CoreFoundation.h:16:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/sys/cdef
               s.h:200:48: note: expanded from macro '__deprecated_msg'
                       #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                                     ^

/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:161:9:
               warning: 'instanceIDWithHandler:' is deprecated: Use `Installations.installationID(completion:)` to get the app instance
identifier
               instead. Use `Messaging.token(completion:)` to get FCM registration token instead. [-Wdeprecated-declarations]
                       instanceIDWithHandler:^(FIRInstanceIDResult *_Nullable instanceIDResult,
                       ^
               In module 'FirebaseInstanceID' imported from
/Users/jeff/FlutterProjects/orangt/ios/Pods/Headers/Public/Firebase/Firebase.h:74:
               /Users/jeff/FlutterProjects/orangt/ios/Pods/FirebaseInstanceID/Firebase/InstanceID/Public/FIRInstanceID.h:215:5: note:
               'instanceIDWithHandler:' has been explicitly marked deprecated here
                   __deprecated_msg("Use `Installations.installationID(completion:)` to get the app instance "
                   ^
               In module 'UIKit' imported from /Users/jeff/FlutterProjects/orangt/ios/Pods/Target Support
               Files/firebase_messaging/firebase_messaging-prefix.pch:2:
               In module 'Foundation' imported from

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/UIKit.framework/Headers/UIKit.h:8:
               In module 'CoreFoundation' imported from

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/Foundation.framework/Headers/Foundation.h:6:
               In module 'Darwin' imported from

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/CoreFoundation.framework/Headers/CoreFoundation.h:16:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/sys/cdef
               s.h:200:48: note: expanded from macro '__deprecated_msg'
                       #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                                     ^

/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:171:21:
               warning: 'FIRInstanceID' is deprecated: FIRInstanceID is deprecated, please use FIRInstallations for installation identifier
handling and
               use FIRMessaging for FCM registration token handling. [-Wdeprecated-declarations]
                   [[FIRInstanceID instanceID] deleteIDWithHandler:^void(NSError *_Nullable error) {
                                   ^
               In module 'FirebaseInstanceID' imported from
/Users/jeff/FlutterProjects/orangt/ios/Pods/Headers/Public/Firebase/Firebase.h:74:
               /Users/jeff/FlutterProjects/orangt/ios/Pods/FirebaseInstanceID/Firebase/InstanceID/Public/FIRInstanceID.h:190:1: note:
'FIRInstanceID'
               has been explicitly marked deprecated here
               __deprecated_msg("FIRInstanceID is deprecated, please use FIRInstallations for installation "
               ^
               In module 'UIKit' imported from /Users/jeff/FlutterProjects/orangt/ios/Pods/Target Support
               Files/firebase_messaging/firebase_messaging-prefix.pch:2:
               In module 'Foundation' imported from

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/UIKit.framework/Headers/UIKit.h:8:
               In module 'CoreFoundation' imported from

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/Foundation.framework/Headers/Foundation.h:6:
               In module 'Darwin' imported from

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/CoreFoundation.framework/Headers/CoreFoundation.h:16:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/sys/cdef
               s.h:200:48: note: expanded from macro '__deprecated_msg'
                       #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                                     ^

/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:171:33:
               warning: 'deleteIDWithHandler:' is deprecated: Use `Installations.delete(completion:)` instead. Also check
               `Messaging.deleteData(completion:)`if you want to delete FCM registration token. [-Wdeprecated-declarations]
                   [[FIRInstanceID instanceID] deleteIDWithHandler:^void(NSError *_Nullable error) {
                                               ^
               In module 'FirebaseInstanceID' imported from
/Users/jeff/FlutterProjects/orangt/ios/Pods/Headers/Public/Firebase/Firebase.h:74:
               /Users/jeff/FlutterProjects/orangt/ios/Pods/FirebaseInstanceID/Firebase/InstanceID/Public/FIRInstanceID.h:321:33: note:
               'deleteIDWithHandler:' has been explicitly marked deprecated here
                                               __deprecated_msg("Use `Installations.delete(completion:)` instead. "
                                               ^
               In module 'UIKit' imported from /Users/jeff/FlutterProjects/orangt/ios/Pods/Target Support
               Files/firebase_messaging/firebase_messaging-prefix.pch:2:
               In module 'Foundation' imported from

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/UIKit.framework/Headers/UIKit.h:8:
               In module 'CoreFoundation' imported from

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/Foundation.framework/Headers/Foundation.h:6:
               In module 'Darwin' imported from

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/CoreFoundation.framework/Headers/CoreFoundation.h:16:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/sys/cdef
               s.h:200:48: note: expanded from macro '__deprecated_msg'
                       #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                                     ^

/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:196:52:
               error: property 'appData' not found on object of type '__strong id'
                 [self didReceiveRemoteNotification:remoteMessage.appData];
                                                                  ^

/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:290:1:
               warning: implementing deprecated method [-Wdeprecated-implementations]
               - (void)application:(UIApplication *)application
               ^
               In module 'Flutter' imported from
               /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.h:5:
               /Users/jeff/FlutterProjects/orangt/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:74:1: note: method
               'application:didRegisterUserNotificationSettings:' declared here
               - (void)application:(UIApplication*)application
               ^

/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:293:70:
               warning: 'UIUserNotificationTypeSound' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's
               UNAuthorizationOptions [-Wdeprecated-declarations]
                   @"sound" : [NSNumber numberWithBool:notificationSettings.types & UIUserNotificationTypeSound],
                                                                                ^
               In module 'UIKit' imported from /Users/jeff/FlutterProjects/orangt/ios/Pods/Target Support
               Files/firebase_messaging/firebase_messaging-prefix.pch:2:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked
deprecated
               here
               typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
                                              ^

/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:294:70:
               warning: 'UIUserNotificationTypeBadge' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's
               UNAuthorizationOptions [-Wdeprecated-declarations]
                   @"badge" : [NSNumber numberWithBool:notificationSettings.types & UIUserNotificationTypeBadge],
                                                                                ^
               In module 'UIKit' imported from /Users/jeff/FlutterProjects/orangt/ios/Pods/Target Support
               Files/firebase_messaging/firebase_messaging-prefix.pch:2:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked
deprecated
               here
               typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
                                              ^

/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:295:70:
               warning: 'UIUserNotificationTypeAlert' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's
               UNAuthorizationOptions [-Wdeprecated-declarations]
                   @"alert" : [NSNumber numberWithBool:notificationSettings.types & UIUserNotificationTypeAlert],
                                                                                ^
               In module 'UIKit' imported from /Users/jeff/FlutterProjects/orangt/ios/Pods/Target Support
               Files/firebase_messaging/firebase_messaging-prefix.pch:2:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frame
               works/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked
deprecated
               here
               typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
                                              ^

/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:308:63:
               error: property 'appData' not found on object of type '__strong id'
                 [_channel invokeMethod:@"onMessage" arguments:remoteMessage.appData];
                                                                             ^
               17 warnings and 6 errors generated.

                Looks like there may be issues with the firebase_messaging plugin that you are using. You may need to update it to a later version.

Hi @digarahayu
From what I can see, the issue is related to a FlutterFire plugin rather than to Flutter itself. Please open the issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself.
If you disagree, please write in the comments,
providing your flutter doctor -v, your flutter run -v,  your pubspec.yaml
a minimal reproducible code sample that does not use 3rd party plugins,
and I will reopen it.
Thank you

@digarahayu could you also provide an output from flutter pub deps -- --style=compact command please? Looks like there may be issues with the firebase_messaging plugin that you are using. You may need to update it to a later version.

yes, correct problem come from plugin after i upgrade firebase message base on https://firebase.flutter.dev/docs/migration/
edit podfile file
config.build_settings['ENABLE_BITCODE'] = 'NO'
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'

then run  these command
rm -rf path-flutter/.pub-cache/hosted/pub.dartlang.org/
flutter pub get
pod repo update
rm -rf ~/Library/Developer/Xcode/DerivedData/

my project successfully build


Add transactional keyword to resource methods

Purpose

Fixes https://github.com/ballerina-platform/ballerina-lang/issues/24650

Shall we add a parser test too?

@SupunS Added a parser test.


Tried a few things, failed, so ended up cleaning some indentations up

Thank you for your contribution nonetheless, but in the future please look for some change that improves some part of the code or fixes some bug :)


in default file path glob, ignore node_modules

we need to ignore node_modules because end-users will get spurious errors for their deps otherwise when they simply run isaac-xml-validator with no other arguments

also, this would be a big performance optimization, because node_modules is huge and doesn't need to be parsed

now that i think on this more, maybe the correct behavior is to just ignore anything in .gitignore file, if present

can you fix this on your end? you can test this on your side better, because you have good test projects on hand

yeah ill take a look later tonight

ignore argument and .gitignore file support are added now


Suggestion: "No reciple" option

I want to have a light vehicle assembly station making pallets, but I do not need to know I can make 720 an hour for 18,000 bmats.
But I do want to know how many assembly materials I can make an hour.
I'd like to show only the per hour recipe cost and production of buildings I choose.

Agreed. We can add a toggle to hide specific recipes in the statistics pretty easily. Might just throw a button on each recipe inside of production with an eye icon or something similar.
We have a few things in mind to give you more control over what you're producing from buildings as well, because obviously you probably don't need that many material pallets haha.


Cannot add integration - 500 internal server error

When trying to add the intergration I populate my email and password as well as the regional amazon server (.co.uk). I also add the external URL for my homeassistant instance. All other options are left default.
When I click submit it opens a new window with a server 500 error.
in the HA logs I get the following immediately after trying to submit:
2021-11-24 14:58:05 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
resp = await self._request_handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 499, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 220, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 24, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 138, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 135, in handle
result = await result
File "/config/custom_components/alexa_media/config_flow.py", line 1116, in wrapped
return await cls.handler(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/authcaptureproxy/auth_capture_proxy.py", line 387, in all_handler
resp = await getattr(self.session, method)(
TypeError: get() got an unexpected keyword argument 'follow_redirects'
Alexa Media player version: 3.10.12
Home Assistant version: core-2021.11.5
Hassio: Yes (rebooted several times)
2FA Enabled: Yes
Thanks in advance

I'm having the same exact problem since yesterday.  It worked a couple days ago, but then I ran into issues so I created a new Home Assistant instance from scratch but now I can't get the Alexa Media Player to install and when I try I get the same exact errors in my log that you show in yours.  I'm unsure if it's related or not, but I see the following in my home-assistant.log when I restart my Home Assistance instance:
2021-11-24 10:21:46 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-11-24 10:21:47 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration alexa_media which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-11-24 10:22:15 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/stats request
2021-11-24 10:22:15 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /supervisor/stats -
2021-11-24 10:26:56 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/alexa/state_report.py", line 190, in async_send_add_or_update_message
    alexa_entity = ENTITY_ADAPTERS[domain](hass, config, hass.states.get(entity_id))
  File "/usr/src/homeassistant/homeassistant/components/alexa/entities.py", line 263, in __init__
    self.entity_conf = config.entity_config.get(entity.entity_id, {})
AttributeError: 'NoneType' object has no attribute 'entity_id'
2021-11-24 10:26:56 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/alexa/state_report.py", line 190, in async_send_add_or_update_message
    alexa_entity = ENTITY_ADAPTERS[domain](hass, config, hass.states.get(entity_id))
  File "/usr/src/homeassistant/homeassistant/components/alexa/entities.py", line 263, in __init__
    self.entity_conf = config.entity_config.get(entity.entity_id, {})
AttributeError: 'NoneType' object has no attribute 'entity_id'
2021-11-24 10:26:56 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/alexa/state_report.py", line 190, in async_send_add_or_update_message
    alexa_entity = ENTITY_ADAPTERS[domain](hass, config, hass.states.get(entity_id))
  File "/usr/src/homeassistant/homeassistant/components/alexa/entities.py", line 263, in __init__
    self.entity_conf = config.entity_config.get(entity.entity_id, {})
AttributeError: 'NoneType' object has no attribute 'entity_id'
2021-11-24 10:26:56 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/alexa/state_report.py", line 190, in async_send_add_or_update_message
    alexa_entity = ENTITY_ADAPTERS[domain](hass, config, hass.states.get(entity_id))
  File "/usr/src/homeassistant/homeassistant/components/alexa/entities.py", line 263, in __init__
    self.entity_conf = config.entity_config.get(entity.entity_id, {})
AttributeError: 'NoneType' object has no attribute 'entity_id'

I'm a bit confused at why I'm seeing these alexa errors in my log since it failed to install the Alexa Media Player integration.  I'm a complete noob regarding Home Assistant so I'm sure there's something I'm missing.

I messed around with this a bit more and got it working.  What I did differently was instead of using the Nabu Case URL, I used my internal url, basically https://homeassistant.local:8123/, I had to uncheck the proxy checkbox and it gave me a warning about using legacy and the form added some extra fields, like an extra 2FA field, so I just added my Amazon 2FA value in there 2x and then I clicked Submit again, so I had to click Submit 2x.  I hope this helps someone else.  What led me to try using my local URL was I saw somewhere while searching the Internet, I believe it was a DrZzs video, said the URL doesn't need to be public since it's only used for the authentication part back to Home Assistant.  I ran a test and it does work as I was able to call the notify.alexa_media service to have my Alexa echo say the message:
service: notify.alexa_media_office_echo
data:
  message: This is a test
  data:
    type: tts

Please fill out the template.

Please see below:
Describe the bug
Cannot complete the integration setup. It fails on the submit action by redirecting to a 500 internal server error.
To Reproduce
Steps to reproduce the behavior:

Go to integrations and add the Alexa Media Player integration
Fill out Username, Password and HA URL. Specify amazon.co.uk (instead of .com)
Click submit
See error

Expected behavior
Clicking submit would take me to an amazon URL to complete the login process.
Screenshots

System details

Home-assistant (version): core-2021.11.5
Hassio (Yes/No): Yes
alexa_media  (version from const.py or HA startup): 3.10.12
alexapy (version from pip show alexapy or HA startup): 1.25.1
Amazon [2FA is enabled]: YES

Logs
This is what I get when trying to add the integration. Interestingly enough, despite specifying amazon.co.uk all the oauth URLs in the log are for .com
2021-11-25 11:17:27 DEBUG (MainThread) [zigpy.zcl] [0x53cd:1:0x0403] Attribute report received: measured_value=1020, 20=-1, 16=10204
2021-11-25 11:17:31 DEBUG (MainThread) [custom_components.alexa_media.config_flow] Creating new login
2021-11-25 11:17:31 DEBUG (MainThread) [custom_components.alexa_media.helpers] p3@gm: Returning uuid {'uuid': 'e02b2fe1d45bc3194e475795628e4707', 'index': 0}
2021-11-25 11:17:31 DEBUG (MainThread) [alexapy.alexalogin] Login created for @gmail.com - amazon.co.uk
2021-11-25 11:17:31 DEBUG (MainThread) [alexapy.alexalogin] Attempting oauth login to https://www.amazon.com/ap/signin?openid.return_to=https://www.amazon.com/ap/maplanding&openid.assoc_handle=amzn_dp_project_dee_ios&openid.identity=http://specs.openid.net/auth/2.0/identifier_select&pageId=amzn_dp_project_dee_ios&accountStatusPolicy=P1&openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&openid.mode=checkid_setup&openid.ns.oa2=http://www.amazon.com/ap/ext/oauth/2&openid.oa2.client_id=device:3131376534323865623264636532643232666363323863333337353335623423413249564c5635564d32573831&openid.ns.pape=http://specs.openid.net/extensions/pape/1.0&openid.oa2.response_type=token&openid.ns=http://specs.openid.net/auth/2.0&openid.pape.max_auth_age=0&openid.oa2.scope=device_auth_access&language=en_GB
2021-11-25 11:17:31 DEBUG (MainThread) [alexapy.alexalogin] Unable to generate OTP; 2FA app key not configured
2021-11-25 11:17:31 DEBUG (MainThread) [authcaptureproxy.auth_capture_proxy] Refreshed 2 modifiers: ['prepend_relative_urls', 'change_host_to_proxy']
2021-11-25 11:17:31 DEBUG (MainThread) [authcaptureproxy.auth_capture_proxy] Refreshed 1 tests: ['test_amazon_url']
2021-11-25 11:17:31 DEBUG (MainThread) [alexapy.alexalogin] Unable to generate OTP; 2FA app key not configured
2021-11-25 11:17:31 DEBUG (MainThread) [authcaptureproxy.auth_capture_proxy] Refreshed 3 modifiers: ['autofill', 'prepend_relative_urls', 'change_host_to_proxy']
2021-11-25 11:17:31 DEBUG (MainThread) [custom_components.alexa_media.config_flow] Starting proxy for p3@gm - amazon.co.uk
2021-11-25 11:17:31 DEBUG (MainThread) [custom_components.alexa_media.config_flow] Found flow_id; adding <IP_ADDRESS> to known_ips for 300 seconds
2021-11-25 11:17:31 DEBUG (MainThread) [authcaptureproxy.auth_capture_proxy] Received get: https://.duckdns.org/auth/alexamedia/proxy?config_flow_id=4fa61a5ed3094f3b814a140588529556&callback_url=https://*.duckdns.org/auth/alexamedia/callback?flow_id%3D4fa61a5ed3094f3b814a140588529556 for https://www.amazon.com/ap/signin?openid.return_to=https://www.amazon.com/ap/maplanding&openid.assoc_handle=amzn_dp_project_dee_ios&openid.identity=http://specs.openid.net/auth/2.0/identifier_select&pageId=amzn_dp_project_dee_ios&accountStatusPolicy=P1&openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&openid.mode=checkid_setup&openid.ns.oa2=http://www.amazon.com/ap/ext/oauth/2&openid.oa2.client_id=device:**3131376534323865623264636532643232666363323863333337353335623423413249564c5635564d32573831&openid.ns.pape=http://specs.openid.net/extensions/pape/1.0&openid.oa2.response_type=token&openid.ns=http://specs.openid.net/auth/2.0&openid.pape.max_auth_age=0&openid.oa2.scope=device_auth_access&language=en_GB
2021-11-25 11:17:31 DEBUG (MainThread) [authcaptureproxy.auth_capture_proxy] Starting auth capture proxy for https://www.amazon.com/ap/signin?openid.return_to=https://www.amazon.com/ap/maplanding&openid.assoc_handle=amzn_dp_project_dee_ios&openid.identity=http://specs.openid.net/auth/2.0/identifier_select&pageId=amzn_dp_project_dee_ios&accountStatusPolicy=P1&openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&openid.mode=checkid_setup&openid.ns.oa2=http://www.amazon.com/ap/ext/oauth/2&openid.oa2.client_id=device:**3131376534323865623264636532643232666363323863333337353335623423413249564c5635564d32573831&openid.ns.pape=http://specs.openid.net/extensions/pape/1.0&openid.oa2.response_type=token&openid.ns=http://specs.openid.net/auth/2.0&openid.pape.max_auth_age=0&openid.oa2.scope=device_auth_access&language=en_GB
2021-11-25 11:17:31 DEBUG (MainThread) [authcaptureproxy.auth_capture_proxy] Final headers {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9', 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'en-US,en;q=0.9', 'Referer': 'https://www.amazon.com/ap/signin?openid.return_to=https://www.amazon.com/ap/maplanding&openid.assoc_handle=amzn_dp_project_dee_ios&openid.identity=http://specs.openid.net/auth/2.0/identifier_select&pageId=amzn_dp_project_dee_ios&accountStatusPolicy=P1&openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&openid.mode=checkid_setup&openid.ns.oa2=http://www.amazon.com/ap/ext/oauth/2&openid.oa2.client_id=device:**3131376534323865623264636532643232666363323863333337353335623423413249564c5635564d32573831&openid.ns.pape=http://specs.openid.net/extensions/pape/1.0&openid.oa2.response_type=token&openid.ns=http://specs.openid.net/auth/2.0&openid.pape.max_auth_age=0&openid.oa2.scope=device_auth_access&language=en_GB', 'Sec-Ch-Ua': '" Not A;Brand";v="99", "Chromium";v="96", "Google Chrome";v="96"', 'Sec-Ch-Ua-Mobile': '?0', 'Sec-Ch-Ua-Platform': '"Windows"', 'Sec-Fetch-Dest': 'empty', 'Sec-Fetch-Mode': 'same-origin', 'Sec-Fetch-Site': 'same-origin', 'Upgrade-Insecure-Requests': '1', 'X-Real-Ip': '<IP_ADDRESS>'}
2021-11-25 11:17:31 DEBUG (MainThread) [authcaptureproxy.auth_capture_proxy] Attempting get to https://www.amazon.com/ap/signin?openid.return_to=https://www.amazon.com/ap/maplanding&openid.assoc_handle=amzn_dp_project_dee_ios&openid.identity=http://specs.openid.net/auth/2.0/identifier_select&pageId=amzn_dp_project_dee_ios&accountStatusPolicy=P1&openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&openid.mode=checkid_setup&openid.ns.oa2=http://www.amazon.com/ap/ext/oauth/2&openid.oa2.client_id=device:**3131376534323865623264636532643232666363323863333337353335623423413249564c5635564d32573831&openid.ns.pape=http://specs.openid.net/extensions/pape/1.0&openid.oa2.response_type=token&openid.ns=http://specs.openid.net/auth/2.0&openid.pape.max_auth_age=0&openid.oa2.scope=device_auth_access&language=en_GB
headers: {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9', 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'en-US,en;q=0.9', 'Referer': 'https://www.amazon.com/ap/signin?openid.return_to=https://www.amazon.com/ap/maplanding&openid.assoc_handle=amzn_dp_project_dee_ios&openid.identity=http://specs.openid.net/auth/2.0/identifier_select&pageId=amzn_dp_project_dee_ios&accountStatusPolicy=P1&openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&openid.mode=checkid_setup&openid.ns.oa2=http://www.amazon.com/ap/ext/oauth/2&openid.oa2.client_id=device:**3131376534323865623264636532643232666363323863333337353335623423413249564c5635564d32573831&openid.ns.pape=http://specs.openid.net/extensions/pape/1.0&openid.oa2.response_type=token&openid.ns=http://specs.openid.net/auth/2.0&openid.pape.max_auth_age=0&openid.oa2.scope=device_auth_access&language=en_GB', 'Sec-Ch-Ua': '" Not A;Brand";v="99", "Chromium";v="96", "Google Chrome";v="96"', 'Sec-Ch-Ua-Mobile': '?0', 'Sec-Ch-Ua-Platform': '"Windows"', 'Sec-Fetch-Dest': 'empty', 'Sec-Fetch-Mode': 'same-origin', 'Sec-Fetch-Site': 'same-origin', 'Upgrade-Insecure-Requests': '1', 'X-Real-Ip': '<IP_ADDRESS>'}
cookies: <CookieJar[]>
2021-11-25 11:17:31 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
resp = await self._request_handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 499, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 220, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 24, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 138, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 135, in handle
result = await result
File "/config/custom_components/alexa_media/config_flow.py", line 1116, in wrapped
return await cls.handler(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/authcaptureproxy/auth_capture_proxy.py", line 387, in all_handler
resp = await getattr(self.session, method)(
TypeError: get() got an unexpected keyword argument 'follow_redirects'
Additional context
I did have to manually install alexapy as it was missing from my system but this has not resolved the login issue.

i get this as well just reinstall ed HA, i'm using a internal address but that used to work before fine.

I am getting the same error as well, following for a solution!

ooops, same here. Error 500. Some more information:
I have tried with built-in 2FA and the two bottom checkmarks active. -> Error 500 as said here.
I have  tried disabling:
[  ] Use Login Proxy method (2FA not required)
but keeping enabled:
[x] Enable oauth-token app method
Then it asks the 6 digit number from app. I enter it correctly, re-submit and WORKS but...
...I have detected another problem...:
I have two accounts. I do this in one account and that echo instance starts working. I do a supervisor -> reboot host -> and keeps ok, but then I enter data to authorize my other echo instance (different amazon account) and success!, both entities up and reboot and THE FIRST ONE GOES GREY 'unavailable'.
If I then enter again information for the instance that went gray, it gets enable without reboot. Ok, Then I reboot, and then the other instance turn grey. The last I authorize is the one that survives, the other go grey. So I can have only one echo working at the same time un my HA.
note1: I'm in amazon.es (spain) with two different amazon accounts, and two echos, one on each account, and that have worked in previous versions of addon, until I update yesterday to Alexa mdia player  3.10.12. Where start getting error 500 when authorizing.
note2: with chrome I can log into both amazon accounts using it's passwords and 2FA from app without problems.

This is actually fixed in the 3.10.13/14 builds but they only work in HA 2021.12 which is dev build only.  You can either move to the dev build of HA and enable beta builds for AMP or just wait till December's release.

lol what, a lot of people depend on this right, how can this not be pushed right away?
Ps not having a go against you, just wondering.

From: Alan Tse @.>
Sent: 26 November 2021 05:25
To: custom-components/alexa_media_player @.>
Cc: atv2016 @.>; Comment @.>
Subject: Re: [custom-components/alexa_media_player] Cannot add integration - 500 internal server error (Issue #1440)
This is actually fixed in the 3.10.13/14 builds but they only work in HA 2021.12 which is dev build only. You can either move to the dev build of HA and enable beta builds for AMP or just wait till December's release.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/custom-components/alexa_media_player/issues/1440#issuecomment-979705551, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFU6DMIJDQLHB3FNSZ2DUN4K4FANCNFSM5IWJZP4A.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

lol what, a lot of people depend on this right, how can this not be pushed right away?

It was pushed and released. It ended up not working in HA 2021.11 because there were changes in HA in 2012 that I also addressed. The source code is available if you care enough to fix it.

Thanks @alandtse! Looking forward to the december release!

thanks Alan, I will wait to decemer HA release and confirm here then. Meanwhile I will try to downgrade to previous alexa media to keep it running 'till then.

MY PROCESS OF DOWNGRADE TO WORKING VERSION UNTIL DECEMBER FOR HA 2021.12.x AND ALEXA MEDIA PLAYER 3.10.13/14:
1.-CONFIGURATION -> INTEGRATIONS -> alexa media player (all instances) -> DELETE
2.-HACS -> integrations -> EXPLORE & DOWNLOAD: Alexa -> select 3.10.10 (not latest) ->
3.-fill data:
youremail
yourpass
amazon.xxx (your country)
https://xxx.duckdns.org/
BUILT-in 2fa:   XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX
[ ] Use Login Proxy method (2FA not required)
[x] Enable oauth-token app method
SUBMIT... in the next window, kepts filled and asks 2FA from app:
123456  (2FA code from mobile app, 6 digits). This is NOT the 52 characters of the Built-in 2FA you fill in previous screen)
Next windows:
[x] OTP from the Built-in 2FA App Key confirmed successfully. -> SUBMIT
SUCCESSS!!!
I added my two ECHOs and supervisor-reboot and they both are online and working.

I don't get the option to download .10, only .11

Now that HA2012 is out, please update and use 3.10.15

Please see below:
Describe the bug Cannot complete the integration setup. It fails on the submit action by redirecting to a 500 internal server error.
To Reproduce Steps to reproduce the behavior:

Go to integrations and add the Alexa Media Player integration
Fill out Username, Password and HA URL. Specify amazon.co.uk (instead of .com)
Click submit
See error

Expected behavior Clicking submit would take me to an amazon URL to complete the login process.
Screenshots

System details

Home-assistant (version): core-2021.11.5
Hassio (Yes/No): Yes
alexa_media  (version from const.py or HA startup): 3.10.12
alexapy (version from pip show alexapy or HA startup): 1.25.1
Amazon [2FA is enabled]: YES

Logs This is what I get when trying to add the integration. Interestingly enough, despite specifying amazon.co.uk all the oauth URLs in the log are for .com
2021-11-25 11:17:27 DEBUG (MainThread) [zigpy.zcl] [0x53cd:1:0x0403] Attribute report received: measured_value=1020, 20=-1, 16=10204 2021-11-25 11:17:31 DEBUG (MainThread) [custom_components.alexa_media.config_flow] Creating new login 2021-11-25 11:17:31 DEBUG (MainThread) [custom_components.alexa_media.helpers] p********3@gm: Returning uuid {'uuid': 'e02b2fe1d45bc3194e475795628e4707', 'index': 0} 2021-11-25 11:17:31 DEBUG (MainThread) [alexapy.alexalogin] Login created for<EMAIL_ADDRESS>- amazon.co.uk 2021-11-25 11:17:31 DEBUG (MainThread) [alexapy.alexalogin] Attempting oauth login to https://www.amazon.com/ap/signin?openid.return_to=https://www.amazon.com/ap/maplanding&openid.assoc_handle=amzn_dp_project_dee_ios&openid.identity=http://specs.openid.net/auth/2.0/identifier_select&pageId=amzn_dp_project_dee_ios&accountStatusPolicy=P1&openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&openid.mode=checkid_setup&openid.ns.oa2=http://www.amazon.com/ap/ext/oauth/2&openid.oa2.client_id=device:3131376534323865623264636532643232666363323863333337353335623423413249564c5635564d32573831&openid.ns.pape=http://specs.openid.net/extensions/pape/1.0&openid.oa2.response_type=token&openid.ns=http://specs.openid.net/auth/2.0&openid.pape.max_auth_age=0&openid.oa2.scope=device_auth_access&language=en_GB 2021-11-25 11:17:31 DEBUG (MainThread) [alexapy.alexalogin] Unable to generate OTP; 2FA app key not configured 2021-11-25 11:17:31 DEBUG (MainThread) [authcaptureproxy.auth_capture_proxy] Refreshed 2 modifiers: ['prepend_relative_urls', 'change_host_to_proxy'] 2021-11-25 11:17:31 DEBUG (MainThread) [authcaptureproxy.auth_capture_proxy] Refreshed 1 tests: ['test_amazon_url'] 2021-11-25 11:17:31 DEBUG (MainThread) [alexapy.alexalogin] Unable to generate OTP; 2FA app key not configured 2021-11-25 11:17:31 DEBUG (MainThread) [authcaptureproxy.auth_capture_proxy] Refreshed 3 modifiers: ['autofill', 'prepend_relative_urls', 'change_host_to_proxy'] 2021-11-25 11:17:31 DEBUG (MainThread) [custom_components.alexa_media.config_flow] Starting proxy for p3@g****m - amazon.co.uk 2021-11-25 11:17:31 DEBUG (MainThread) [custom_components.alexa_media.config_flow] Found flow_id; adding <IP_ADDRESS> to known_ips for 300 seconds 2021-11-25 11:17:31 DEBUG (MainThread) [authcaptureproxy.auth_capture_proxy] Received get: https://.duckdns.org/auth/alexamedia/proxy?config_flow_id=4fa61a5ed3094f3b814a140588529556&callback_url=https://.duckdns.org/auth/alexamedia/callback?flow_id%3D4fa61a5ed3094f3b814a140588529556 for https://www.amazon.com/ap/signin?openid.return_to=https://www.amazon.com/ap/maplanding&openid.assoc_handle=amzn_dp_project_dee_ios&openid.identity=http://specs.openid.net/auth/2.0/identifier_select&pageId=amzn_dp_project_dee_ios&accountStatusPolicy=P1&openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&openid.mode=checkid_setup&openid.ns.oa2=http://www.amazon.com/ap/ext/oauth/2&openid.oa2.client_id=device:**3131376534323865623264636532643232666363323863333337353335623423413249564c5635564d32573831&openid.ns.pape=http://specs.openid.net/extensions/pape/1.0&openid.oa2.response_type=token&openid.ns=http://specs.openid.net/auth/2.0&openid.pape.max_auth_age=0&openid.oa2.scope=device_auth_access&language=en_GB 2021-11-25 11:17:31 DEBUG (MainThread) [authcaptureproxy.auth_capture_proxy] Starting auth capture proxy for https://www.amazon.com/ap/signin?openid.return_to=https://www.amazon.com/ap/maplanding&openid.assoc_handle=amzn_dp_project_dee_ios&openid.identity=http://specs.openid.net/auth/2.0/identifier_select&pageId=amzn_dp_project_dee_ios&accountStatusPolicy=P1&openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&openid.mode=checkid_setup&openid.ns.oa2=http://www.amazon.com/ap/ext/oauth/2&openid.oa2.client_id=device:**3131376534323865623264636532643232666363323863333337353335623423413249564c5635564d32573831&openid.ns.pape=http://specs.openid.net/extensions/pape/1.0&openid.oa2.response_type=token&openid.ns=http://specs.openid.net/auth/2.0&openid.pape.max_auth_age=0&openid.oa2.scope=device_auth_access&language=en_GB 2021-11-25 11:17:31 DEBUG (MainThread) [authcaptureproxy.auth_capture_proxy] Final headers {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9', 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'en-US,en;q=0.9', 'Referer': 'https://www.amazon.com/ap/signin?openid.return_to=https://www.amazon.com/ap/maplanding&openid.assoc_handle=amzn_dp_project_dee_ios&openid.identity=http://specs.openid.net/auth/2.0/identifier_select&pageId=amzn_dp_project_dee_ios&accountStatusPolicy=P1&openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&openid.mode=checkid_setup&openid.ns.oa2=http://www.amazon.com/ap/ext/oauth/2&openid.oa2.client_id=device:**3131376534323865623264636532643232666363323863333337353335623423413249564c5635564d32573831&openid.ns.pape=http://specs.openid.net/extensions/pape/1.0&openid.oa2.response_type=token&openid.ns=http://specs.openid.net/auth/2.0&openid.pape.max_auth_age=0&openid.oa2.scope=device_auth_access&language=en_GB', 'Sec-Ch-Ua': '" Not A;Brand";v="99", "Chromium";v="96", "Google Chrome";v="96"', 'Sec-Ch-Ua-Mobile': '?0', 'Sec-Ch-Ua-Platform': '"Windows"', 'Sec-Fetch-Dest': 'empty', 'Sec-Fetch-Mode': 'same-origin', 'Sec-Fetch-Site': 'same-origin', 'Upgrade-Insecure-Requests': '1', 'X-Real-Ip': '<IP_ADDRESS>'} 2021-11-25 11:17:31 DEBUG (MainThread) [authcaptureproxy.auth_capture_proxy] Attempting get to https://www.amazon.com/ap/signin?openid.return_to=https://www.amazon.com/ap/maplanding&openid.assoc_handle=amzn_dp_project_dee_ios&openid.identity=http://specs.openid.net/auth/2.0/identifier_select&pageId=amzn_dp_project_dee_ios&accountStatusPolicy=P1&openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&openid.mode=checkid_setup&openid.ns.oa2=http://www.amazon.com/ap/ext/oauth/2&openid.oa2.client_id=device:**3131376534323865623264636532643232666363323863333337353335623423413249564c5635564d32573831&openid.ns.pape=http://specs.openid.net/extensions/pape/1.0&openid.oa2.response_type=token&openid.ns=http://specs.openid.net/auth/2.0&openid.pape.max_auth_age=0&openid.oa2.scope=device_auth_access&language=en_GB headers: {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/*;q=0.8,application/signed-exchange;v=b3;q=0.9', 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'en-US,en;q=0.9', 'Referer': 'https://www.amazon.com/ap/signin?openid.return_to=https://www.amazon.com/ap/maplanding&openid.assoc_handle=amzn_dp_project_dee_ios&openid.identity=http://specs.openid.net/auth/2.0/identifier_select&pageId=amzn_dp_project_dee_ios&accountStatusPolicy=P1&openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&openid.mode=checkid_setup&openid.ns.oa2=http://www.amazon.com/ap/ext/oauth/2&openid.oa2.client_id=device:**3131376534323865623264636532643232666363323863333337353335623423413249564c5635564d32573831&openid.ns.pape=http://specs.openid.net/extensions/pape/1.0&openid.oa2.response_type=token&openid.ns=http://specs.openid.net/auth/2.0&openid.pape.max_auth_age=0&openid.oa2.scope=device_auth_access&language=en_GB', 'Sec-Ch-Ua': '" Not A;Brand";v="99", "Chromium";v="96", "Google Chrome";v="96"', 'Sec-Ch-Ua-Mobile': '?0', 'Sec-Ch-Ua-Platform': '"Windows"', 'Sec-Fetch-Dest': 'empty', 'Sec-Fetch-Mode': 'same-origin', 'Sec-Fetch-Site': 'same-origin', 'Upgrade-Insecure-Requests': '1', 'X-Real-Ip': '<IP_ADDRESS>'} cookies: <CookieJar[]> 2021-11-25 11:17:31 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request resp = await self._request_handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 499, in _handle resp = await handler(request) File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 119, in impl return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 220, in forwarded_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 24, in request_context_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 138, in auth_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 135, in handle result = await result File "/config/custom_components/alexa_media/config_flow.py", line 1116, in wrapped return await cls.handler(request, **kwargs) File "/usr/local/lib/python3.9/site-packages/authcaptureproxy/auth_capture_proxy.py", line 387, in all_handler resp = await getattr(self.session, method)( TypeError: get() got an unexpected keyword argument 'follow_redirects'
Additional context I did have to manually install alexapy as it was missing from my system but this has not resolved the login issue.

Hello, can you indicate the source, where did you get the information on the constructor of this URL? In particular, I can't figure out where..signin comes from? .. Found either ..oauth2 .. in Cognito, or ..oa? .. in LWA. I also can't find info on ... client_id = device: 4145 ... Found either ..client_id = amzn1.application-oa2-client.b4d6 .. in LWA, or ..opn6m304vbavurl9 .. in Cognito.
Thank you in advance!
Hello, can you indicate the source, where did you get the information on the constructor of this URL? In particular, I can't figure out where..signin comes from? .. Found either ..oauth2 .. in Cognito, or ..oa? .. in LWA. I also can't find info on ... client_id = device: 4145 ... Found either ..client_id = amzn1.application-oa2-client.b4d6 .. in LWA, or ..opn6m304vbavurl9 .. in Cognito.
Thank you in advance!


Active Directory Domains CAN span multiple datacenters

The direction for Azure-only HA database mirroring that "You must deploy using server certificates because an active directory domain cannot span multiple datacenters" is incorrect.  You may choose to use server certificates, but AD Domains can span multiple datacenters and the servers can mutually authenticate if they're in the same AD.

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

ID: 66022e29-3f7d-633d-fa34-2fd3afc2bc7a
Version Independent ID: fe935bd7-efe5-8a76-02f7-4de3e6caade3
Content: High Availability and Disaster Recovery for SQL Server
Content Source: articles/virtual-machines/windows/sql/virtual-machines-windows-sql-high-availability-dr.md
Service: virtual-machines-sql
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

Thanks for the feedback! We are currently investigating and will update you shortly.

@Iain-Morris Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.


Add Support for 11.5.x

Prerequisites

[X ] Put an X between the brackets on this line if you have done all of the following:

Checked that your issue isn't already filled: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aidealista
Checked that there is not already provided the described functionality

Description
Add Support for 11.5.x

I'm closing this issue, I understand you mean support for 11.0.5, and it has been added.


Repo setup fails on Ubuntu

The apt package installation fails on Ubuntu because the module is setting package source to Debian instead of Ubuntu.
The source list at /etc/apt/sources.list.d/riak.list needs to be set as:
deb https://packagecloud.io/basho/riak/ubuntu/ precise main
deb-src https://packagecloud.io/basho/riak/ubuntu/ precise main

Instead of this:
deb https://packagecloud.io/basho/riak/debian/ precise main
deb-src https://packagecloud.io/basho/riak/debian/ precise main

@Cornellio this pull request solves the problem:
https://github.com/basho-labs/puppet-riak/pull/70
Please note that in my Ubuntu box I needed to install using the following parameters:
  class { '::riak':
    version => 'latest', # default, use a package version if desired
    # settings in the settings hash are written directly to settings.conf.
    settings => {
      'nodename' =><EMAIL_ADDRESS>    },
  }

Because the following default didn't worked for me:
https://github.com/basho-labs/puppet-riak/blob/master/manifests/params.pp#L38

Thank you @GabrielNicolasAvellaneda and will await the merge into upstream.


Compilator warning fix(bool), add print leaked data

Please report your exact problem, with a test case, and then we can discuss solutions.
BTW, your changing is_array from unsigned …:1 to bool was wrong: it changes the size of the struct.

But in code you are write bool value to unsigned …:1. It's was wrong too. Visual Studio and static analizers swears.

Right output:
#include "debug_new.cpp"
Leaked object at 0085CF00 (size 14, 0085CF00)
Data:
{
F6B254-22E8D1'\0'
}
[46 36 42 32 35 34 2D 32 32 45 38 44 31 00 ]
Stack backtrace:
010B6E0D
010B612A
010B5F50
010B8AEE
0110668E
01106510
011063AD
011066A8
75988484
76FF2FEA
76FF2FBA
*** 1 leaks found

Bad output:
#include "debug_new.h" and link
Leaked object at 010172d8 (size 14, E:\Code\QuikLua\App.cpp:278)
Data:
{
E:\Code\QuikLu
}
[45 3A 5C 43 6F 64 65 5C 51 75 69 6B 4C 75 ]
*** 1 leaks found

Don't understand why?
if use ptr->addr to print data
Leaked object at 011272d8 (size 14, 004a2109)
Data:
{
‰В‰РЖ'\0'0ѓАЖ'\0'0ѓ
}
[FFFFFF89 FFFFFFC2 FFFFFF89 FFFFFFD0 FFFFFFC6 00 30 FFFFFF83 FFFFFFC0 01 FFFFFFC6 00 30 FFFFFF83 ]
Stack backtrace:
004269bd
004a0f4c
004a0f20
004a2109
0040138b
75988484
76ff2fea
76ff2fba
*** 1 leaks found

It's was wrong too.

Don't say foolish words. Prove it.
The code is standard conformant, and passes compilation without warning under /W3 of Visual C++ 2017 and -W -Wall of GCC and Clang. If you believe there are problems, spell out more details, with a minimal but complete test case. (I do not necessarily have your environment, and I will mainly judge by reading your code—a big project won't work.)


docs: fix seo mobile anchors and nav links for mobile

This PR includes:

changed all markdown lists items using new MdListAnchor.vue wrapped with ul to increase clickeable area: also resolves seo mobile anchors issues.
updated all media queries to use 780px instead 720px to avoid nav links overlap with the nav title when changing size
fix for nav links when included on left menu: right now, entries cannot be expanded with mouse: missing :class="{ open }" on NavDropdownLink.vue.

@antfu before merge change Typescript with TypeScript, just search and replace in md files: for example, here https://vite-plugin-pwa.netlify.app/guide/inject-manifest.html#typescript-support and the first paragraph.


training data

Hi,
Thank you for your nice work.
You use video and image data in the training process. How much does adding image data help the final generated result? I found that adding image data did not improve the quality of the final generation. Any experience you can share about the training process?
Thank you so much.

In fact, when we did the next version of the training, we found that the joint training didn't work very well. The image data is very important in providing the pre-training weights. But once the video can be generated, the image data is not important.

Thank you for your quick reply.
Does "the image data is very important in providing the pre-training weights." means the image data plays a critical role in stage one?

Unrelated to version 1.1, what I mean is that we need to train a weight with the image as an initialization of the video weights. For example we can retrain a bigger pixart, which will be loaded into the video model.
We will cover these details in the next version.

Cool, thank you for your sharing


Bug: email address is considered invalid

Describe the bug
A valid email address is considered invalid, preventing subscription to the newsletter.
Steps to reproduce

Go to the highlights
Try to subscribe to the newsletter with<EMAIL_ADDRESS>See the message, that the mail is invalid

Do you have any images or screen captures?

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Contributing Docs

[X] I agree to follow this project's Contribution Docs

Can't replicate it on the beta branch, so maybe a deployment is missing or failed?


docs: Adding docs on the @serverless/sdk package

Adding documentation on @serverless/sdk package.
This adds documentation on the package, capturing errors/warnings, and tagging.
I intentionally left out fingerprinting for now as there is no UI yet that groups by the fingerprint.

I made this a draft PR as it shouldn't be merged until the SDK, Dev Mode, and Trace Details are released.

Going to hold off merging this until the SDK is released.


[VS Code] The SSL connection could not be established, see inner exception.

Error:
The SSL connection could not be established, see inner exception.
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.3.504

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.25.1

platformName
MacOS

platformVersion
17.7.0

This is a dupe of https://github.com/MicrosoftDocs/live-share/issues/764. Please try the workaround mentioned in that issue and let us know if that doesn't work for you.


Missing git tag for 4.3.4 release

It would be nice to keep PyPI releases and git tags in sync :)

Thanks for the reminder! I need to integrate some tag automation to keep this from happening in the future, right now I do my best but it's too easy to forget the step


OpenVPN installed ok and it works over lan but not remotely outside of home network

[x] I have read and understood the contributors guide.
[x] The issue I am reporting can be replicated.
[x] The issue I am reporting can be is directly related to the pivpn installer script.
[x] The issue I am reporting isn't a duplicate (see [FAQs]

Issue
The install works fine but I can't access the vpn from an external network over the internet.  Accessing from inside my home lan works fine.   I've tried from my android phone and a windows PC and both connect near instantly.  However with the same Android phone with wifi disabled, the connection ALWAYS times out.
Have you searched for similar issues and solutions?
Yes I have and I know there are other issues similar closed in githuib already but believe me I've read them and they don't seem to apply to my case.
Console output of      curl -L install.pivpn.io | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   178  100   178    0     0    504      0 --:--:-- --:--:-- --:--:--   505
100 54916  100 54916    0     0  93875      0 --:--:-- --:--:-- --:--:-- 93875
:::
::: sudo will be used for the install.
::: Reconfigure option selected
::: Verifying free disk space...
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: Your system is up to date! Continuing with PiVPN installation...
::: Static IP already configured.
::: Using User: pi
:::
::: Checking for existing base files...
:::    Checking /etc/.pivpn is a repo...:::    Cloning https://github.com/pivpn/pivpn.git into /etc/.pivpn... done!
:::
::: Stopping OpenVPN service... done.
:::
::: Installing scripts to /opt/pivpn... done.
::: Using protocol: udp
set_var EASYRSA_ALGO       ec
set_var EASYRSA_CURVE      prime256v1
::: Building CA...
read EC key
writing EC key

::: CA Complete.

Note: using Easy-RSA configuration from: ./vars

Using SSL: openssl OpenSSL 1.1.0j  20 Nov 2018
Generating an EC private key
writing new private key to '/etc/openvpn/easy-rsa/pki/private/server_IEje2NDzWM6wBpas.key.SQw0p5ZYTe'
-----
Using configuration from /etc/openvpn/easy-rsa/pki/safessl-easyrsa.cnf
Can't open /etc/openvpn/easy-rsa/pki/index.txt.attr for reading, No such file or directory
1996120064:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:74:fopen('/etc/openvpn/easy-rsa/pki/index.txt.attr','r')
1996120064:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:81:
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
commonName            :ASN.1 12:'server_IEje2NDzWM6wBpas'
Certificate is to be certified until May 16 21:31:02 2022 GMT (1080 days)

Write out database with 1 new entries
Data Base Updated

Note: using Easy-RSA configuration from: ./vars

Using SSL: openssl OpenSSL 1.1.0j  20 Nov 2018
Using configuration from /etc/openvpn/easy-rsa/pki/safessl-easyrsa.cnf

An updated CRL has been created.
CRL file: /etc/openvpn/easy-rsa/pki/crl.pem

net.ipv4.ip_forward = 1
run-parts: executing /usr/share/netfilter-persistent/plugins.d/15-ip4tables save
run-parts: executing /usr/share/netfilter-persistent/plugins.d/25-ip6tables save
::: Using Google servers.
sleep 0.1
::: Install Complete...
::: Restarting services...
Synchronizing state of openvpn.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable openvpn
::: Flushing writes to disk...
::: done.
:::
::: Installation Complete!
::: Now run 'pivpn add' to create an ovpn profile for each of your devices.
::: Run 'pivpn help' to see what else you can do!
::: It is strongly recommended you reboot after installation.
:::

Console output of      pivpn add or pivpn add nopass
Note: using Easy-RSA configuration from: ./vars

Using SSL: openssl OpenSSL 1.1.0j  20 Nov 2018
Generating an EC private key
writing new private key to '/etc/openvpn/easy-rsa/pki/private/xxxx.key.8tujXd2auF'
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
-----
Using configuration from /etc/openvpn/easy-rsa/pki/safessl-easyrsa.cnf
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
commonName            :ASN.1 12:'xxxx'
Certificate is to be certified until May 29 21:33:07 2029 GMT (3650 days)

Write out database with 1 new entries
Data Base Updated
Client's cert found: xxxx.crt
Client's Private Key found: xxxx.key
CA public Key found: ca.crt
tls-auth Private Key found: ta.key

========================================================
Done! xxxx.ovpn successfully created!
xxxx.ovpn was copied to:
  /home/pi/ovpns
for easy transfer. Please use this profile only on one
device and create additional profiles for other devices.
========================================================

Console output of      pivpn debug
::: Generating Debug Output
::::            PiVPN debug              ::::
=============================================
::::            Latest commit            ::::
commit 2e5b804893aa2c263f455e80b4aa56797e9c64a5
Author: 4s3ti<EMAIL_ADDRESS>Date:   Tue May 14 09:58:15 2019 +0100

    Merge pull request #740 from 4s3ti/master

    Merging Test Branch into Master
=============================================
::::        Installation settings        ::::
/etc/pivpn/DET_PLATFORM -> Raspbian
/etc/pivpn/install.log -> :::
::: Stopping OpenVPN service... done.
:::
::: Installing scripts to /opt/pivpn... done.
::: Using protocol: udp
::: Building CA...

::: CA Complete.

Note: using Easy-RSA configuration from: ./vars

Note: using Easy-RSA configuration from: ./vars

DH parameters of size 2048 created at /etc/openvpn/easy-rsa/pki/dh.pem

Note: using Easy-RSA configuration from: ./vars

An updated CRL has been created.
CRL file: /etc/openvpn/easy-rsa/pki/crl.pem

net.ipv4.ip_forward = 1
::: Using Google DNS servers.
/etc/pivpn/INSTALL_PORT -> 60111
/etc/pivpn/INSTALL_PROTO -> udp
/etc/pivpn/INSTALL_USER -> pi
/etc/pivpn/NO_UFW -> 1
/etc/pivpn/pivpnINTERFACE -> eth0
/etc/pivpn/setupVars.conf.update.bak -> pivpnUser=pi
UNATTUPG=unattended-upgrades
pivpnInterface=eth0
IPv4dns=<IP_ADDRESS>
IPv4addr=<IP_ADDRESS>
IPv4gw=<IP_ADDRESS>
pivpnProto=udp
PORT=60111
ENCRYPT=256
APPLY_TWO_POINT_FOUR=true
DOWNLOAD_DH_PARAM=false
PUBLICDNS=xxxxxxx
OVPNDNS1=<IP_ADDRESS>
OVPNDNS2=<IP_ADDRESS>
/etc/pivpn/TWO_POINT_FOUR ->
=============================================
::::    setupVars file shown below       ::::
pivpnUser=pi
UNATTUPG=unattended-upgrades
pivpnInterface=eth0
IPv4dns=<IP_ADDRESS>
IPv4addr=<IP_ADDRESS>
IPv4gw=<IP_ADDRESS>
pivpnProto=udp
PORT=60111
ENCRYPT=256
APPLY_TWO_POINT_FOUR=true
DOWNLOAD_DH_PARAM=false
PUBLICDNS=REMOTE
OVPNDNS1=<IP_ADDRESS>
OVPNDNS2=<IP_ADDRESS>
=============================================
::::  Server configuration shown below   ::::
dev tun
proto udp
port 60111
ca /etc/openvpn/easy-rsa/pki/ca.crt
cert /etc/openvpn/easy-rsa/pki/issued/server_IEje2NDzWM6wBpas.crt
key /etc/openvpn/easy-rsa/pki/private/server_IEje2NDzWM6wBpas.key
dh none
topology subnet
server <IP_ADDRESS> <IP_ADDRESS>
# Set your primary domain name server address for clients
push "dhcp-option DNS <IP_ADDRESS>"
push "dhcp-option DNS <IP_ADDRESS>"
# Prevent DNS leaks on Windows
push "block-outside-dns"
# Override the Client default gateway by using <IP_ADDRESS>/1 and
# <IP_ADDRESS>/1 rather than <IP_ADDRESS>/0. This has the benefit of
# overriding but not wiping out the original default gateway.
push "redirect-gateway def1"
client-to-client
keepalive 1800 3600
remote-cert-tls client
tls-version-min 1.2
tls-crypt /etc/openvpn/easy-rsa/pki/ta.key
cipher AES-256-CBC
auth SHA256
user nobody
group nogroup
persist-key
persist-tun
crl-verify /etc/openvpn/crl.pem
status /var/log/openvpn-status.log 20
status-version 3
syslog
verb 3
#DuplicateCNs allow access control on a less-granular, per user basis.
#Remove # if you will manage access by user instead of device.
#duplicate-cn
# Generated for use by PiVPN.io
=============================================
::::  Client template file shown below   ::::
client
dev tun
proto udp
remote REMOTE 60111
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
tls-version-min 1.2
verify-x509-name server_IEje2NDzWM6wBpas name
cipher AES-256-CBC
auth SHA256
auth-nocache
verb 3
=============================================
::::    Recursive list of files in       ::::
::: /etc/openvpn/easy-rsa/pki shows below :::
/etc/openvpn/easy-rsa/pki/:
xxxx.ovpn
ca.crt
crl.pem
Default.txt
ecparams
extensions.temp
index.txt
index.txt.attr
index.txt.attr.old
index.txt.old
issued
openssl-easyrsa.cnf
private
renewed
revoked
safessl-easyrsa.cnf
serial
serial.old
ta.key

/etc/openvpn/easy-rsa/pki/ecparams:
prime256v1.pem

/etc/openvpn/easy-rsa/pki/issued:
xxxx.crt
server_IEje2NDzWM6wBpas.crt

/etc/openvpn/easy-rsa/pki/private:
xxxx.key
ca.key
server_IEje2NDzWM6wBpas.key

/etc/openvpn/easy-rsa/pki/renewed:
private_by_serial
reqs_by_serial

/etc/openvpn/easy-rsa/pki/renewed/private_by_serial:

/etc/openvpn/easy-rsa/pki/renewed/reqs_by_serial:

/etc/openvpn/easy-rsa/pki/revoked:
private_by_serial
reqs_by_serial

/etc/openvpn/easy-rsa/pki/revoked/private_by_serial:

/etc/openvpn/easy-rsa/pki/revoked/reqs_by_serial:
=============================================
::::            Self check               ::::
:: [OK] IP forwarding is enabled
:: [OK] Iptables MASQUERADE rule set
:: [OK] OpenVPN is running
:: [OK] OpenVPN is enabled (it will automatically start on reboot)
:: [OK] OpenVPN is listening on port 60111/udp
=============================================
::::      Snippet of the server log      ::::
Jun  1 17:31:24 raspberrypi ovpn-server[1908]: OpenVPN 2.4.0 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 14 2018
Jun  1 17:31:24 raspberrypi ovpn-server[1908]: library versions: OpenSSL 1.0.2r  26 Feb 2019, LZO 2.08
Jun  1 17:31:24 raspberrypi ovpn-server[1909]: Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Jun  1 17:31:24 raspberrypi ovpn-server[1909]: Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Jun  1 17:31:24 raspberrypi ovpn-server[1909]: Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Jun  1 17:31:24 raspberrypi ovpn-server[1909]: Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Jun  1 17:31:24 raspberrypi ovpn-server[1909]: TUN/TAP device tun0 opened
Jun  1 17:31:24 raspberrypi ovpn-server[1909]: TUN/TAP TX queue length set to 100
Jun  1 17:31:24 raspberrypi ovpn-server[1909]: do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Jun  1 17:31:24 raspberrypi ovpn-server[1909]: /sbin/ip link set dev tun0 up mtu 1500
Jun  1 17:31:24 raspberrypi ovpn-server[1909]: /sbin/ip addr add dev tun0 <IP_ADDRESS>/24 broadcast <IP_ADDRESS>
Jun  1 17:31:24 raspberrypi ovpn-server[1909]: Could not determine IPv4/IPv6 protocol.
::: Copy saved to /tmp/debug.txt

Have you taken any steps towards solving your issue?
Yes sure, I've done all I can to confirm where the issue is and it is definitely something specific to pivpn.    By that I mean that I've checked that my routers are open and that port forwarding is working and it is.  I installed the ssh deamon and setup the required port forwards for port 22 and I could successfully access the ssh server on the raspberry pi via port 22 on my mobile with wifi disabled.  Basically any port to any device works, its just openvpn to the raspberry pi that doesn't work.

I've already reinstalled pivpn and created new certificates, none of this helps.   Constantly the issue seems to be that the connection can't be made and it just times out.    Checking the openvon log file its empty whenever I try to connect from outside the home lan.   Same is confirmed on the android openvpn app, it states timeouts, it never gets to start handshaking.

Yes I am using a custom port right now and that is the port setup in my router.

I believe this problem started when I added a second router to my home network (not my choice but thats what had to happen).   The raspberry pi used to work fine with openvpn when my home network consisted of a single subnet and a single router with the required open port.

However I've since got a slightly more complex network setup where I have the ISPs router on <IP_ADDRESS> and then the local LAN is now on 192.168.2.x via another router. All devices including the RaspPi are on the 2.x network and the ISP router on the 1.x network has all ports open to the ip address of the router on the 2.x network.    To confirm again, this setup works for any other port and service on any device on my 2.x network.

HI, thanm you for using PiVPN.

Yes sure, I've done all I can to confirm where the issue is and it is definitely something specific to pivpn.

sorry, But no it is not, specially considering this:

The install works fine but I can't access the vpn from an external network over the internet. Accessing from inside my home lan works fine. I've tried from my android phone and a windows PC and both connect near instantly. However with the same Android phone with wifi disabled, the connection ALWAYS times out.

worst case scenario is OpenVPN related, and most likely its a networking issue.
all your configs seems to me ok! not spoting anything unusual on them.
Most common reasons for Timeouts are:
1 - ISP keeping customers behind NAT ( Seems not to be your case )
2 - Ports not open in routers
3 - Ports not properly forwarded.
This brings me one question... when you opened the port in your router ... which protocol have you used?
please make sure you have opened and forwarded port 60111 UDP

port proto udp
remote REMOTE 60111

Thanks for the response @4s3ti - yes absolutely It's always been set to UDP since day one.

I completely understand why you conclude it must be something simple like this with the network and I'd agree off hand as well but I've checked, double checked and triple checked.   I can take the rule that you see in that screenshot, change the port number to 22 for ssh and instantly I have an open ssh port to my raspberry pi that works from outside the network.
What is beyond my knowledge is how to troubleshoot this further, ie is there a tool that can capture incoming traffic to a port on the raspberry pi itself that i can use to see if the traffic is reaching it ?
Also just to check in the opensvn config, things like "topology subnet" are ok ?   I don't quite understand what they do but it just caught my attention... that doesn't need altering ?

@arkid Have you tried using the standard port of 1194? If that doesn't work, try again from a new network while still using 1194. It's possible somebody is blocking ephemeral and unknown port numbers, or the OpenVPN protocol or port. Also, your config file looks fine.

Am having the same exact issue, just to confirm that it is not my router causing the issue, I can access pi via ssh from the outside, and can also run octopi and access it from the outside, but when using the openvpn client to access the lan, it will not do anything, calling Openvpn client accessing by profile. Did several clean reinstalls and still no luck, revoked the account reccreated the account on the vpn still nothing.
On the router tried everything to no firewall, enabling dmz still nothing. Am using no-ip and its working perfectly fine. Tried different ports still nothing.

Some networks block OpenVPN using deep packet inspection, which means no matter which port you use, it will be blocked. Have you tried connecting from a variety of networks using port 443 tcp? I doubt all of them will use DPI, and mistake this for HTTPS.

Here's how you can check whether port forwarding worked:

Get root: sudo -s
Temporarly stop OpenVPN: systemctl stop openvpn
Add some firewall rule to log udp packets:

iptables -P INPUT ACCEPT
iptables -F
iptables -X
iptables -A INPUT -p udp --dport 60111 -j LOG

Setup an UDP netcat listener: nc -luv -p 60111
Open a new shell on the raspberry pi and run to watch the system log in real time: tail -f /var/log/syslog
On a different computer, on a different network (for example a cellular network) try to connect to it: nc -u -v your.public.ip 60111
Write something an press enter, you should see the same text on the netcat listener or at least a line like this one on the system log: Jun  2 18:54:03 raspberrypi kernel: [  340.192176] IN=eth0 OUT= MAC=OMITTED SRC=SOMEIP DST=SOMEOTHERIP LEN=33 TOS=0x00 PREC=0x00 TTL=64 ID=61131 DF PROTO=UDP SPT=45351 DPT=60111 LEN=13.
If you do, then port forwarding is working. You can stop the listener and the real time log with CTRL-C, and revert the firewall by rebooting.

Note that on Linux/Mac you already have netcat but on windows you probably need to download it separately. On android I think you could use "Terminal Emulator for Android", assuming your phone has netcat built in.

In my I don't believe this is related to the ISP blocking the vpn and it was working fine until some months ago.   It either stopped working due to updating my Raspberry Pi with apt-get updates or due to changing my internal lan somewhat.
@orazioedoardo thanks for these details, that is really useful.   When I setup the netcat listener command I get the following, is this ok to have <IP_ADDRESS> ?
root@raspberrypi:/home/pi# nc -luv -p 60111 Listening on [<IP_ADDRESS>] (family 0, port 60111)
I don't get any logs when I do this monitoring through a remote netcat message outside of my LAN .  If I do it from within the LAN its fine.
Outside of the router what could this suggest, still anything on the Pi itself ?

When I setup the netcat listener command I get the following, is this ok to have <IP_ADDRESS> ?
Yes it is, it means that it's accepting connections from any IP.

Outside of the router what could this suggest, still anything on the Pi itself?

No, I think that it's your network configuration, however, try with TCP too, basically it works the same, but you replace some of the previous commands with these:
iptables -A INPUT -p tcp --dport 60111 -j LOG
nc -lv -p 60111
nc -v your.public.ip 60111

According to your comment you forwarded both udp and tcp port 60111, are your sure that your DMZ on the first router works the same?

So odd, I got it working as soon as I changed to TCP.   Is this common, that there are maybe more things in the way of UDP connections working ?    All I have done on my routers to make this work is change an existing rule from UDP to TCP.

I tried UDP and TCP still no go on the connection. Reset the router also and still nothing, from within the LAN I can connect, but from outside to inside still cannot.
Any ideas ?

I tried UDP and TCP still no go on the connection. Reset the router also and still nothing, from within the LAN I can connect, but from outside to inside still cannot.
Any ideas ?

@Xray965 , are you running on default ports or something custom ?  I originally had a very high port number that I concluded may not have been helpful.

I tried UDP and TCP still no go on the connection. Reset the router also and still nothing, from within the LAN I can connect, but from outside to inside still cannot.
Any ideas ?

@Xray965 , are you running on default ports or something custom ? I originally had a very high port number that I concluded may not have been helpful.

Ran both default and custom, but noticed something today my router wont accept TCP 443 seems like it's reserved for something, firmware level not something you can change in the routers GUI.
Check iptables on pi and nothing in there other then the default settings with everything open. I am concluding that either this is a router issue or service provider issue.
What I need to know is how to test and see if it is a service provider issue causing openvpn to not work.

Ran both default and custom, but noticed something today my router wont accept TCP 443 seems like it's reserved for something, firmware level not something you can change in the routers GUI.

@Xray965 Probably 443 tcp it’s not allowed because it should be used to access the router web interface via https.

What I need to know is how to test and see if it is a service provider issue causing openvpn to not work.

Use my steps

I got it working by changing the port from UDP to TCP. Is this common, that there are maybe more things in the way of UDP connections working ? All I have done on my routers to make this work is change an existing rule from UDP to TCP.

@arkid UDP is connectionless, this means that there is no connection establishment between two hosts, you just send packets and hope that they reach the destination. I don’t know if this could be a problem with your double router setup. Perhaps you could try to connect the raspberry pi straight to the ISP router and forward the udp port?

Okay will try again today, thx

No Updates,
Closing,
Feel free to reopen.


Fragments are not being processed when included in another fragment

I believe it's a major bug that can lead to a lot of unpredictable issues on GraphQL clients.
Steps to Reproduce the Problem

git clone --recurse-submodules git@github.com:async-graphql/async-graphql.git
cd examples && cargo run --bin actix-web-starwars
In GraphQL Playground, execute the following query:

query {
  ...FragmentA
  humans {
    edges {
      node {
        id
      }
    }
  }
}

fragment FragmentA on QueryRoot {
  ...FragmentB
  ...FragmentC
}

fragment FragmentB on QueryRoot {
  humans {
    edges {
      node {
        name
      }
    }
  }
}

fragment FragmentC on QueryRoot {
  humans {
    edges {
      node {
        homePlanet
      }
    }
  }
}

Expected Behavior
Returned should be:
Click me

{
  "data": {
    "humans": {
      "edges": [
        {
          "node": {
            "homePlanet": null,
            "id": "1004",
            "name": "Wilhuff Tarkin"
          }
        },
        {
          "node": {
            "homePlanet": "Tatooine",
            "id": "1001",
            "name": "Luke Skywalker"
          }
        },
        {
          "node": {
            "homePlanet": "Tatooine",
            "id": "1000",
            "name": "Luke Skywalker"
          }
        },
        {
          "node": {
            "homePlanet": "Alderaa",
            "id": "1003",
            "name": "Leia Organa"
          }
        },
        {
          "node": {
            "homePlanet": null,
            "id": "1002",
            "name": "Han Solo"
          }
        }
      ]
    }
  }
}

Actual Behavior
Returned data is:
Click me

{
  "data": {
    "humans": {
      "edges": [
        {
          "node": {
            "id": "1004"
          }
        },
        {
          "node": {
            "id": "1001"
          }
        },
        {
          "node": {
            "id": "1000"
          }
        },
        {
          "node": {
            "id": "1003"
          }
        },
        {
          "node": {
            "id": "1002"
          }
        }
      ]
    }
  }
}

Specifications

Version: 2.1.4
Platform: N/A
Subsystem: N/A

Thank you for reporting this issue and I will resolve it as soon as possible. 微笑

Fixed in v2.1.5. 🙂

Thank you for such a fast fix! Everything works now.


Ace not working with Bootstrap Modal

I trying to load acejs on Bootstrap Modal and not work.
In "onLoad" I get the Editor, but when I open modal, can't see code editor.
Maybe he don't find visible element.. Idk what I doing wrong...
Thanks!

This is a pretty common issue with Bootstrap Modals as they aren't visible when the page first loads.
The trick is to force the dynamic element to draw only when the modal is open. You can do this with an ng-if which gets set when the modal opens:
Show modal

Editor

				<ui-ace ng-if="$ctrl.showModal" ui-ace="$ctrl.editorOptions" ng-model="$ctrl.editorText" style="height: 300px; width: 100%; display: block"></ui-ace>


fix: correct link paths in docs

Summary of PR
brief_summary_plz
Tests for unexpected behavior

none_whatsoever

Time spent on PR
nine_thousand_years
Linked issues
Fix #

@Harjot1Singh please see second commit.

@bhajneet don't need second commit - the next PR coming already has a config/README.md

May I recommend you add that line to the next PR?

Else, close this PR and add first commit to your next PR


Create API routes for adding a recording

Requirements

[x] API route to fetch recording entry in database
[x] API route to create recording entry in database
[x] Upload recording file to Google Cloud Storage Bucket upon creation of entry in database
[x] API route to delete recording entry in database
[x] Delete recording file from GCS upon deletion of entry in database

Routes are added and create entries in database. However, need to create functions for cloud storage upload and URL generation to enter into database as recording is entered into DB.

Done in RS/DB/Setup branch as of 2024-03-04

Merged


No checkmark visible in checkboxes on Win7 Classic Theme

What steps will reproduce this issue?
Change the theme to Windows Classis on Windows 7 and start a application where you've used MA.M.
Expected outcome
You cannot see the checkmark in checkboxes and no dots in round checkboxes.
If the boxes are checked but disabled, you can see the checkmark/dot.

Environment

MahApps.Metro v<IP_ADDRESS>
Windows 7 with Classic Theme
Visual Studio 2012
.NET Framework v4.5.1

@Prodigio If this still an issue then reopen it, maybe with a screenshot. thx


Why does ECB encryption return 32 octets with a block size of 16?

Hi, I'm trying to use the currently undocumented ECB functions. I'm puzzled as to why the encrypt function returns 32 octets when it looks like a block size of 16 is specified as the default. Here's my test:
// ECB test
var asmcrypto = require('./asmcrypto.all');
var utils = require('./utils.js');

// AEC-ECB(000000000012345677E4D611358EAF17,8b84eedec100067d670971dd2aa700cf)
var hex_data    = "000000000012345677E4D611358EAF17";
var hex_key     = "8b84eedec100067d670971dd2aa700cf";
var hex_padding = "";

console.log("encrypt("+hex_data+","+hex_key+")");
var ecb_encrypted = asmcrypto.AES_ECB.encrypt( utils.hexToU8A(hex_data), utils.hexToU8A(hex_key), utils.hexToU8A(hex_padding));
console.log(asmcrypto.bytes_to_hex(ecb_encrypted));

and this produces the following output:
encrypt(000000000012345677E4D611358EAF17,8b84eedec100067d670971dd2aa700cf)
b2021754866e87226cf5b7f4232d216a7e1ba4becd78a1741240f6e18e623a43

The first 16 octets are my expected result:
b2021754866e87226cf5b7f4232d216a

What are the 16 which follow?
Thanks

Can you check version 2.0, please? The API may be changed.

It looks like the fix has been regressed. I just ran my test code against the same asmcrypto code  I was using last year and compared with the latest from head, cloned a few minutes ago.
From HEAD:
encrypt(000000000012345677E4D611358EAF17,8b84eedec100067d670971dd2aa700cf)
b2021754866e87226cf5b7f4232d216a7e1ba4becd78a1741240f6e18e623a43
------
decrypt(b2021754866e87226cf5b7f4232d216a7e1ba4becd78a1741240f6e18e623a43,8b84eedec100067d670971dd2aa700cf)
000000000012345677e4d611358eaf17

Last year's code
encrypt(000000000012345677E4D611358EAF17,8b84eedec100067d670971dd2aa700cf)
b2021754866e87226cf5b7f4232d216a
------
decrypt(b2021754866e87226cf5b7f4232d216a,8b84eedec100067d670971dd2aa700cf)
000000000012345677e4d611358eaf17

I see the error cause now, we will fix it shortly and add these test cases. Thanks!


Don't call /v3/processes/PROCESS_GUID/stats  for zero-instance processes

Thanks for submitting an issue to cloud_controller_ng. We are always trying to improve! To help us, please fill out the following template.
Issue
I pushed the spring-petclinic, which ends up with 3 processes, web has 1 instance, executable-jar and task have 0.
Context
[provide more detailed introduction]
Steps to Reproduce
z spring-petclinic
cf push petclinic
PROCESSES_LINK=$(cf curl /v3/apps?names=petclinic1 | jq -r '.resources[0].links.processes.href')
cf curl $PROCESSES_LINK  | jq -r '.resources[] | [.type, .links.stats.href]' | sed 's@.*/v3@/v3@'

gives three pairs of (process-type, stats-link) pairs.
$ time cf curl /v3/processes/2c61e89b-dca1-4573-b95e-0691c69dce68/stats
{
  "resources": [ { ... actual data } ]
}
real	0m0.689s
user	0m0.056s
sys	0m0.041s

$ time cf curl /v3/processes/b060fe3a-03d9-45b4-a2f3-46db1a08e07d/stats
{
   "resources": []
}

real	0m5.441s
user	0m0.052s
sys	0m0.038s

$ time cf curl /v3/processes/2fe0d913-4d18-4078-8d10-bcdc85a5a4d7/stats
{
   "resources": []
}

real	0m5.444s
user	0m0.055s
sys	0m0.040s

Expected result
The exact same output, but with much smaller real/user/sys times for the second two curl calls
Current result
painful waits for cf apps
Possible Fix
If a process has zero instances, immediately return (200, { "resources": [] })

@ericpromislow I wasn't able to reproduce this using cf-deployment:
$cf curl /v3/apps/`cf app dora --guid`/processes | jq '.resources[] | (.guid, .instances)'
"c163959f-6a6d-428c-9c4c-4ef892f644a8"
1
"ebcd4c88-a28e-4236-8de2-3451d75aa9fd"
0

$ time cf curl /v3/processes/c163959f-6a6d-428c-9c4c-4ef892f644a8/stats > /dev/null

real	0m0.429s
user	0m0.047s
sys	0m0.075s

$ time cf curl /v3/processes/ebcd4c88-a28e-4236-8de2-3451d75aa9fd/stats > /dev/null

real	0m0.212s
user	0m0.049s
sys	0m0.047s

I suspect this might only be an issue in cf-for-k8s.

Is this a diego vs eirini issue?
What was the text that the calls to the second process returned?
There is a PR: https://github.com/cloudfoundry/cloud_controller_ng/pull/1934/files

@ericpromislow that PR has been merged.  Has that resolved your issue?

closing due to lack of response


Migrating DMPOnline_v4 through MySQL aborts at ChangeLongStringsToText migration

An user from the community has attempted to migrate from DMPOnline_v4 to our new roadmap version, however the command:
rake db:migrate

has failed at the migration version =<PHONE_NUMBER>1959 (e.g. ChangeLongStringsToText). The reason for the failing is due to having defined defaults for strings at:
https://github.com/DMPRoadmap/roadmap/blob/master/db/migrate/20171024214257_add_links_to_orgs.rb#L3 and https://github.com/DMPRoadmap/roadmap/blob/master/db/migrate/20171124133802_add_links_to_templates.rb#L3
while attempting to preserve the defaults when the columns are changed to text, which is not supported by msql.

The following steps have been applied to successfully migrate the user to our new roadmap db status:

Commented out line https://github.com/DMPRoadmap/roadmap/blob/master/db/migrate/20171102164156_change_plan_visibility_default.rb#L3
Executed:

rake db:migrate VERSION=20171013152425

Remove default from https://github.com/DMPRoadmap/roadmap/blob/master/db/migrate/20171024214257_add_links_to_orgs.rb#L3
Remove default from https://github.com/DMPRoadmap/roadmap/blob/master/db/migrate/20171124133802_add_links_to_templates.rb#L3

rake db:migrate

We need to assess if is best to modify these specific migrations or trying to find a more optimal solution.

hope to incorporate changes into next release v1.0.1

I removed the defaults from those migration files. Another option would have been to add a step that removes the defaults before converting the fields to TEXT. Both approaches update historic migrations and result in the same thing, so I think this approach is fine.
I pulled down v0.3.8 and did a db:schema:load to set the DB to a state that the user was working from. Then checked out development and ran db:migrate successfully.

Nothing to UAT for this one


T1003.003 OS Credential Dumping - NTDS: 3 new datasets

Atomic Red Team tests 1 and 2: Dumping ntds.dit from Volume Shadow Copy (Host data)
Atomic Red Team test 3: Dumping ntds.dit using NTDSutil (Host data)
Empire - module NinjaCopy: Dumping ntds.dit using INvoke-NinjaCopy.ps1 (Host and Network data)

Thank you very much @Cyb3rPandaH for the contributions! 🍻


Update grimmelbein.md

added project to page

I can not merge as it shows a conflict.
Not sure what you do wrong, but maybe your for is not in sync with main?


[RCP][ResNet] Add bn_span.

Addressing issue #142 .

@emizan76 I add bn_span for a few more batch sizes. Let me know if they look good!