Quantcast
Channel: DreamFactory Forum - Latest posts
Viewing all 5028 articles
Browse latest View live

Failed to open stream: Permission denied

$
0
0

This is a common error associated with running multiple servers on a single machine. Note the beginning of the error “Address already in use”. If you’re running multiple development servers, then the first one started is likely to run on port 80. If like me you often have multiple terminal tabs open it’s not always easy to remember which application is running on a specific port. You can use commands like lsof to learn more about the command that used the port. For instance in the following example I’m passing port 8080 to lsof, and can see that a NodeJS server is using the port:

$ lsof -i :8080
COMMAND   PID      USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
node    90692 wjgilmore   14u  IPv4 0x41500bb50c0a1f2d      0t0  TCP *:http-alt (LISTEN)

Many tools such as Laravel’s serve command support specifying a port at start time:

$ php artisan --port 8001


MS SQL issue in GUI

$
0
0

Hello @umardraz

I know this error occurred close to a year ago, but were you able to solve the issue? If you have not, you need to make a change in your PHP file. You must fix your connection string. Change dlib to sqlsrv and host to Server

Hope it helps

Cannot find Chapter 6 of getting started guide

SQL Server - PHP Unable to Load

$
0
0

While this post is a little outdated I think it is best to add an update to this. In earlier versions of the software when packaged by Bitnami they did not have the SQL Server dependencies installed. Fast forward and we now have these dependencies configured in all Bitnami instances of DreamFactory. We highly encourage everyone to try out the latest version of the software as we have updated the UI and made various updates to the platform!

Bitnami Install
Manual Install
Docker Install

Consuming 3rd party REST API's

$
0
0

Hello @sman

I again apologize for the delay in our response. DreamFactory supports a number of native connectors spread across various categories like Database, the one that you have used, there are OAuth connectors, file, storage etc.

To consume HTTP based third party API’s, we have the HTPP connector. You can any number of third party connectors and then costume them via endpoints.

If you wish to add logic to these API endpoints, you can do so using Scripts

Hope this helps.

How to debug or see logs of custom python script services?

$
0
0

To enable logs you can reference our Guide article on this topic. Once enabled you can use things like print and extend the platform by importing logging. After you will find the log files under the “Files” tab.

Can roles be exported/imported?

Salesforce Integration with Hosted DreamFactory 3.0.1

$
0
0

Hello @MoninShiraz.

I know my reply is kind of late but if you are still having issues connecting to DreamFactory, there is an article on the guide which might interest you - https://guide.dreamfactory.com/docs/salesforce.html#retrieving-specific-fields

To help understand calling APIs using HTTP clients like postman, refer to the guide here -https://guide.dreamfactory.com/docs/chapter03.html#interaction-using-postman which talks about creating POST and GET calls from an HTTP client.

Let me know if this helps.


Cannot connect to remote mysql with error 500 "HY000"

$
0
0

Hey @Mike_Dawson. I know its kind of a late reply. But if the problem still persists, I think the problem here would be the SSL connection not being set in your PHP script. As you’ve set up SSL for MySQL you would also need to specify this in your PHP MySQL connection.

With mysqli you can use the mysqli_ssl_set() function. Below is an example:

<?php
$con=mysqli_init();
if (!$con)
  {
  die("mysqli_init failed");
  }

mysqli_ssl_set($con,"key.pem","cert.pem","cacert.pem",NULL,NULL);

if (!mysqli_real_connect($con,"localhost","my_user","my_password","my_db"))
  {
  die("Connect Error: " . mysqli_connect_error());
  }

// Some queries...

mysqli_close($con);
?>

Let me know if it helps.
Thanks

SQLSTATE[HY000] [1045] Access denied for user 'df_admin'@'localhost' (using password: YES)

$
0
0

If you’re experimenting with DreamFactory and would like to generate your first database-backed API, I suggest reading chapter 3 of our guide, “Getting Started with DreamFactory”:

https://guide.dreamfactory.com/docs/chapter03.html

This guide walks you through the database API generation process, and then presents a series of detailed examples demonstrating the many ways in which you can interact with the API. Also consider watching the videos over at DreamFactory Academy:

https://academy.dreamfactory.com/

How to connect to Minio Server (an AWS S3 compatible storage Engine)

$
0
0

For instances where DreamFactory does not offer a native connector and which the third-party service or data source offers an HTTP API, you can use the HTTP connector to connect. Check out Chapter 14 of our guide, “Getting Started with DreamFactory” to learn more:

https://guide.dreamfactory.com/docs/remote-soap.html#proxying-a-remote-http-api

If the service/data source doesn’t offer an API, you still have options! DreamFactory’s scripting connectors can be used in conjunction with third-party packages and libraries. Therefore if a library can interface with the desired technology then you can use that library to build an API bridge. See chapter 6 to learn more about this topic:

https://guide.dreamfactory.com/docs/chapter06.html#supported-scripting-engines

[SMTPS] Unable to send email with port 465 STARTTLS option

$
0
0

Hi everyone,

Seeking for some advice on SMTPS settings in dreamfactory, I’m having some issue implementing SSL into mail server settings with dreamfactory

Environment

  • Dreamfactory 2.12.0 running on docker container
  • HmailServer running as proxy to external aws mail server.

SMTP Service running as below settings:

image
Error from postman:

  1. Set encrpytion as empty
    Failed to authenticate on SMTP server with username &quot;noreply@****.com&quot;using 1 possible authenticators
  2. Set encryption as tls
    stream_socket_enable_crypto(): SSL: Success
  3. Set encryption as ssl
    Connection could not be established with host 172.**.***.**
  4. Set encryption as tls/ssl
    Connection could not be established with host 172.**.***.** [php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution

other application calling to the same hmail server had no problem sending out email, and only dreamfactory have this problem with SMTPS. I have also tested with non SSL hmail are working prefectly.

Hmail settings

  • STARTTLS (required) with ssl

Previous Version of DreamFactory?

$
0
0

Hi,

Can someone point me in the direction to download and install a previous version of DreamFactory that does not have the limited feature set like the new version has?

Previous Version of DreamFactory?

$
0
0

Hello @ItsDavid

Thank you for reaching out. DreamFactory has moved onto a much better platform incorporating several new features. You can start a new trial here - https://genie.dreamfactory.com/register which includes most of our popular connectors like Databases and the HTTP REST connectors. Our roadmap highlights the new features/changes included in the platform since July 2019.

Happy to help if you need any other information.

[SMTPS] Unable to send email with port 465 STARTTLS option


Previous Version of DreamFactory?

$
0
0

@abhishek.pandey

Before the release of DreamFactory version 3 (I believe is when it started) database and custom scripting options were available in the free version. That is no longer the case which really limited the usability of the free version of DreamFactory and for a one-man crew such as myself with minimal to no budget at the moment, paying for a premium version is not on the table for me. I am in the very early stages of trying to take an idea and make it into a reality and it seems that unfortunately, the only way I can test out my ideas in hopes of making it a reality is to use an older version of DreamFactory that still offers the custom scripting and database options without the need for a paid subscription. I understand that’s not the ideal thing to do but it is the only option I currently have to gain access to those features.

I tried to use the HTTP service in the latest version 4.2.1 to connect to third-party APIs that I am affiliated with, however, after following the instructions over and over in the documentation I am unable to get it to work. There are also a couple of networks that I work with that use oAuth2 access_token and refresh_token and I am also unable to get them working with DreamFactory so my last resort was to post here and see if older versions are available that allow access to the database and custom scripting features in the free version. If older versions are unavailable I might just have to go back to the drawing board and see if there is any other software solution out there that will work.

I basically have 6 to 10 rest APIs that I am working with and would like to pull them all into one single location and access all of them using only 1 API access point.

Hopefully this makes sense and clears up any confusion as to why I would ask for an older version.

Previous Version of DreamFactory?

$
0
0

Hello @ItsDavid

Thank you for being a loyal user of DreamFactory. We do have an open source version which can be found here - https://github.com/dreamfactorysoftware/dreamfactory#installation. It has the basic features like DB connectors(Mysql, MariaDB) as well as HTTP connectors. Unfortunately, the scripting engine is only available in the paid plans.

Some reference links that might be of help
https://guide.dreamfactory.com/docs/chapter03.html#generating-a-mysql-backed-api
https://www.dreamfactory.com/hub/categories/third-party-apis/

We apologize for the inconvenience.
Thanks

Previous Version of DreamFactory?

$
0
0

@abhishek.pandey, I currently have the latest version 4.2.1 installed, however, it does not allow me to use any of the database connector features and requires that I contact DreamFactory to signup for a subscription. On the other hand, the HTTP connectors are available but after setting things up it doesn’t seem to work as is should meaning the required authorization headers are not being sent to the remote rest service. I have followed all instructions and tutorials I can find and none of them seem to get it working as it should. I am also unable to communicate with oAuth2 rest APIs as in the Rakuten Affiliate API which requires an access_token and refresh_token in order to communicate with their API. It seems the only way I would be able to get it to work is by using the custom script feature to send access_token and refresh_token request, therefore, it seems that none of the newer versions of DreamFactory will work for me when used on a free basis which sucks because it appears that DreamFactory could in fact open some doors for me when communicating with 6 to 10 APIs and being able to access them all from one single API. I guess the saying is true that dreams don’t come alive when you’re broke lol.

Previous Version of DreamFactory?

$
0
0

Not sure why Abhishek is dodging the question, but all older versions are available in docker hub. Just use the tag for the version you need.
https://hub.docker.com/r/dreamfactorysoftware/df-docker/tags?page=1

I think old regular installers could probably be found on their GitHub releases as well, but did not look into it.
Docker is a great way to run it and I would recommend you to use that.

Previous Version of DreamFactory?

$
0
0

@ItsDavid @goblin They deleted the older versions from Github when they released the new wings-cut free version.

Viewing all 5028 articles
Browse latest View live