New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error trying to format/access website: "DaxFormatter.com Error: Invalid URI: the hostname could not be parsed" #205
Comments
Hi Darren & Cos, I can confirm the same error for our team as well. Regards Ian. |
hi Ian, funny, not sure what is going on as: So, I'm a bit at a loss, whether it is Windows 7 generally, or my laptop, or some Proxy or DNS settings, as I've done ipconfig/flushdns, I've also tried to add the IP of the daxformatter.com site on the hosts file, I've disabled the Norton firewall (the Windows firewall is disabled), and still no-go. Any help, anyone, is much appreciated, not sure if it's worth fully qualifying the site within DAXStudio... perhaps that http://www.daxformatter.com may help !? thanks bunches, |
I'm not really sure what could cause this. I've just double checked this with and without going through a proxy and it's working for me. The uri we use for daxformatter.com is a constant, it's just the body of the request that changes. It could maybe be a Windows 7 specific issue. Is this a new problem on a machine where this feature used to work? Or is this a new install of DAX Studio and this feature has never worked on this machine? |
unfortunately I have not used SSAS/DAXStudio for years and now getting back to it, due to a job change, so not sure if DAXStudio has ever worked on the now problematic Windows7 machine. I have just installed a brand spanking new Windows 7 Pro guest within my problematic Windows 7 Pro host, and voila, it appears that it is NOT working.... so it could be an OS related issue. (in a Win2k8 guest install within the same host, DAXStudio works fine). @IanHopewell, are you having the same issue, specifically on Windows 7 (64 bit)? @dgosbell Darren, would it be possible to build a quick beta with the fully qualified "http://www.daxformatter.com" (in case that's not what's actually stuffed in and only "daxformatter.com" is currently being issued?) I think the older OS's are a tad handicapped, as far as needing to know whether it is an ftp, or http or https call, I'm venturing to say). (unfortunately, I am probably one of the last holdout users, as far as needing to use Windows7, due to large number of software programs installed, and a great Dell laptop, M6700, with 32gb RAM, which is still serving me very well, after 5+ years.) :-( many thanks, Darren... and Ian, for confirmation, |
@cosminioan - the URI we use is already fully qualified so that is not the issue. We are using https:// though so it could be an issue with encryption/TLS 1.2 support as Win 7 does not support this by default - although I would expect an error relating to encryption support if that was the issue. |
ok, thanks Darren. Looks like I may have to settle for working within any of my Win 10/Win2kR2 guests then, as I can't find any other setting working w/ Windows 7. thanks again -- |
@cosminioan - could you try enabling debug logging using the following instructions, then try to format something with DAX Studio and shut it down and attach the log file to this issue? I'm not sure if it will capture much more detail than the current error message, but it's worth a try. Otherwise I'll need to build a new Win7 test VM as I don't have a working one handy at the moment. |
PROBLEM SOLVED!! many thanks Darren, |
Yes, also running Windows 7 on one of the workstations, it is working on the others Windows 10. The debug did not correct the error and this is in the logs: 2019-07-31 12:00:29.077 +01:00 [Debug] "DocumentTabViewModel" "OpenFileInActiveDocumentWindow" "Opening C:\Workspace\data-dax-code\Trading Action Plan Audit.dax" We are in the process of upgrading developer machines and all will be Windows 10 in the coming weeks. Regards |
@cosminioan The debug logging does not change any behaviour, it just outputs extra messages to the logs. So I don't think this fixed your issue, but based on what I found it's possible that a group policy or registry change or the installation of a security patch could have affected this. @IanHopewell That last error line from the PrimeConnectionsAsync method about the underlying connection being closed is one of the errors you see if a machine attempts to use the older TLS 1.0 on a HTTPS site that only supports TLS 1.2 I've just finished building a new Win 7 SP1 VM and could reproduce this error. I've made a change to force the web requests to use TLS 1.2 encryption (which is the default for Operating Systems after Win 7) and this appears to fix this issue on my test VM. I have a beta build available here if you want to try this for yourselves. |
Sorry, I have another issue I'm working on related to theming. (the build off the build server crashes the same way on my test VM) I've fixed both issues now and the latest beta for 2.9.3 is available here |
Sorry, I must have accidentally copy the same download link twice - that version is showing the same build as the previous one (2.9.3.128) I fixed the theme issue in 2.9.3.129 and that download for that one is here |
looks good now. thanks bunches, Darren! :-) |
Thanks, Darren, it is now working and formatting. |
hi Darren,
for some reason, I am getting the error above on a Windows 7 laptop.
I tried to do ipconfig/dnsflush, I tried to change the DNS to Google or my ISP, still nothing.
In options, I tried unchecking the Proxy (system), restarted the app, still nothing (I do not use any proxies.
any thoughts on what might be wrong?
thanks much,
Cos
The text was updated successfully, but these errors were encountered: