Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important information on the platform change.

cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Error While logging in with PLC Engineering while VPN is active

Error While logging in with PLC Engineering while VPN is active

giustola69
Long-established Member

Hello,

I got an communication error each time I try to download or log in with my plc program in the PLC Enginnering to my virtual control even if I set my virtual control IP address as port forwarding to "localhost:8443"

(see attahed screenshot )

Could somebody help me ?

Many Thanks

Giuseppe

12 REPLIES 12

CodeShepherd
Community Moderator
Community Moderator

Please check your communication settings. It should look like this:

CodeShepherd_0-1616508350180.png

 

giustola69
Long-established Member

Hello,

in my connection the port number 8443 is missing but I do not know why ?

Any advice ?

Many thanks

Giuseppe

giustola69
Long-established Member

Hello,

 

I just add a new screenshot with the possible connection I could select on my PLC

 

 

The port is only needed if your ctrlX COREvirtual is running in port forwarding mode because, like the name already says, the communication is routed via these ports. Then your IP should look like on my picture above: 127.0.0.1:8740. Please add this by hand. The drop down menu just shows the already insert values.

When the ctrlX COREvirtual is running in network adapter mode the needed IP is just the IP of the control (e.g. 192.168.1.1) without the port because an windows network adapter is used.

FooFighter
Long-established Member

Hello,

in WRK-V-0106 it is a known bug that the PLC - Adress is not adjusted automatically. In WRK-V-0108 this issue is solved. In WRK-V-0106 you have to set the plc communication address manually. As descibed above.

It seems that you have worked with a  Network-Adapter using a normal IpV4 and afterwards switch to PortForewarding because of VPN Usage. Now the wrong 192.168.1.1 Address is still in the communication settings. You have to enter manually 127.0.0.1:8740 to communicate with PortForewarding.

 

Regards,

Oliver

giustola69
Long-established Member

Hello,

 

I tried both ports 8443 and 8740 and I got the 2 errors you can se in the attached screenshots.

Maybe I miss something else ?

Many Thanks

Giuseppe

 

8740 is the correct port. It seems that you are using a program that was running on a different control before. Please have a look to this thread where this error was solved.

FooFighter
Long-established Member

Hello,

127.0.0.1:8740 is the correct address. There is also a known bug in V-0106. You get a error message afterwards you need to close PLC Engineering and restart. Then you should be able to establish the plc connection.

Regards, Oliver

giustola69
Long-established Member

Hello,

I did the following steps:

1. Insert manually 127.0.0.1:8740 in the plc communication settings

2. scan

3 . got the error

4. close plc engineering

5. open it again

6. the connection ip address was agai 191.168.0.1(active ) but not running

giustola69_0-1616682112369.png

 

FooFighter
Long-established Member

Hello,

the entered communication address will only be updated once you have established a connection. So you have to reenter ist again.

Regards, Oliver

giustola69
Long-established Member

Hello,

The problem was due to the fact that I changed the virtual control name ( i.e VirtualControl-1 to RobotTest ) and it was not changed in the PLC Engineering part so the system was that there was not match between the virtual control name and the plc part

I set back the virtual control name to VirtualControl-1 and now it works

Is it possible to change the virtual contro name and link it to the plc name so that I do not I the trust certificate problem?

Many Thansk

Giuseppe

FooFighter
Long-established Member

Hello,

yes, should be possible. Once The certificate error occurs the PLC Engineering should be closed and reopened. Then a new certificate will be generated.

In WRK-V-0108 a better message appears.

Regards, Oliver

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist