docker compose on mac m1 error: Function not implemented - macos

i'm use new mac book with m1
if docker compose up, one of the containers throws an error:
Unhandled Exception: System.IO.IOException: Function not implemented
at System.IO.FileSystemWatcher.StartRaisingEvents()
at System.IO.FileSystemWatcher.StartRaisingEventsIfNotDisposed()
at System.IO.FileSystemWatcher.set_EnableRaisingEvents(Boolean value)
at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.TryEnableFileSystemWatcher()
at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.CreateFileChangeToken(String filter)
at Microsoft.Extensions.Primitives.ChangeToken.OnChange(Func`1 changeTokenProducer, Action changeTokenConsumer)
at Microsoft.Extensions.Configuration.FileConfigurationProvider..ctor(FileConfigurationSource source)
at Microsoft.Extensions.Configuration.Json.JsonConfigurationSource.Build(IConfigurationBuilder builder)
at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices(AggregateException& hostingStartupErrors)
at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
at BackOffice.Host.Program.BuildWebHost(String[] args)
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted
please tell me what could be the reason and how you can get rid of this error

It’s related to docker compose v2 beta which is experimental feature
Here

Related

com.gluonhq.impl.maps.MapTile on iPhone does not work

I use the MapLayer class of com.gluonhq.maps; but on the iPhone I don't see the map, but always a white screen. On Android the problem does not occur. This is the error I have in the run:
com.gluonhq.impl.maps.MapTile lambda $ new $ 1
Error: java.util.concurrent.CompletionException: java.lang.RuntimeException: Error No route to host

unable to create docker container on windows VM, GCP

I'm getting the below issue
67ca2e6ea573a4e3eb0843b2c7470c26f170528a15e423b4b131c00fa23 encountered an error during CreateContainer:
ndows system call: Element not found. (0x490) extra info: {"SystemType":"Container","Name":"42fb367ca2e6e
2c7470c26f170528a15e423b4b131c00fa23","Owner":"docker","IsDummy":false,"VolumePath":"\\?\Volume{52225f
46-00155d20b364}","IgnoreFlushesDuringBoot":true,"LayerFolderPath":"C:\ProgramData\Docker\windowsfilte
ea573a4e3eb0843b2c7470c26f170528a15e423b4b131c00fa23","Layers":[{"ID":"f58d5d31-bf26-57f0-a0ef-c826de66f9
\ProgramData\Docker\windowsfilter\a0ead5582d1eadd37c0629d34936e2ec93f9594bd2740f9244481088df738b0b"},{
f525-57f0-912a-668391cb4d95","Path":"C:\ProgramData\Docker\windowsfilter\371369a0885812ef094658377937
b51bf6d59472a50c088d6"},{"ID":"1ab4ed85-2f0b-52ec-bd73-b24fef768054","Path":"C:\ProgramData\Docker\win
a9962919b2b604a94d414393fdcb73f5c04539f819e896e870ee81b844b1b"},{"ID":"286c76b4-45ad-561d-83f7-224c0a84d7
\ProgramData\Docker\windowsfilter\9647a3b62bffb27464188dc7859e82b2a373737462891cf711edc18d58054a43"},{
2bb2-5c34-bd4b-38f992457749","Path":"C:\ProgramData\Docker\windowsfilter\00d0db95b9df22d3167096cef32c
f0b5f0f0b0992dbf09bf6"},{"ID":"fa36e2c8-07ba-5f2a-a43b-a3ccb1023b46","Path":"C:\ProgramData\Docker\win
5f0e4abdc9fbe8a5ad0a94cf0fd92b329f1b8d2a65d0b8e5547c18c9def64"},{"ID":"a9d1658d-0a19-50ca-a4d5-afbfc93fae
\ProgramData\Docker\windowsfilter\645c6553c4b7ddb03f572f5872040c5df180daca938a4a05d616724d58217abd"},{
c953-5398-a203-08225685147d","Path":"C:\ProgramData\Docker\windowsfilter\4e6fbe4ec92a4809054beaa92071
c130c736f07181762d748"},{"ID":"187257dd-6219-558d-9873-f42219c6c2ef","Path":"C:\ProgramData\Docker\win
78d0243c72052c330026dcc04fd7c040e708003a821bf94a6a3f289c4f27b"}],"HostName":"b3e4c8818481","MappedDirecto
tition":false,"EndpointList":["c563efff-bfeb-4cd2-b4b5-0c018aad913a"],"Servicing":false,"AllowUnqualified
hack for the above issue is: https://github.com/moby/moby/issues/32595#issuecomment-295347128
From the linked issue, this is a known issue with the windows image running on GCP: https://github.com/moby/moby/issues/32595#issuecomment-295310855

System.Net.Http.HttpRequestException exception will running th xamarin UI Test on Physical Device

I have created a simple Xamarin.Forms(Portable) project and included UI Test project in it. But when i am trying to run the test in physical device it giving me below mentioned exception.
Test Name: AppLaunches
Test Outcome: Failed
Result Message:
SetUp : System.Net.Http.HttpRequestException : An error occurred while sending the request.
----> System.Net.WebException : The underlying connection was closed: The connection was closed unexpectedly.
Result StandardOutput: Full log file: C:\Users\Admin\AppData\Local\Temp\uitest\log-2016-10-22_11-04-53-698.txt
Skipping IDE integration as important properties are configured. To force IDE integration, add .PreferIdeSettings() to ConfigureApp.
Android test running Xamarin.UITest version: 2.0.0.1534
Initializing Android app on device ZX1D63GCCL with installed app: co.veloxcore.UITestSample2
Signing apk with Xamarin keystore.
Skipping installation: Already installed.
Here is the link to my project: XamarinUITest
Log File : Error Log
Are you using using ModernHttpClient?
Also you can use Polly if you want to handle network exceptions.
For example:
conferences = await Policy
.Handle<WebException>()
.WaitAndRetry
(
retryCount:5,
sleepDurationProvider: retryAttempt => TimeSpan.FromSeconds(Math.Pow(2, retryAttempt))
)
.ExecuteAsync(async () => await getConferencesTask);
Also AsyncErrorHandler is great tool to handle async exceptions

Upgrade to new XCode; can't built in Xamarin

I think that one of the last XCode upgrades that came in last week appears to have broken my Xamarin iOS builds. They fail with:
Failed to locate a valid instance of CoreSimulatorService in the bootstrap. Adding it now.
Or
.../SignInUniversalController_iPhone.storyboard: Error: 2016-07-31 12:11:38.046 ibtoold[23284:2756861] [MT] IBPlatformTool: *** Failed to launch tool with description <IBCocoaTouchPlatformToolDescription: 0x7fce44256b20> System content 1x for IBCocoaTouchFramework-NineOneAndLater w/ default fidelity:
Failed to find or create execution context for description <IBCocoaTouchPlatformToolDescription: 0x7fce44256b20> System content 1x for IBCocoaTouchFramework-NineOneAndLater w/ default fidelity (Failure reason: Software caused connection abort): Failed to find a suitable device for the type SimDeviceType : com.apple.dt.Xcode.IBSimDeviceType.iPad-1x with runtime SimRuntime : 9.3 (13E230) - com.apple.CoreSimulator.SimRuntime.iOS-9-3 (Failure reason: Failed to create SimDeviceSet at path /Users/eric/Library/Developer/Xcode/UserData/IB Support/Simulator Devices. You'll want to check the logs in ~/Library/Logs/CoreSimulator to see why creating the SimDeviceSet failed.): Failed to initialize simulator device set. (Failure reason: Failed to subscribe to notifications from CoreSimulatorService.): Error returned in reply to notification request: Connection invalid (Failure reason: Software caused connection abort)
2016-07-31 12:11:46.096 ibtoold[23284:2756861] [MT] IBPlatformTool: Wrote failed marshalling request diagnostics to path: /var/folders/t9/t9xl93t50ql14mr0lxmmw_2r0000gn/T/IB-agent-diagnostics_2016-07-31_12-11-46_067000
Error: Internal error. Please file a bug at bugreport.apple.com and attach "/var/folders/t9/t9xl93t50ql14mr0lxmmw_2r0000gn/T/IB-agent-diagnostics_2016-07-31_12-11-46_067000".
The logs mentioned in the first error message doesn't appear to be more verbose than the above:
Failed to find or create execution context for description <IBCocoaTouchPlatformToolDescription: 0x7fce44256b20> System content 1x for IBCocoaTouchFramework-NineOneAndLater w/ default fidelity (Failure reason: Software caused connection abort): Failed to find a suitable device for the type SimDeviceType : com.apple.dt.Xcode.IBSimDeviceType.iPad-1x with runtime SimRuntime : 9.3 (13E230) - com.apple.CoreSimulator.SimRuntime.iOS-9-3 (Failure reason: Failed to create SimDeviceSet at path /Users/eric/Library/Developer/Xcode/UserData/IB Support/Simulator Devices. You'll want to check the logs in ~/Library/Logs/CoreSimulator to see why creating the SimDeviceSet failed.): Failed to initialize simulator device set. (Failure reason: Failed to subscribe to notifications from CoreSimulatorService.): Error returned in reply to notification request: Connection invalid (Failure reason: Software caused connection abort)
Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSLocalizedDescription=Failed to find or create execution context for description <IBCocoaTouchPlatformToolDescription: 0x7fce44256b20> System content 1x for IBCocoaTouchFramework-NineOneAndLater w/ default fidelity, NSUnderlyingError=0x7fce44152c40 {Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSUnderlyingError=0x7fce441b8150 {Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSLocalizedFailureReason=Failed to subscribe to notifications from CoreSimulatorService., NSLocalizedDescription=Failed to initialize simulator device set., NSUnderlyingError=0x7fce44155b00 {Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo=0x7fce441c31b0 (not displayed)}}}, NSLocalizedFailureReason=Failed to create SimDeviceSet at path /Users/eric/Library/Developer/Xcode/UserData/IB Support/Simulator Devices. You'll want to check the logs in ~/Library/Logs/CoreSimulator to see why creating the SimDeviceSet failed., NSLocalizedDescription=Failed to find a suitable device for the type SimDeviceType : com.apple.dt.Xcode.IBSimDeviceType.iPad-1x with runtime SimRuntime : 9.3 (13E230) - com.apple.CoreSimulator.SimRuntime.iOS-9-3}}}
This is an iPhone project, but uses a Universal component; I note that since the above says iPad.
When it fails, it opens up the Storyboard editor and it appears to be OK there; there's nothing that seems surprising at first glance.
XCode: Version 7.3.1 (7D1014)
Xamarin: Latest Stable; no updates available
Any insight or thoughts? Thanks!

sonarqube OutOfMemoryError (PermGen space)

I use Sonarqube 4.5.1 (new install) with jdk7u55.
Installed on Windows server 2012 (4 GB internal memory)
I get this message in the sonar.log on the server where sonarqube-webserver is installed.
Error occured while clicking in the pages of the webserver of sonarqube
I tried to raise the value wrapper.java.maxmemory= from 32 to 512 to 2048 but OutOfMemoryError keep occuring.
complete error message:
Exception in thread "http-bio-10.2.31.127-80-exec-3" Exception in thread "http-bio-10.2.31.127-80-exec-1" 2014.11.04 14:19:02 ERROR web[rails]
Java::JavaLang::OutOfMemoryError (PermGen space):
Exception in thread "http-bio-10.2.31.127-80-exec-2" 2014.11.04 14:19:06 ERROR web[o.s.s.ui.JRubyFacade] Fail to render: localhost/sonar/drilldown/issues/10000?severity=MAJOR
PermGen space
In app/views/layouts/_breadcrumb.html.erb
As you can read in the "Tuning the Web server" part of the install documentation, the correct place to specify JVM parameters for the Web server is the <install_directory>/conf/sonar.properties file and more specifically the sonar.web.javaOpts property.
Since SonarQube 4.5, the wrapper configuration file is used only to force the path to the Java command.

Resources