Flutter: Unable to connect to VM service at *link* WebSocketChannelException: WebSocket connection failed - flutter

I am creating a Flutter application that utilizes GoogleMaps APIs. After adding a function to search using the Places API, my application shuts down a few seconds after compiling with the following error:
Error after compiling
I've updated http, GoogleMaps SDK for ios, the podfile, and Flutter itself. None of those things seem to fix the problem. Below is part of the code I added that seems to be causing this issue:
Potentially problematic code
I'm unsure what WebSocket is, but I'm utilizing http to get the input from user text in order to generate the location. Any ideas on how to go about fixing this? I couldn't find any solutions just by searching the error.

Related

Mobile DApp connecting to Wallet

I've been trying to create simple mobile app prototype (in Flutter) which would allow you to connect to a Wallet and obtains your address(es). I cannot get the connection working, all the clients I could find are written in JS so my initial approach was to get it working using webview. However none of the libraries worked for me:
WalletConnect - the generated wc: link is not recognized (universal links don't seem to work)
Metamask - doesn't inject the provider into the webview browser (I'm serving the scripts locally)
Web3Modal - requires secure server to run
I'm about to try to get local HTTPS server working in the app just to try the Web3Modal but I kind of have a feeling that I'm approaching this wrong.
Any suggestions appreciated.
There is now walletconnect_dart package which supports WC protocol for Flutter. I have created walletconnect_qrcode_modal_dart package which uses walletconnect_dart to emulate functionality of #walletconnect/qrcode-modal npm package.

How do I get useful error information from Unity with Sentry, running under WebGL?

I've recently deployed a Unity application to the web using WebGL. I have Sentry integrated on the frontend logging exceptions, and I've added the Sentry SDK to Unity. The frontend seems to log no problem, however Unity seems to be struggling. Sometimes I'll get errors reported but a lot of the time I don't. To my knowledge there's no explicit onerror callback I can hook into. I've tried catching the exception in managed code and then reporting that to the frontend, but that doesn't seem to work either.
Any help would be appreciated

Error when deploying my app to shiny server

I have created a shiny app on my computer that runs with no error. Now, I deployed the same app to the shiny server we have in our organization, and i cannot initiate the app. I receive the following error message:
transpose listening on http://127.0.0.1:43202
Warning: Error in tabPanel: argument "tabName" is missing, with no default
65: tabPanel
Execution halted
here are my questions:
(1) I do use shinydashboard and shinydashboardplus libraries in my app and both are installed on the shiny server as well so this shouldnt be a problem since tabsetPanel and tabPanel are in these libraries, correct?
(2) tabPanel and tabSetPanel do NOT have a tabName argument. so what is this error specially because the app does work on my computer with no issue.
I know probably I need to provide the code but I cannot at the moment unless i significantly take stuff out of it (government property) but I was hoping someone can help considering the fact that it works on my computer but it doesnt when i deploy it.
Just a quick note that the R version installed on my laptop is 3.5.2 but the one on the server is 3.6! can this be an issue?
Thanks!
I think a library bs4Dash was masking tabSetPanel which is quite confusing because i didnt have that problem running the app on my laptop...

Moodle Scorm API throws an error

I'm running Moodle 2.4.3. Seems like I have issues with my Scorm API. It throws an error at the end of last slide.
"Trying to set value but API not available."
What could be the reason?
BTW, I'm using Google Chrome 44.
The fact that this is happening at the end of the package suggests to me that the package is closing the connection and then trying to send more data.
Have you tried running the course on SCORM Cloud in debug mode to see what's going on?

Dart Plugin For Eclipse - Using a network Proxy

I'm currently using Eclipse: Kepler and just installed the Dart plug-in via Help->Install New Software.
Download went through without a hitch and I attempted to create my first dummy project to see if it was all working fine similar to how it's displayed in http://blog.dartwatch.com/2013/01/integrating-dart-into-eclipse-and-your.html
However, I'm getting some pub errors where it can not download of the required libraries. The error in question looks like this
Got socket error trying to find package "browser" at https://pub.dartlang.org.
SocketException: Connection failed (OS Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
, errno = 10060), address = pub.dartlang.org, port = 443
That said, is there an additional configuration/ini file that I need to modify for this to work? I've checked my system and environment variables - nothing seems out of place. I can use the build in browser inside of eclipse and download other packages through the Eclipse Marketplace.
Issue 5454 is relating to using pub behind a proxy and marked as "Fixed", but there's still some discussion going on after it was marked as Fixed, so I'm not completely sure what the status is today. There's some discussion of different behaviour from the editor though.